DT

devonmojito/ton-blockchain-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

27 stars 11 forks 품질 66 트렌드 0MIT

Model Context Protocol (MCP) 서버는 TON 블록체인과 자연적인 언어 상호 작용을 위해 Python에서 작성했습니다

개요

TON 블록체인과의 자연적인 언어 상호 작용을 위한 모형 Context Protocol (MCP) 서버. - : 일반 영어의 복잡한 블록 체인 쿼리 이해 - : 분석 거래 패턴, 수익성 및 전략 - : 트렌드 토큰, 활성 풀 및 높은 행동 계정 찾기 - : 행동 블록 체인 조사 및 준수 검사 - : TON API를 통해 라이브 TON 블록 체인 데이터 액세스 - Python 3.10+ - TONAPI 키 TON API 키와 같은 민감한 구성을 안전하게 제공하려면 프로젝트 루트 디렉토리에 .env 파일을 만듭니다. 이 파일은 현재 경우 자동으로로드됩니다. 이 MCP 서버를 쉽게 사용할 수 있습니다. Claude Desktop for natural language blockchain 쿼리. 아래의 예는 다음과 같습니다. Claude Desktop을 사용하여이 MCP 서버를 사용하려면 Claude Desktop config에 다음을 추가하십시오. * Python env 설정을 자체로 교체해야합니다. - "주소 EQD1234의 균형은 무엇입니까?

개요(AI 번역)

TON 블록체인과의 자연적인 언어 상호 작용을 위한 모형 Context Protocol (MCP) 서버.

특징

  • Natural Language Processing: 일반 영어로 복잡한 블록체인 쿼리 이해
  • Trading Analysis: 분석 거래 패턴, 수익성 및 전략
  • ** 핫 트렌드 검색**: Trending 토큰, 적극적인 풀 및 높은 수준의 계정 찾기
  • Forensics & Compliance: 블록체인 조사 및 규정 준수 확인
  • ** 실시간 데이터**: TON API를 통한 실시간 TON 블록체인 데이터

빠른 시작

# 필수품

  • 파이썬 3.10+
  • TONAPI 키

환경 설정 (.env)

TON API 키와 같은 민감한 구성을 안전하게 제공하려면 프로젝트 루트 디렉토리에 .env] 파일을 만듭니다. 이 파일은 현재 경우 자동으로로드됩니다.

예금 .env 파일:

설치

  1. 저장소를 복제:

  2. 의존성 설치:


Claude 데스크탑을 가진 TON MCP 서버 사용

이 MCP 서버를 쉽게 사용할 수 있습니다. Claude Desktop for natural language blockchain 쿼리. 아래의 예는 다음과 같습니다.

**Scam 탐지 예: **

**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 } } }