How to Use the Moonscan (Moonbeam Network Explorer) MCP in Google ADK
Query live Moonbeam ledger state and feed raw blockchain data to your Google ADK enterprise pipelines using MCP.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Moonscan (Moonbeam Network Explorer) MCP to Google ADK
Create your Vinkius account to connect Moonscan (Moonbeam Network Explorer) to Google ADK and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Analyze deep Moonbeam block history with Google ADK
The `proxy_eth_get_block_by_number` tool pulls complete block payloads directly into Gemini's million-token context window. This allows your agent to process thousands of transactions at once, identifying patterns that shorter-context models miss entirely. To pinpoint specific windows of activity, the agent uses `get_block_number_by_time` to map timestamps to block heights. This lets you feed clean, targeted block ranges into BigQuery for enterprise-grade analytics.
Track multi-token transfers via an MCP Server
The `get_erc20_transfers` tool pulls transfer events for standard tokens, letting your agent track GLMR and stablecoin movements across the network. This provides the raw event logs needed to trigger automated enterprise workflows based on on-chain events. For complex assets, the agent calls `get_erc721_transfers` and `get_erc1155_transfers` to monitor NFT and multi-token transactions. Your Google Cloud agent can process these logs to update external databases or flag suspicious wallet behavior.
Run raw EVM state queries directly
The `proxy_eth_call` tool lets your agent read read-only smart contract state on Moonbeam without sending a real transaction. This is crucial for verifying balances or checking contract variables before committing to an on-chain action. When debugging execution paths, the agent uses `proxy_eth_get_transaction_receipt` to inspect exact logs and gas usage. This gives your enterprise agent the low-level data it needs to verify transaction finality before updating internal ledgers.
Set up Moonscan (Moonbeam Network Explorer) MCP in Google ADK
Prerequisites
- Python 3.10+ installed
-
google-adkpackage (pip install google-adk) - Active Vinkius subscription with a valid endpoint token
- 1
Install Google ADK
Run
pip install google-adkto install the Agent Development Kit. MCP support is included via theMcpToolsetclass. - 2
Connect via SSE transport
Use
McpToolset.from_server()withSseServerParamspointing to your Vinkius endpoint. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Create an LlmAgent
Pass the returned
mcp_toolslist directly toLlmAgent(tools=mcp_tools). The ADK maps each MCP tool to a native Gemini function call — no manual schema definitions required. - 4
Run with any Gemini model
The agent works with any Gemini model (
gemini-2.0-flash,gemini-2.5-pro, etc.). Copy the full example on the right to get started with Moonscan (Moonbeam Network Explorer) tools in your ADK agent.
from google.adk.agents import LlmAgent
from google.adk.tools.mcp_tool.mcp_toolset import McpToolset
from google.adk.tools.mcp_tool.mcp_session_manager import SseServerParams
# Connect to the MCP via SSE
mcp_tools, exit_stack = await McpToolset.from_server(
connection_params=SseServerParams(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
)
)
# Create your agent with auto-discovered tools
agent = LlmAgent(
name="Moonscan (Moonbeam Network Explorer)_agent",
model="gemini-2.0-flash",
instruction="You have access to Moonscan (Moonbeam Network Explorer) tools via MCP.",
tools=mcp_tools,
) Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Moonscan. 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 Moonscan (Moonbeam Network Explorer) MCP in Google ADK
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Moonscan (Moonbeam Network Explorer) MCP today
We host it, we monitor it, we maintain it. You just paste one token.