Automation & Developers

MCP Server

Connect Claude Code, Cursor, or any MCP client to your knowledge base.

Docpipe runs an MCP server, so AI clients like Claude Code and Cursor can read your knowledge base directly. Your assistant can ask questions of your docs and pull in the right document without you copying and pasting — and because it's read-only, it can look but never change anything.

Connect a client

The server lives at:

https://app.docpipe.co/api/mcp

Authenticate with an API key as a bearer token. For Claude Code, the API keys panel gives you a ready-to-run command:

claude mcp add --transport http docpipe https://app.docpipe.co/api/mcp \
  --header "Authorization: Bearer <your-key>"

Any MCP client that supports a bearer Authorization header works — point it at the endpoint above and pass your key.

Available tools

The server exposes three read-only tools:

  • ask_docs — answers a question from your knowledge base and returns the related sources. You can optionally restrict it to a single document.
  • search_docs — finds the most relevant documents for a query and returns them, ranked, with links.
  • get_document — fetches the full plain-text content of one document by its id.

Good to know

  • Read-only. The tools can search, read, and answer — they can't create or edit documents.
  • Scoped to your organization. A key only ever reaches its own organization's active documents.
  • Metered. ask_docs draws on your plan's monthly AI question allowance, the same pool as asking in Slack. If it's exhausted, the tool says so until the allowance resets.

The MCP server is a Pro feature. On the Free plan, keys won't authenticate. See Plans & usage.