GetBlock (Web3 RPC Provider) MCP Server for OpenAI Agents SDKGive OpenAI Agents SDK instant access to 26 tools to Btc Analyzepsbt, Btc Createpsbt, Btc Getbestblockhash, and more
The OpenAI Agents SDK enables production-grade agent workflows in Python. Connect GetBlock (Web3 RPC Provider) through Vinkius and your agents gain typed, auto-discovered tools with built-in guardrails. no manual schema definitions required.
Ask AI about this MCP Server for OpenAI Agents SDK
The GetBlock (Web3 RPC Provider) MCP Server for OpenAI Agents SDK is a standout in the Developer Tools category — giving your AI agent 26 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
async with MCPServerStreamableHttp(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
) as mcp_server:
agent = Agent(
name="GetBlock (Web3 RPC Provider) Assistant",
instructions=(
"You help users interact with GetBlock (Web3 RPC Provider). "
"You have access to 26 tools."
),
mcp_servers=[mcp_server],
)
result = await Runner.run(
agent, "List all available tools from GetBlock (Web3 RPC Provider)"
)
print(result.final_output)
asyncio.run(main())
* 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
About 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.
The OpenAI Agents SDK auto-discovers all 26 tools from GetBlock (Web3 RPC Provider) through native MCP integration. Build agents with built-in guardrails, tracing, and handoff patterns. chain multiple agents where one queries GetBlock (Web3 RPC Provider), another analyzes results, and a third generates reports, all orchestrated through Vinkius.
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.
The GetBlock (Web3 RPC Provider) MCP Server exposes 26 tools through the Vinkius. Connect it to OpenAI Agents SDK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 26 GetBlock (Web3 RPC Provider) tools available for OpenAI Agents SDK
When OpenAI Agents SDK connects to GetBlock (Web3 RPC Provider) through Vinkius, your AI agent gets direct access to every tool listed below — spanning rpc-nodes, web3, blockchain-infrastructure, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Btc analyzepsbt on GetBlock (Web3 RPC Provider)
Analyze and provide information about a PSBT
Btc createpsbt on GetBlock (Web3 RPC Provider)
Create a transaction in the Partially Signed Bitcoin Transaction format
Btc getbestblockhash on GetBlock (Web3 RPC Provider)
Get the hash of the best (tip) block
Btc getblockchaininfo on GetBlock (Web3 RPC Provider)
Get an object containing various state info regarding blockchain processing
Btc getblockcount on GetBlock (Web3 RPC Provider)
Get the number of blocks in the longest blockchain
Btc sendrawtransaction on GetBlock (Web3 RPC Provider)
Submit raw transaction (serialized, hex-encoded) to local node and network
Debug trace block by number on GetBlock (Web3 RPC Provider)
Get traces for all transactions in a block
Debug trace call on GetBlock (Web3 RPC Provider)
Run an eth_call within the context of the given block execution
Debug trace transaction on GetBlock (Web3 RPC Provider)
Get all traces of a given transaction
Eth accounts on GetBlock (Web3 RPC Provider)
Get a list of addresses owned by client
Eth block number on GetBlock (Web3 RPC Provider)
Get the number of the most recent block
Eth call on GetBlock (Web3 RPC Provider)
Execute a new message call immediately without creating a transaction
Eth estimate gas on GetBlock (Web3 RPC Provider)
Estimate gas necessary to allow the transaction to complete
Eth get balance on GetBlock (Web3 RPC Provider)
Get the balance of an Ethereum account
Eth get block by hash on GetBlock (Web3 RPC Provider)
Get information about a block by hash
Eth get block by number on GetBlock (Web3 RPC Provider)
Get information about a block by block number
Eth get code on GetBlock (Web3 RPC Provider)
Get code at a given address
Eth get transaction by hash on GetBlock (Web3 RPC Provider)
Get information about a transaction by hash
Eth get transaction receipt on GetBlock (Web3 RPC Provider)
Get the receipt of a transaction by hash
Rpc call on GetBlock (Web3 RPC Provider)
Execute any generic JSON-RPC method via GetBlock
Sol get account info on GetBlock (Web3 RPC Provider)
Get all information associated with the account of provided Pubkey
Sol get balance on GetBlock (Web3 RPC Provider)
Get the balance of the provided Pubkey
Sol get latest blockhash on GetBlock (Web3 RPC Provider)
Get the latest blockhash from the ledger
Sol get token account balance on GetBlock (Web3 RPC Provider)
Get the token balance of an SPL Token account
Sol get transaction on GetBlock (Web3 RPC Provider)
Get transaction details for a confirmed transaction signature
Sol send transaction on GetBlock (Web3 RPC Provider)
Submit a signed transaction to the cluster for processing
Connect GetBlock (Web3 RPC Provider) to OpenAI Agents SDK via MCP
Follow these steps to wire GetBlock (Web3 RPC Provider) into OpenAI Agents SDK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install the SDK
pip install openai-agents in your Python environmentReplace the token
[YOUR_TOKEN_HERE] with your Vinkius token from cloud.vinkius.comRun the script
python agent.pyExplore tools
Why Use OpenAI Agents SDK with the GetBlock (Web3 RPC Provider) MCP Server
OpenAI Agents SDK provides unique advantages when paired with GetBlock (Web3 RPC Provider) through the Model Context Protocol.
Native MCP integration via `MCPServerSse`, pass the URL and the SDK auto-discovers all tools with full type safety
Built-in guardrails, tracing, and handoff patterns let you build production-grade agents without reinventing safety infrastructure
Lightweight and composable: chain multiple agents and MCP servers in a single pipeline with minimal boilerplate
First-party OpenAI support ensures optimal compatibility with GPT models for tool calling and structured output
GetBlock (Web3 RPC Provider) + OpenAI Agents SDK Use Cases
Practical scenarios where OpenAI Agents SDK combined with the GetBlock (Web3 RPC Provider) MCP Server delivers measurable value.
Automated workflows: build agents that query GetBlock (Web3 RPC Provider), process the data, and trigger follow-up actions autonomously
Multi-agent orchestration: create specialist agents. one queries GetBlock (Web3 RPC Provider), another analyzes results, a third generates reports
Data enrichment pipelines: stream data through GetBlock (Web3 RPC Provider) tools and transform it with OpenAI models in a single async loop
Customer support bots: agents query GetBlock (Web3 RPC Provider) to resolve tickets, look up records, and update statuses without human intervention
Example Prompts for GetBlock (Web3 RPC Provider) in OpenAI Agents SDK
Ready-to-use prompts you can give your OpenAI Agents SDK agent to start working with GetBlock (Web3 RPC Provider) immediately.
"What is the current Ethereum block height?"
"Check the ETH balance for address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e."
"Get the latest Bitcoin blockchain info."
Troubleshooting GetBlock (Web3 RPC Provider) MCP Server with OpenAI Agents SDK
Common issues when connecting GetBlock (Web3 RPC Provider) to OpenAI Agents SDK through Vinkius, and how to resolve them.
MCPServerStreamableHttp not found
pip install --upgrade openai-agentsAgent not calling tools
GetBlock (Web3 RPC Provider) + OpenAI Agents SDK FAQ
Common questions about integrating GetBlock (Web3 RPC Provider) MCP Server with OpenAI Agents SDK.
How does the OpenAI Agents SDK connect to MCP?
MCPServerSse(url=...) to create a server connection. The SDK auto-discovers all tools and makes them available to your agent with full type information.Can I use multiple MCP servers in one agent?
MCPServerSse instances to the agent constructor. The agent can use tools from all connected servers within a single run.Does the SDK support streaming responses?
Explore More MCP Servers
View all →
Aliyun OSS / 阿里云对象存储
10 toolsChina's leading object storage service — manage files, buckets, and metadata via AI.

GovInfo (GPO Legislative Docs)
6 toolsAccess official US government documents, legislative bills, and federal registers directly from the GPO.

commercetools
10 toolscommercetools is a flexible, cloud-native e-commerce platform that provides a headless API for composable commerce. This MCP server allows you to manage products, orders, and customer data programmatically.

WhatsApp Business Alternative
8 toolsAutomate your customer communication — send templates and manage profiles via AI.
