Documentation Index
Fetch the complete documentation index at: https://docs.mercurjs.com/llms.txt
Use this file to discover all available pages before exploring further.
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
Open MCP settings
-
Press Cmd
-
Search for Open MCP settings
-
Select Add custom MCP
Configure the server
Add the following to your mcp.json:{
"mcpServers": {
"mercur": {
"url": "https://docs.mercurjs.com/mcp"
}
}
}
Use it
Restart Cursor and ask:
“What MCP tools are available?”
See Cursor docs for more: https://docs.cursor.com/en/context/mcpCreate MCP config
Create a file at:
.vscode/mcp.json
Configure the server
{
"servers": {
"mercur": {
"type": "http",
"url": "https://docs.mercurjs.com/mcp"
}
}
}
Use it
Open the Copilot Chat panel and ask:
“List available MCP servers.”
See VS Code docs for more: https://code.visualstudio.com/docs/copilot/chat/mcp-serversAdd the MCP server
- Go to Claude → Settings → Connectors
- Select Add custom connector
- Enter:
- Name: Mercur
- URL:
https://docs.mercurjs.com/mcp
- Save
Use it
In chat, click the attachments (+) button and select your Mercur MCP connector.
See Claude connector docs:
https://modelcontextprotocol.io/docs/tutorials/use-remote-mcp-serverInstall the MCP server
claude mcp add --transport http mercur https://docs.mercurjs.com/mcp
Use it
Now Claude Code can query Mercur documentation directly.
Docs: https://docs.anthropic.com/en/docs/claude-code/mcp