Skip to content

Commit f881c1e

Browse files
authored
feat(home): configure claude-code MCP via programs.mcp integration (#420)
## Summary - Move glyph MCP server definition from `programs.claude-code.mcpServers` to `programs.mcp.servers` - Enable `programs.mcp` and set `enableMcpIntegration = true` on claude-code so it picks up the shared MCP config Stacked on #419. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent c53f115 commit f881c1e

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

hosts/glyph/home.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
programs.opencode = {
1111
enable = true;
12+
enableMcpIntegration = true;
1213
web.enable = true;
1314
web.extraArgs = ["--port" "8890" "--hostname" "0.0.0.0"];
1415
rules = builtins.readFile "${llm-profile}/README.md";
@@ -22,10 +23,6 @@
2223
port = 8890;
2324
hostname = "0.0.0.0";
2425
};
25-
mcp.glyph = {
26-
type = "remote";
27-
url = "http://127.0.0.1:8090/mcp";
28-
};
2926
};
3027
};
3128

modules/home/development.nix

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,17 @@ in {
2727

2828
config = lib.mkMerge [
2929
(mkIf cfg.ai.enable {
30+
programs.mcp = {
31+
enable = true;
32+
servers.glyph = {
33+
url = "http://glyph:8090/mcp";
34+
};
35+
};
36+
3037
programs.claude-code = {
3138
enable = true;
39+
enableMcpIntegration = true;
3240
memory.source = "${llm-profile}/README.md";
33-
mcpServers = {
34-
glyph = {
35-
type = "http";
36-
url = "http://glyph:8090/mcp";
37-
};
38-
};
3941
settings = {
4042
model = "sonnet";
4143
# Disabled in favor of Basic Memory MCP for cross-device access

0 commit comments

Comments
 (0)