DT

devonmojito/ton-blockchain-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

27 stars 11 forks 品質 66 トレンド 0MIT

Pythonで書かれているモデルコンテキストプロトコル(MCP)サーバーで、TONブロックチェーンとの自然言語の相互作用

概要

トンブロックチェーンとの自然言語相互作用のためのモデルコンテキストプロトコル(MCP)サーバー。 - : プレーン・イングリッシュの複雑なブロックチェーン・クエリを把握 - : 取引パターンの分析、収益性、戦略の分析 - : トレンド・トークン、アクティブ・プール、およびハイアクティビティ・アカウントの検索 - : ブロックチェーン調査とコンプライアンスチェックを実施 - : トン・APIによるライブ・トン・ブロックチェーン・データへのアクセス - Python 3.10 + - TONAPIからTON APIキー 機密設定(TON API キーなど)を安全に提供するために、プロジェクトルートディレクトリに.envファイルを作成します。 現時点では自動的に読み込まれます。 このMCPサーバーをClaude Desktopで簡単に使用でき、自然言語のブロックチェーンの問い合わせに使用できます。 以下は、いくつかの例の使用例です。 Claude DesktopでこのMCPサーバーを使用するには、Claude Desktop configに次のものを追加します。 * Python envの設定を自分で置き換える必要があります。 - 「EQD1234アドレスの残高は何ですか?

概要(AI 翻訳)

トンブロックチェーンとの自然言語相互作用のためのモデルコンテキストプロトコル(MCP)サーバー。

##特徴

-Natural Language Processing:複雑なブロックチェーンのクエリをプレーン英語で理解 -取引分析:取引パターンの分析、収益性、戦略

  • 熱い傾向の検出: トレンドトークン、アクティブプール、およびハイアクティビティアカウントの検索
  • フォレンジック&コンプライアンス:ブロックチェーン調査とコンプライアンスチェックを実施 -リアルタイムデータ: トンAPIによるライブトンブロックチェーンデータへのアクセス

クイックスタート

前提条件

  • Python 3.10 +
  • TONAPIからのTON APIのキー

環境設定(.env)

機密設定(TON API キーなど)を安全に提供するために、プロジェクトルートディレクトリに[[[T0]ファイルを作成します。 現時点では自動的に読み込まれます。

例 [.env ファイル:

インストール

  1. リポジトリのクローン化:

  2. 依存関係を取付けて下さい:

お問い合わせ

TON MCP Server を Claude デスクトップで使用

このMCPサーバーをClaude Desktopで簡単に使用でき、自然言語のブロックチェーンの問い合わせに使用できます。 以下は、いくつかの例の使用例です。

詐欺の検出の例:

Analyzeアドレス例:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

TON BLOCKCHAIN MCP

A Model Context Protocol (MCP) server for natural language interaction with the TON blockchain.

Features

  • Natural Language Processing: Understand complex blockchain queries in plain English
  • Trading Analysis: Analyze trading patterns, profitability, and strategies
  • Hot Trends Detection: Find trending tokens, active pools, and high-activity accounts
  • Forensics & Compliance: Conduct blockchain investigations and compliance checks
  • Real-time Data: Access live TON blockchain data through TON API

Quick Start

Prerequisites

  • Python 3.10+
  • TON API key from TONAPI

Environment Configuration (.env)

To securely provide sensitive configuration (such as your TON API key), create a .env file in the project root directory. This file will be loaded automatically if present.

Example .env file:

TON_API_KEY=YOUR_TON_API_KEY

Installation

  1. Clone the repository:
git clone https://github.com/devonmojito/ton-blockchain-mcp.git
cd ton-blockchain-mcp
  1. Install dependencies:
pip install -r requirements.txt

Using TON MCP Server with Claude Desktop

You can easily use this MCP server with Claude Desktop for natural language blockchain queries. Below are some example use cases:

Scam Detection Example:

Analyze Address Example:

Get Transaction Details Example:

Analyze Trading Patterns Example:

Claude Desktop Configuration Example

To use this MCP server with Claude Desktop, add the following to your Claude Desktop config:

  • You might need to replace the Python env setup with your own.
{
    "mcpServers":
    {
        "ton-mcp-server":
        {
            "command": "/Users/devon/ton-mcp/ton-blockchain-mcp/venv/bin/python",
            "args":
            [
                "-m",
                "tonmcp.mcp_server"
            ],
            "cwd": "/Users/devon/ton-mcp/ton-blockchain-mcp/src",
            "env":
            {
                "PYTHONPATH": "/Users/devon/ton-mcp/ton-blockchain-mcp/src"
            },
            "stdio": true
        }
    }
}

Natural Language Examples

  • “What’s the balance of address EQD1234…?”
  • “Find hot trading pairs in the last hour”
  • “Analyze trading patterns for this wallet”
  • “Show suspicious activity for address ABC”
  • “Trace money flow from this address”

MCP Tools & System Prompts Documentation

Tools

analyze_address

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "ton-mcp-server": { "command": "/Users/devon/ton-mcp/ton-blockchain-mcp/venv/bin/python", "args": [ "-m", "tonmcp.mcp_server" ], "cwd": "/Users/devon/ton-mcp/ton-blockchain-mcp/src", "env": { "PYTHONPATH": "/Users/devon/ton-mcp/ton-blockchain-mcp/src" }, "stdio": true } } }