How to Use the FtmScan (Fantom Network Explorer) MCP in Google ADK
Connect Gemini models to Fantom blockchain data using Google ADK to query balances and contracts.
Works with every AI agent you already use
…and any MCP-compatible client
Connect FtmScan (Fantom Network Explorer) MCP to Google ADK
Create your Vinkius account to connect FtmScan (Fantom 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.
Read Fantom contract source code in Google ADK
`get_contract_source_code` retrieves the raw Solidity code of verified contracts directly into your Gemini long-context window. This allows your agent to analyze complex DeFi protocols or verify contract logic without manual downloads. Your MCP client gets the exact code deployed on-chain. If you need to construct transaction payloads, `get_contract_abi` pulls the application binary interface. Gemini can parse this ABI to dynamically generate valid contract calls, making your agent highly adaptable to new contracts.
Audit wallet transactions with this MCP Server
`get_normal_transactions` lists all standard transactions for any Fantom address. This tool provides the raw data your agent needs to audit historical activity, calculate gas expenditures, or trace wallet interactions. To find deeper execution steps, `get_internal_transactions` exposes contract-to-contract transfers that do not show up on normal scans. Your agent combines these tools with `get_transaction_receipt_status` to verify if a transaction succeeded.
Track token and NFT movements
`get_erc20_transfers` fetches the history of fungible token movements for any target address. This lets your agent monitor swap activities, liquidity provisions, or simple token transfers without querying individual contract event logs. For digital collectibles, `get_erc721_transfers` tracks NFT movements across the Fantom network. Your MCP agent can pair this with `get_erc20_token_balance` to maintain a real-time ledger of a wallet's entire portfolio.
Set up FtmScan (Fantom 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 FtmScan (Fantom 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="FtmScan (Fantom Network Explorer)_agent",
model="gemini-2.0-flash",
instruction="You have access to FtmScan (Fantom 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 FtmScan. 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 FtmScan (Fantom 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 FtmScan (Fantom Network Explorer) MCP today
We host it, we monitor it, we maintain it. You just paste one token.