Skip to content

Docs / MCP

Connect RepoWiki through MCP.

RepoWiki can expose a Team workspace as a read-only MCP server, so supported clients can search and read indexed repo docs with source details attached.

Details

Connect the client you already use.

MCP is for connecting external clients to RepoWiki context. RepoWiki does not run model calls for this beta.

01 / enable

Create a workspace token

Open the MCP server page in a Team workspace, enable the server, then create a named token for the client you want to connect.

02 / connect

Paste the endpoint into the client

Use the workspace endpoint with a bearer token in an MCP client that supports Streamable HTTP.

03 / tools

Use source-backed tools

Clients can call search_docs, read_doc, list_projects, and list_repositories. All tools are read-only.

04 / limits

Watch usage from RepoWiki

The MCP page shows monthly usage, recent activity, token status, and the monthly reset date.

client configuration

Use the workspace endpoint and token.

Create a named token in the MCP server page. The token is shown once, so paste it into the client before leaving the page.

{
  "mcpServers": {
    "repowiki": {
      "type": "http",
      "url": "https://repowiki.dev/api/mcp/w/<workspace-id>",
      "headers": {
        "Authorization": "Bearer <your token>"
      }
    }
  }
}
search_docs

Search indexed Markdown and MDX docs in the workspace.

read_doc

Read one indexed document by document ID or source path.

list_projects

List projects in the workspace.

list_repositories

List connected repositories.

Requests

5,000 / month

Search calls

500 / month

Document reads

2,000 / month

Data returned

250 MB / month