Integration: connect an MCP-capable agent
Quickstart
Run this in the repository you want your agent to understand:
npx moxie-docs setup
Or follow the guided setup at moxiedocs.com/setup, which gives you one prompt to paste into Claude Code, Cursor or another MCP client. The agent does the setup and stops only for the steps you have to do yourself.
The Moxie Docs MCP server is hosted at https://moxiedocs.com/api/mcp (Streamable HTTP). It accepts OAuth 2.1, so most clients open a browser window for approval and need no token. A Bearer token from https://moxiedocs.com/dashboard/mcp works for clients without OAuth.
Step by step
-
Sign in. Open moxiedocs.com and click "Sign in with GitHub". New accounts are created on first sign-in.
-
Install the GitHub App. In the dashboard, click "Connect GitHub" and grant the Moxie Docs app access to the repository.
-
Start indexing. The Free plan covers 1 repository and 1 seat with no card. For more repositories or seats, start the 14-day trial on a paid plan from moxiedocs.com/pricing; Stripe asks for a card to start the trial, and there is no charge until it ends.
-
Connect your client. Run
npx moxie-docs setupand approve the browser prompt. In Claude Code you can instead run:Shellclaude mcp add --scope user --transport http moxie-docs https://moxiedocs.com/api/mcp -
Reload your editor so it loads the new server.
Config snippets for Cursor, Codex, Claude Desktop and other clients are in Integration: MCP agents and on moxiedocs.com/setup.
Verify it works
claude mcp list(Claude Code) should listmoxie-docsas connected. If it needs authentication, run/mcpin a Claude Code session.- Ask your agent: "Use Moxie Docs to summarize this repository's conventions." It should call
moxie.get_ai_contextormoxie.get_conventions. - Ask: "Which docs would my current change make stale?" It should call
moxie.get_doc_impact.
If tools respond but return little about your code, the first index may still be running. Check the repository's status in the Moxie Docs dashboard.
Troubleshooting
- The browser approval never opened: create a Bearer token at
https://moxiedocs.com/dashboard/mcpand add the headerAuthorization: Bearer <TOKEN>to your client's config forhttps://moxiedocs.com/api/mcp. - The token serves several repositories: pass
repository: "owner/name"in tool calls so the agent gets context for the right repository. - A GET to the endpoint returns 405: that is expected. MCP clients talk to it with POST requests.
Nothing changes in your repositories without your review. Moxie Docs proposes documentation changes as pull requests on their own branch and never merges them.
Was this page helpful?
Let us know if you found what you were looking for.