MCP server for Qubic β balances, prices, transfers, wallets, and more.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
MCP server for the Qubic cryptocurrency β enabling AI assistants to interact with the Qubic network.
qubic-mcp is an open-source Model Context Protocol (MCP) server that gives AI assistants β Claude, ChatGPT, Copilot, Cursor, and others β native access to the Qubic blockchain.
Query balances, inspect transactions, monitor the network, trade on QX, switch between networks, and interact with smart contracts β all through natural language.
Works with any MCP-compatible AI client β Claude, ChatGPT, Copilot, Cursor, Windsurf, Gemini, JetBrains, and more.
Add this to your client's MCP config:
| Client | Config location |
|---|---|
| Claude Desktop (macOS) | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Claude Desktop (Windows) | %APPDATA%\Claude\claude_desktop_config.json |
| Claude Desktop (Linux) | ~/.config/Claude/claude_desktop_config.json |
| Claude Code | Run claude mcp add qubic -- npx mcp-server-qubic in your terminal |
| VS Code / Cursor / Windsurf | .vscode/mcp.json or your editor's MCP settings |
| JetBrains IDEs | Settings > Tools > AI Assistant > MCP Servers |
| ChatGPT Desktop | Settings > MCP Servers > Add |
For other clients, check your app's MCP documentation β the config above is universal.
Then just ask in plain English:
One of the most powerful features of qubic-mcp is its smart contract profile system. If you're developing a Qubic smart contract on a local lite network, you can use the MCP to test your contract's RPC interface directly through your AI assistant.
Qubic smart contracts communicate via binary-encoded structs over the /v1/querySmartContract RPC endpoint. Without tooling, this means manually encoding fields into base64, making HTTP calls, and decoding binary responses β error-prone and tedious.
With qubic-mcp, you register your contract's interface once, and then query it by name with human-readable input and output. Your AI assistant handles all the binary encoding/decoding automatically.
1. Point the MCP at your test network:
Your MCP server now talks to your local lite node instead of mainnet. This persists across sessions in ~/.qubic-mcp/networks.json.
2. Register your contract's interface:
Tell the assistant your contract's index and function definitions. Here's a simple counter contract at index 10 as an example:
The assistant will call register_contract with the proper field schema JSON. The definition is saved to ~/.qubic-mcp/contracts.json and persists across sessions.
Supported field types: uint8, uint16, uint32, uint64, int8, int16, int32, int64, identity (60-char Qubic address / 32-byte pubkey), padding (skipped bytes).
Fields support count for arrays and enum for value-to-label mapping.
3. Query your contract by name:
The MCP encodes your input into binary, calls the RPC endpoint, and decodes the response into named fields:
4. Switch back to mainnet when done:
The easiest way to configure which Qubic network you talk to is through the built-in tools β no env vars needed:
add_network β save your local node's IP with a friendly nameswitch_network β toggle between mainnet, testnet, or any saved networklist_networks β see all available networks and which is activeNetworks are saved to ~/.qubic-mcp/networks.json and persist across sessions. Built-in networks (mainnet, testnet) are always available.
For advanced use or CI environments, you can also configure via env vars. See .env.example.
| Variable | Default | Description |
|---|---|---|
QUBIC_RPC_URL | (from active network) | Override the RPC endpoint (takes priority over saved networks) |
QUBIC_API_URL | (from active network) | Override the Query API endpoint |
QUBIC_NETWORK_LABEL | (auto) | Friendly label shown when using QUBIC_RPC_URL override |
MCP_HTTP_PORT | (not set) | Set a port to run as an HTTP server instead of stdio |
By default the server uses stdio, which is what most MCP clients expect. To run it as a standalone HTTP endpoint instead, set MCP_HTTP_PORT:
The server exposes a single /mcp endpoint that supports the MCP Streamable HTTP transport:
mcp-session-id header)No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/qubic-mcp)<a href="https://allmcps.com/mcp/qubic-mcp"><img src="https://allmcps.com/api/badge/qubic-mcp?style=directory" alt="Qubic MCP on AllMCPs" /></a>