feat(coding/agents): hand the shared MCP catalogue to Claude Code #9

Merged
m3ta-chiron merged 1 commits from feat/claude-mcp-integration into master 2026-11-10 20:16:00 +01:00
Collaborator

Claude Code gets the same programs.mcp catalogue OpenCode already has, via home-manager's programs.claude-code.enableMcpIntegration.

  • mcp.nix: shared MCP catalogue, split out of agents.nix so hosts without the full coding set (T3 Code servers, e.g. AZ-PRM-1) can import it alone
  • claude-code.nix: programs.claude-code (package llm-agents.claude-code) with MCP integration; replaces the bare package in home.packages (would collide on bin/claude). The catalogue is delivered as a generated plugin, ~/.claude/settings.json and ~/.claude.json stay writable
  • ai-memory: session-aware Claude bridge now via programs.claude-code.mcpServers instead of ai-memory install-mcp; the activation only removes the old user-scope entry
  • ai-memory.test.sh adjusted

Eval-checked against AZ-NIX-SERVERS (AZ-PRM-1, home-manager release-26.05).

🤖 Generated with Claude Code

Claude Code gets the same `programs.mcp` catalogue OpenCode already has, via home-manager's `programs.claude-code.enableMcpIntegration`. - `mcp.nix`: shared MCP catalogue, split out of `agents.nix` so hosts without the full coding set (T3 Code servers, e.g. AZ-PRM-1) can import it alone - `claude-code.nix`: `programs.claude-code` (package `llm-agents.claude-code`) with MCP integration; replaces the bare package in `home.packages` (would collide on `bin/claude`). The catalogue is delivered as a generated plugin, `~/.claude/settings.json` and `~/.claude.json` stay writable - ai-memory: session-aware Claude bridge now via `programs.claude-code.mcpServers` instead of `ai-memory install-mcp`; the activation only removes the old user-scope entry - `ai-memory.test.sh` adjusted Eval-checked against AZ-NIX-SERVERS (AZ-PRM-1, home-manager release-26.05). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
m3ta-chiron added 1 commit 2026-11-10 20:15:52 +01:00
- 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>
m3ta-chiron merged commit f4ab2ab6c9 into master 2026-11-10 20:16:00 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: m3tam3re/m3ta-home#9