Moxie Docs
DocumentationGuides
  • Account and email preferences
  • Activate and index a repo
  • Changelog from PRs
  • Changelog timeline and overrides
  • Delete your account and feedback
  • Docs Home and collections
  • Drift detection and PR automation
  • Friday Recap and weekly updates
  • Give feedback on answers
  • Manage subscription
  • Publish knowledge base
  • Review drift cards and open focused doc PRs
  • Set up your public knowledgebase
  • Set your collection preferences
  • Tune repository automation settings
  • Use code previews and search helpers
  • Use Friday Recap and Cleanup
  • Workspace onboarding and invitations
  • Billing, trial, or access issues
  • Configure PR automation and detectors
  • Integration: connect an MCP-capable agent
  • Integration: MCP agents
  • Opportunity cards seem noisy or wrong
  • Q&A answers seem wrong or outdated
  • Share changelog to Slack
  • Stripe billing setup and syncing
  • Troubleshoot GitHub App and repository access
  • Troubleshoot GitHub connection and indexing
  • Troubleshoot GitHub PRs
  • Troubleshoot indexing
HomeGuidesIntegration: connect an MCP-capable agent

Integration: connect an MCP-capable agent

2 min read•Updated Dec 3, 2026

Quickstart

Run this in the repository you want your agent to understand:

Shell
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

  1. Sign in. Open moxiedocs.com and click "Sign in with GitHub". New accounts are created on first sign-in.

  2. Install the GitHub App. In the dashboard, click "Connect GitHub" and grant the Moxie Docs app access to the repository.

  3. 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.

  4. Connect your client. Run npx moxie-docs setup and approve the browser prompt. In Claude Code you can instead run:

    Shell
    claude mcp add --scope user --transport http moxie-docs https://moxiedocs.com/api/mcp
    
  5. 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 list moxie-docs as connected. If it needs authentication, run /mcp in a Claude Code session.
  • Ask your agent: "Use Moxie Docs to summarize this repository's conventions." It should call moxie.get_ai_context or moxie.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/mcp and add the header Authorization: Bearer <TOKEN> to your client's config for https://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.

Related articles

GuidesBilling, trial, or access issuesThis guide helps you resolve common issues starting a trial, updating payment details, and
GuidesConfigure PR automation and detectorsThis guide helps you tune how Moxie Docs surfaces documentation drift and how those findin
GuidesIntegration: MCP agentsThe full setup guide, with a copy-paste prompt your agent can run for you, is at moxiedocs
PreviousConfigure PR automation and detectors
Next Integration: MCP agents

On this page

  • Quickstart
  • Step by step
  • Verify it works
  • Troubleshooting
Changelogllms.txt

Powered by Moxie Docs

Quickstart

Run this in the repository you want your agent to understand:

Shell
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

  1. Sign in. Open moxiedocs.com and click "Sign in with GitHub". New accounts are created on first sign-in.

  2. Install the GitHub App. In the dashboard, click "Connect GitHub" and grant the Moxie Docs app access to the repository.

  3. 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.

  4. Connect your client. Run npx moxie-docs setup and approve the browser prompt. In Claude Code you can instead run:

    Shell
    claude mcp add --scope user --transport http moxie-docs https://moxiedocs.com/api/mcp
    
  5. 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 list moxie-docs as connected. If it needs authentication, run /mcp in a Claude Code session.
  • Ask your agent: "Use Moxie Docs to summarize this repository's conventions." It should call moxie.get_ai_context or moxie.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/mcp and add the header Authorization: Bearer <TOKEN> to your client's config for https://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.