How to Use the Ankr (Web3 Node API) MCP in Cursor
Generate working Web3 code and dry-run contract calls inside Cursor using live RPC data.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Ankr (Web3 Node API) MCP to Cursor
Create your Vinkius account to connect Ankr (Web3 Node API) to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Write smart contract integrations with live chain data
The `eth_getCode` tool retrieves the deployed bytecode of any contract directly into your Cursor editing session. When you write integration tests, your agent uses `eth_call` to execute read-only methods against the live mainnet contract, generating accurate wrappers based on real state rather than outdated API documentation. By feeding live contract outputs straight into Cursor's active context, your agent writes code that matches the actual deployed state. This eliminates the common trial-and-error cycle of writing integration code against mock interfaces that don't match the live network.
Debug transaction failures inside this Cursor MCP Server
The `eth_getTransactionReceipt` tool pulls full execution logs and status codes directly into Cursor's terminal window. When a test script fails, your agent calls `eth_getLogs` to filter historical events and pinpoint the exact line of code that triggered the revert. This MCP Server allows your agent to cross-reference local source code with live network events. It parses transaction receipts to explain EVM execution failures, helping you fix broken solidity scripts without leaving your IDE.
Fetch token prices and balances during code generation
The `ankr_getTokenPrice` tool pulls live USD valuations directly into Cursor to help you build financial math utilities. When writing portfolio tracking logic, your agent runs `ankr_getAccountBalance` to verify how your code handles multi-token balances across different EVM networks. Your agent uses these live numbers to write and run test assertions on the spot. Instead of hardcoding static test vectors, you get real-world token balances and price data injected directly into your active workspace.
Set up Ankr (Web3 Node API) MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the Ankr (Web3 Node API) MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent Ankr (Web3 Node API) transactions." If the MCP tools are loaded correctly, Cursor will call the Ankr (Web3 Node API) tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"ankr-web3-node-api-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Ankr. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Ankr (Web3 Node API) MCP in Cursor
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Ankr (Web3 Node API) MCP today
We host it, we monitor it, we maintain it. You just paste one token.