- Move programs.mcp.servers out of agents.nix into mcp.nix so hosts that do not load the whole coding set (T3 Code servers) can import it alone - Add claude-code.nix: programs.claude-code with enableMcpIntegration, replacing the bare llm-agents.claude-code package (would collide on bin/claude). home-manager delivers the catalogue as a generated plugin, ~/.claude/settings.json and ~/.claude.json stay writable - ai-memory: register the session-aware Claude bridge via programs.claude-code.mcpServers instead of `ai-memory install-mcp`; activation only removes the stale user-scope entry now - Adjust ai-memory.test.sh accordingly Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
47 lines
1.4 KiB
Nix
47 lines
1.4 KiB
Nix
# Shared MCP server catalogue (home-manager `programs.mcp`).
|
|
#
|
|
# Single source for every agent that integrates with programs.mcp:
|
|
# OpenCode (opencode.nix, enableMcpIntegration) and Claude Code
|
|
# (claude-code.nix, enableMcpIntegration). ai-memory adds its own entry in
|
|
# ai-memory.nix. Hosts that do not load the whole coding set (servers running
|
|
# T3 Code) import this file directly.
|
|
{...}: {
|
|
programs.mcp = {
|
|
enable = true;
|
|
servers = {
|
|
ContextMode = {
|
|
command = "bash";
|
|
args = ["-c" "exec bunx context-mode@latest"];
|
|
};
|
|
DeepWiki = {
|
|
url = "https://mcp.deepwiki.com/mcp";
|
|
};
|
|
Exa = {
|
|
command = "bash";
|
|
args = ["-c" "EXA_API_KEY=$(cat /run/agenix/exa-key) exec bunx exa-mcp-server@latest tools=web_search_exa"];
|
|
};
|
|
SallyAI = {
|
|
url = "https://app.sally.io/api/v1/McpExternal";
|
|
};
|
|
Metabase = {
|
|
url = "https://kpi.az-gruppe.com/api/metabase-mcp";
|
|
};
|
|
Outline = {
|
|
url = "https://wiki.az-gruppe.com/mcp";
|
|
};
|
|
Playwright = {
|
|
command = "bash";
|
|
args = ["-c" "exec bunx @playwright/mcp@latest"];
|
|
};
|
|
Ref = {
|
|
command = "bash";
|
|
args = ["-c" "REF_API_KEY=$(cat /run/agenix/ref-key) exec bunx ref-tools-mcp@latest"];
|
|
};
|
|
Teams = {
|
|
command = "bunx";
|
|
args = ["-y" "@floriscornel/teams-mcp@latest"];
|
|
};
|
|
};
|
|
};
|
|
}
|