TON Access MCP Server
TON 访问 MCP 服务器
TON 区块链的生产就绪模型上下文协议 (MCP) 服务器实现,建立在ton-access库之上。
什么是 MCP?
模型上下文协议 (MCP)是由 Anthropic 开发的开放协议,它规范了应用程序向大型语言模型 (LLM) 提供上下文的方式。它采用客户端-服务器架构,其中 LLM 应用程序(主机)连接到 MCP 服务器,后者为 LLM 提供上下文、工具和提示。
Related MCP server: EVM MCP Server
特征
完整的 MCP 实现:实现完整的 MCP 规范,用于将 AI 助手连接到 TON 区块链
分散访问:使用多个节点实现可靠性和分散性
健康检查:自动检查节点健康状况并选择健康节点
负载平衡:使用加权随机算法来分配请求
多网络:支持主网和测试网
多种协议:支持不同的 RPC 协议(TonCenter HTTP API v2、TonHub HTTP API v4)
安装
# Clone the repository
git clone https://github.com/your-org/ton-access-mcp.git
cd ton-access-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm start快速入门
import { TonAccessMCPServer } from 'ton-access-mcp';
// Create and start the server
const server = new TonAccessMCPServer({
port: 3000,
host: 'localhost'
});
server.start().then(() => {
console.log('TON Access MCP Server is running on http://localhost:3000');
});可用工具
TON Access MCP 服务器提供以下工具:
ton.getBalance :获取 TON 钱包地址的余额
ton.getTransaction :获取 TON 区块链交易的详细信息
ton.getBlock :获取 TON 区块链区块的详细信息
ton.callGetter :调用 TON 智能合约上的 getter 方法
ton.getMasterchainInfo :获取有关 TON 主链的最新信息
ton.getAccountState :获取 TON 帐户的当前状态
文档
有关详细文档,请参阅文档目录。
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
致谢
Orbs Network ,用于 ton-access 库
符合 MCP 规范的Anthropic
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Tenzro Network MCP server: wallet, identity, payments, inference, staking, bridges, verification.
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that gives LLMs the ability to interact with Ethereum networks, manage wallets, query blockchain data, and execute smart contract operations through a standardized interface.5411 npm14MIT
- -licenseNot gradedqualityNot gradedmaintenanceComprehensive Model Context Protocol server that enables AI agents to interact with 30+ Ethereum-compatible blockchain networks, supporting token transfers, smart contract interactions, and ENS name resolution through a unified interface.1-
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that enables natural language interaction with the TON blockchain, allowing users to perform queries for balances, analyze trading patterns, detect hot trends, and conduct forensic investigations on blockchain data.26MIT

Blockscout MCP Serverofficial
FlicenseAqualityBmaintenanceA server that exposes blockchain data (balances, tokens, NFTs, contract metadata) via the Model Context Protocol, enabling AI agents and tools to access and analyze blockchain information contextually.1846-