Skip to main content

MCP

Mercur exposes an MCP server that allows AI tools to query Mercur documentation directly.
This ensures assistants can provide accurate, context-aware answers based on the actual docs instead of relying on assumptions.

Available Tool

SearchMercurJsDocumentation

This MCP tool enables AI assistants to search across all Mercur documentation.
It returns:
  • relevant excerpts
  • page titles
  • direct documentation links
Useful when you need to locate API references, understand how a module works, or retrieve examples quickly during development.

MCP Server URL

Your MCP server is available at: https://docs.mercurjs.com/mcp You can connect this URL to any MCP-compatible environment.

Connecting the MCP Server

Use the tabs below to connect the Mercur MCP server in different environments:
  • Cursor
  • VS Code
  • Claude
  • Claude Code
1

Open MCP settings

  1. Press Cmd
  2. Search for Open MCP settings
  3. Select Add custom MCP
2

Configure the server

Add the following to your mcp.json:
{
  "mcpServers": {
    "mercur": {
      "url": "https://docs.mercurjs.com/mcp"
    }
  }
}
3

Use it

Restart Cursor and ask:
“What MCP tools are available?”
See Cursor docs for more: https://docs.cursor.com/en/context/mcp