GetBlock MCP server
Connect the GetBlock MCP server to Claude, Claude Code, Cursor, or VS Code and manage your GetBlock endpoints, tokens, and account from your AI assistant.
The GetBlock MCP server connects your AI assistant to your GetBlock account through the Model Context Protocol (MCP). Instead of opening the dashboard, you ask your assistant to create an RPC endpoint, rotate a leaked token, or check your CU balance, and it makes the call for you:
https://mcp.getblock.io/v1The server is built on the GetBlock Platform API and uses the same API key for authentication. It acts only on the account to which the key belongs.
What it can do
The server exposes 14 tools. Tools marked Write change your account.
Catalog
list_protocols
Lists the protocols available on Shared Nodes, filterable by name or by the chain a protocol is based on (e.g. eth for EVM chains)
Read
get_protocol
Returns one protocol's networks, sync modes, API types, regions, and add-ons: the valid values for creating a token
Read
list_addons
Lists the add-ons available on Shared Nodes and the protocols each one supports
Read
Access tokens
list_tokens
Lists your access tokens with their endpoint URLs
Read
create_token
Creates a Shared Node access token and returns its endpoint URL
Write
rotate_token
Replaces a token with a new one of the same configuration; the old endpoint URL stops working
Write
delete_token
Deletes a token; every client using its endpoint URL stops working
Write
Dedicated Nodes
list_dedicated_nodes
Lists your Dedicated Nodes and the APIs and add-ons each supports
Read
create_dedicated_token
Creates a token bound to one of your Dedicated Nodes
Write
Limitless Nodes
list_limitless_nodes
Lists your Limitless Nodes
Read
create_limitless_token
Creates a token bound to one of your Limitless Nodes
Write
Account
get_balance
Returns your CU balance and prepaid USD credits
Read
get_subscription
Returns your current plan and its status
Read
list_subscriptions
Lists every subscription on your account
Read
Once connected, ask your assistant things like:
“Create a JSON-RPC endpoint for Ronin mainnet.”
“Which regions can I use for peaq?”
“Rotate my Solana token and show me the new endpoint URL.”
“How many CUs do I have left, and which plan am I on?”
Prerequisites
A GetBlock API key. Create one in the dashboard under Settings → API Keys; keys start with
gb_.
Connect your AI agent
Every request carries the header Authorization: Bearer <API-KEY>.
In claude.ai or the Claude Desktop app:
Go to Customize → Connectors, click + Add, and select Add custom connector.
Name it
GetBlock MCP Server, pastehttps://mcp.getblock.io/v1as the URL, and click Continue.Under Authentication, select No sign-in.
Under Request headers, choose
authorizationas the header and enter<API-KEY>as the value.Click Add, then enable the connector from the tools menu in any chat.
Run one command in your terminal:
Verify the connection with /mcp inside a session.
Go to Settings → MCP → Add new MCP server, or add to .cursor/mcp.json:
Run MCP: Add Server from the Command Palette and choose HTTP, or add to .vscode/mcp.json:
Good to know
Endpoint URLs are credentials. The access token is embedded in the URL. Keep it in an environment variable and rotate it if it leaks.
Some actions stay in the dashboard. Creating API keys, ordering Dedicated and Limitless Nodes, changing plans, and buying CU packages are done in the GetBlock dashboard.
Last updated
Was this helpful?