loading…
Search for a command to run...
loading…
Enables AI agents to interact with multiple blockchain networks to check wallet balances, gas prices, and transaction history on the Frax network. It also inclu
Enables AI agents to interact with multiple blockchain networks to check wallet balances, gas prices, and transaction history on the Frax network. It also includes tools for real-time cryptocurrency conversion and sending automated notifications via Telegram.
A Model Context Protocol (MCP) server for Blockchain interactions. This server enables AI agents to interact with multiple blockchain networks, check financial data, and send real-time notifications to Telegram.
Create a .env file in the root directory and populate it with your credentials:
# Telegram Configuration
TELEGRAM_BOT_TOKEN=your_bot_token_from_botfather
TELEGRAM_CHAT_ID=your_numeric_chat_id
# Blockchain API Keys
FRAXSCAN_API_KEY=your_fraxscan_api_key
# Optional: CoinGecko API Key
COINGECKO_API_KEY=your_api_key
Clone the repository:
git clone <YOUR_REPO_URL_HERE>
cd <YOUR_REPO_NAME>
Install dependencies:
This project uses uv for fast dependency management.
make install
The easiest way to test the tools is using the built-in Makefile command, which launches the MCP Inspector.
make dev
Alternatively: uv run fastmcp dev main.py
Below are example inputs for testing the tools in the MCP Inspector.
wallet_check)Queries multiple public RPC endpoints to retrieve native balances across various chains.
{ "address": "0x..." }
{
"Ethereum": "1.2450 ETH",
"Arbitrum": "0.0000 ETH",
"Polygon": "150.3200 MATIC",
"Optimism": "0.0500 ETH",
"Base": "0.1200 ETH"
}
get_frax_transactions)Merges native and token transfer history from the Fraxscan API, sorted by timestamp.
{ "address": "0x4200000000000000000000000000000000000015" }
[
{
"time": "2026-01-30 18:00:00",
"amount": "0.5000 frxETH",
"token": "frxETH",
"type": "Native",
"hash": "0x..."
}
]
get_gas_prices)Monitors real-time gas prices (in Gwei) to estimate transaction costs.
{}
{
"Ethereum": "🔴 45.2 Gwei",
"Base": "🟢 0.01 Gwei"
}
convert_crypto)Converts time between timezones.
Input:
{
"amount": 1,
"from_coin": "bitcoin",
"to_coin": "ripple"
}
Response:
{
"Response": "1 BITCOIN = 1235999999.0 XRP (Rate: 95000)"
}
send_telegram_message)This tool allows the AI to send notifications to your phone via Telegram.
send_telegram_message.{
"message": "The deployment was successful"
}
"Message sent successfully!"
This mode enables the AI to automatically check for new messages and respond to them in a continuous loop, while also performing other operations in between.
Prompt to Initiate:
"I want you to run in Auto-Pilot Mode. Here is your loop:
1. **Check:** Run `telegram_read_messages`.
2. **Act:** If there is a NEW message (one you haven't answered yet), interpret it and use `telegram_reply` to send the answer.
3. **Wait:** If there are no new messages, carry out any pending commands then run `wait_for_seconds(4)`.
4. **Repeat:** Go back to Step 1.
Do not ask me for permission between steps. Just keep running this loop indefinitely."
How the Loop Works:
convert_crypto) to find the answer.Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"block-mcp-server": {
"command": "npx",
"args": []
}
}
}