Register the docs MCP server on install - #9
Open
DominicFrei wants to merge 1 commit into
Open
Conversation
install now registers the gaffa docs MCP server in each selected tool's own MCP config, and uninstall removes it again. Four tools keep it as JSON under mcpServers, Codex uses TOML, and the URL field differs per tool (serverUrl for Antigravity), each per the tool's own docs. Merges into an existing config without touching the user's other servers, backs up and refuses a config it cannot parse, and only removes an entry that still points at our URL. Adds --no-mcp to skip it. GAF-669
jamesmundy
approved these changes
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The same
installrun now registers the Gaffa docs MCP server in each tool you install into, anduninstallremoves it again.gaffa-docspointing athttps://gaffa.dev/docs/~gitbook/mcp, HTTP, no auth.mcpServers, Codex uses TOML, and the URL field differs per tool (Antigravity usesserverUrl). Paths and shapes checked against each tool's own docs.--no-mcpskips it. At project scope Claude Code will ask you to approve the server the first time you use it.Refs GAF-669.