Skip to content

feat(glyph): add Graphite MCP server to gateway#337

Merged
stackptr merged 4 commits intomainfrom
feat/graphite-mcp
Mar 9, 2026
Merged

feat(glyph): add Graphite MCP server to gateway#337
stackptr merged 4 commits intomainfrom
feat/graphite-mcp

Conversation

@stackptr
Copy link
Owner

@stackptr stackptr commented Mar 9, 2026

Summary

  • Add Graphite MCP server module (graphite-mcp.nix) bridging gt mcp stdio→HTTP via mcp-proxy on port 8094
  • Register Graphite with the mcpjungle gateway for access from all clients
  • Move Graphite MCP from local Claude Code config to the glyph gateway
  • Manage auth token via agenix secret
  • Fix mcpjungle registration script failing under set -e when servers are temporarily unreachable
  • Allow learn_gt read-only tool in Claude Code auto-allow list

Test plan

  • nix build .#nixosConfigurations.glyph.config.system.build.toplevel
  • just switch on glyph
  • Verify graphite-mcp.service is active
  • Verify mcpjungle-register.service succeeds
  • Verify Graphite tools available via glyph MCP gateway

🤖 Generated with Claude Code

stackptr and others added 4 commits March 9, 2026 13:22
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bridge the Graphite CLI's stdio MCP server to streamable HTTP using
mcp-proxy, and register it with the mcpjungle gateway. This moves the
Graphite MCP from running locally on the client to being served via
the glyph MCP gateway alongside basic-memory, kagi, and mcp-nixos.

- Add modules/nixos/llm/graphite-mcp.nix (port 8094, mcp-proxy bridge)
- Manage auth token via agenix secret
- Register with mcpjungle gateway
- Remove local Graphite MCP entry from Claude Code config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…vers

The registration script's curl health check fails with a non-zero exit
code when a server isn't reachable yet. Since NixOS wraps systemd
scripts with set -e, this aborts the entire registration process instead
of letting the retry loop handle it. Add || true so the exit code is
captured as http_code "000" and the loop continues as intended.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add the read-only Graphite MCP tool to the auto-allow list so Claude
Code can access gt documentation without prompting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stackptr stackptr changed the title feat(claude-code): add Graphite MCP server feat(glyph): add Graphite MCP server to gateway Mar 9, 2026
@stackptr stackptr enabled auto-merge (squash) March 9, 2026 22:42
@stackptr stackptr merged commit 82c76de into main Mar 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant