MCP

Connect AI agents through the hosted MCP surface.

Use MCP when your client already speaks tools and you want repository-aware retrieval without building your own wrapper. Repokit exposes the same underlying ranking service through a hosted MCP server.

Quick actions

The MCP page is the functional entry point for agent builders: see the live host, understand the protocol endpoint, and use the same retrieval layer through tool calls.

Host root

https://mcp.repokit.live

Open

Health

https://mcp.repokit.live/health

Open

Protocol endpoint

https://mcp.repokit.live/mcp

What this page is for

Repokit's MCP surface is for agent clients that already support remote HTTP MCP servers.

It exposes repository-aware retrieval as a hosted tool interface. The product wedge stays the same: find the most relevant files first inside one repository.

Important endpoint distinction

  • https://mcp.repokit.live is the host root and health-visible entry point.
  • https://mcp.repokit.live/mcp is the actual protocol endpoint.
  • Tool calls require your bearer token. Initialize can be unauthenticated.

Initialize example

initializebash
curl -sS -X POST \
  -H "Content-Type: application/json" \
  https://mcp.repokit.live/mcp \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "initialize",
    "params": {
      "protocolVersion": "2025-03-26",
      "capabilities": {},
      "clientInfo": {
        "name": "example-client",
        "version": "0.1"
      }
    }
  }'

Authenticated tool call

tools/callbash
curl -sS -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <your_token>" \
  https://mcp.repokit.live/mcp \
  -d '{
    "jsonrpc": "2.0",
    "id": 3,
    "method": "tools/call",
    "params": {
      "name": "find_relevant_files",
      "arguments": {
        "repository_id": "<repository_id>",
        "query": "fix request validation error in routing",
        "top_k": 3
      }
    }
  }'

What a successful flow looks like

  • Activate a supported repository and wait until it reaches ready.
  • Issue a verification token from the ready submission detail.
  • Initialize against the hosted MCP server.
  • Call find_relevant_files for your repository_id.
  • Use the ranked shortlist before planning, editing, or answering.

When to use MCP

  • Your agent client already supports remote MCP servers.
  • You want a tool-style integration path rather than wiring direct endpoints.
  • You want the same retrieval value as the API with less custom glue code.