Skip to main content

MCP

Mintlayer exposes three Model Context Protocol servers. Point any MCP-compatible client (Claude Desktop, Cursor, opencode, ...) at them and your assistant can read the documentation, query on-chain data, or talk to your own node.

#ServerEndpointRunsTools
1Documentationhttps://docs.mintlayer.org/mcpMintlayer-hostedlist_docs, search_docs, get_doc_page
2Chain datahttps://mojito-api.mintlayer.org/mcpMintlayer-hosted6 chain query tools
3Your nodelocal to your machineSelf-hosted via node-guiyour node and wallet

1. Documentation server

Serves this entire documentation site to your agent: page index, full-text search, and per-page markdown.

  • Endpoint: https://docs.mintlayer.org/mcp (Streamable HTTP, read-only, no auth)
  • Tools:
    • list_docs: all pages with title, URL, and description
    • search_docs: full-text search with snippets
    • get_doc_page: one page as markdown

Client configuration:

{
"mcpServers": {
"mintlayer_docs": {
"url": "https://docs.mintlayer.org/mcp"
}
}
}

For clients without remote-MCP support, bridge it locally with npx -y mcp-remote https://docs.mintlayer.org/mcp.

2. Chain data server (mojito-api)

Hosted at https://mojito-api.mintlayer.org/mcp. Read-only queries against the Mintlayer blockchain, backed by the indexer — useful for checking balances, transactions, and blocks without running your own node. Requests are rate limited.

ToolDescription
get_block_heightCurrent chain tip height
get_block_infoBlock details by hash or height
get_transaction_infoTransaction details by ID
get_address_infoAddress information
get_address_utxosUTXOs for an address
get_utxo_infoUTXO details by outpoint

All tools accept an optional network parameter: mainnet (default) or testnet. The server uses the Streamable HTTP transport and requires session handling, which MCP clients manage automatically; when testing by hand, pass the mcp-session-id header returned by the initialize call on subsequent requests.

3. Self-hosted (node-gui)

If you prefer to keep everything local, node-gui ships its own MCP server that runs on your machine and exposes your node and wallet to your assistant: chain and wallet queries never leave your network, and the agent can only see what your local node sees.

Enable it in the node-gui settings and point your MCP client at the local endpoint it provides. See the node-gui documentation for the exact endpoint and available tools.

Client configuration

Most MCP clients accept the servers as a JSON list in their settings file. Combine the hosted ones like this:

{
"mcpServers": {
"mintlayer_docs": {
"url": "https://docs.mintlayer.org/mcp"
},
"mintlayer_chain": {
"url": "https://mojito-api.mintlayer.org/mcp"
}
}
}

Clients without remote-MCP support can bridge both locally with npx -y mcp-remote <endpoint>.