Compatible with every major AI agent and IDE
What is the GetBlock (Web3 RPC Provider) MCP Server?
Connect your GetBlock account to any AI agent and interact with dozens of blockchain protocols through natural conversation. GetBlock provides high-performance RPC node access for developers and crypto enthusiasts.
What you can do
- Multi-Chain Queries — Fetch data from Ethereum, Solana, Bitcoin, and 50+ other supported networks using specialized tools.
- Account & Balance Tracking — Check native balances and token holdings across different chains (e.g.,
eth_get_balance,sol_get_balance). - Blockchain Inspection — Retrieve block details, transaction receipts, and blockchain metadata (e.g.,
eth_block_number,btc_get_blockchain_info). - Advanced Debugging — Access deep transaction traces and call simulations to analyze smart contract behavior (e.g.,
debug_trace_transaction). - Generic RPC Access — Use the
rpc_calltool to execute any JSON-RPC method supported by the GetBlock nodes.
How it works
- Subscribe to this server
- Enter your GetBlock Access Token (API Key)
- Start querying blockchain data from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Web3 Developers — debug transactions and check contract states without leaving your code editor.
- Crypto Analysts — pull real-time on-chain data and block statistics for reporting and research.
- DeFi Users — monitor wallet balances and transaction statuses across multiple protocols via a single interface.
Built-in capabilities (26)
Analyze and provide information about a PSBT
Create a transaction in the Partially Signed Bitcoin Transaction format
Get the hash of the best (tip) block
Get an object containing various state info regarding blockchain processing
Get the number of blocks in the longest blockchain
Submit raw transaction (serialized, hex-encoded) to local node and network
Get traces for all transactions in a block
Run an eth_call within the context of the given block execution
Get all traces of a given transaction
Get a list of addresses owned by client
Get the number of the most recent block
Execute a new message call immediately without creating a transaction
Estimate gas necessary to allow the transaction to complete
Get the balance of an Ethereum account
Get information about a block by hash
Get information about a block by block number
Get code at a given address
Get information about a transaction by hash
Get the receipt of a transaction by hash
Execute any generic JSON-RPC method via GetBlock
Get all information associated with the account of provided Pubkey
Get the balance of the provided Pubkey
Get the latest blockhash from the ledger
Get the token balance of an SPL Token account
Get transaction details for a confirmed transaction signature
Submit a signed transaction to the cluster for processing
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and GetBlock (Web3 RPC Provider) tool infrastructure. Connect 26 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add GetBlock (Web3 RPC Provider) without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every GetBlock (Web3 RPC Provider) tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
GetBlock (Web3 RPC Provider) in Mastra AI
GetBlock (Web3 RPC Provider) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect GetBlock (Web3 RPC Provider) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for GetBlock (Web3 RPC Provider) in Mastra AI
The GetBlock (Web3 RPC Provider) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 26 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
GetBlock (Web3 RPC Provider) for Mastra AI
Every tool call from Mastra AI to the GetBlock (Web3 RPC Provider) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I query blockchains other than Ethereum?
Yes! This server includes specific tools for multiple networks, such as sol_get_balance for Solana and btc_get_blockchain_info for Bitcoin, leveraging GetBlock's multi-chain infrastructure.
How do I execute a custom RPC method not listed in the tools?
Use the rpc_call tool. You can provide the method name (e.g., 'eth_chainId') and a JSON string of parameters to interact with any available endpoint feature.
Is it possible to debug failed smart contract transactions?
Yes. Use the debug_trace_transaction tool with the transaction hash. It will return the execution traces, helping you identify exactly where a call reverted or failed.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Avaza
11 toolsUnified project management, time tracking, and invoicing via Avaza — orchestrate professional services natively via AI.

Saysimple
11 toolsAutomate omnichannel messaging via Saysimple — manage chats, send WhatsApp/SMS, and use templates with AI.

General Motors
14 toolsAI connected car: control GM vehicles, check diagnostics, and track location via agents.

FDIC BankFind Suite
8 toolsAccess comprehensive FDIC data on financial institutions, branches, history, and financial performance directly from your AI agent.
