programs.claude-code.mcpServers
MCP (Model Context Protocol) servers configuration
- Type
attribute set of (JSON value)- Default
{ }- Example
{ customTransport = { customOption = "value"; timeout = 5000; type = "websocket"; url = "wss://example.com/mcp"; }; database = { args = [ "-y" "@bytebase/dbhub" "--dsn" "postgresql://user:pass@localhost:5432/db" ]; command = "npx"; env = { DATABASE_URL = "postgresql://user:pass@localhost:5432/db"; }; type = "stdio"; }; filesystem = { args = [ "-y" "@modelcontextprotocol/server-filesystem" "/tmp" ]; command = "npx"; type = "stdio"; }; github = { type = "http"; url = "https://api.githubcopilot.com/mcp/"; }; }- Declared
- <home-manager/modules/programs/claude-code.nix>