
bofai/mcp-server-tron
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
TRON 생태계 MCP 서버
개요
TRON 네트워크의 blockchain 서비스를 제공하는 포괄적 인 Model Context Protocol (MCP) 서버. 이 서버는 TRX, TRC20 토큰 및 스마트 컨트랙트에 대한 도구 및 AI 가이드 프롬프트를 통해 통합된 인터페이스를 갖춘 TRON 블록체인과 상호 작용할 수 있습니다. MCP TRON Server는 Model Context Protocol을 활용하여 AI Agent에 블록체인 서비스를 제공합니다. tronweb을 사용하여 TRON 생태계를 완벽하게 지원합니다. - : 블록, 트랜잭션 및 체인 매개 변수 (Energy/Bandwidth cost)를 읽으십시오. - : TRON 스마트 컨트랙트(Read/Write)와 상호작용. - : TRX 및 TRC20 토큰 전송; 잔액 확인. - : Hex(0x...)과 Base58(T...) 형식의 변환 - : Agent-wallet-managed 파일 백업 지갑. -: Mainnet, Nile 및 Shasta를 위한 이음새가 없는 지원. - : Write-capable tools stay register; --readonly는 그(것)들을 숨기고, 지갑 의존하는 핸들러는 아무 지갑도 사용할 수 없는 실행 시간에 실패합니다. - : Mainnet, Nile, Shasta. - : 블록 번호, 체인 ID, RPC 엔드포인트.
개요(AI 번역)
TRON 네트워크의 blockchain 서비스를 제공하는 포괄적 인 Model Context Protocol (MCP) 서버. 이 서버는 TRX, TRC20 토큰 및 스마트 컨트랙트에 대한 도구 및 AI 가이드 프롬프트를 통해 통합된 인터페이스를 갖춘 TRON 블록체인과 상호 작용할 수 있습니다.
내용
- 개요
- 특징
- 지원된 네트워크
- 필수
- 설치
- 구성
- 환경변수
- 서버 구성
- 사용
- API 참조
- 도구
- 프롬츠
- 보안 고려
- 프로젝트 구조
- 라이센스
개요
MCP TRON Server는 Model Context Protocol을 활용하여 AI Agent에 블록체인 서비스를 제공합니다. 그것은 완전히 TRON 생태계를 사용하여 tronweb.
주요 기능:
- Blockchain Data: 블록, 트랜잭션 및 체인 매개 변수(Energy/Bandwidth cost)를 읽습니다.
- Smart Contract: TRON 스마트 컨트랙트(Read/Write)와 상호작용.
- **토큰 **: TRX 및 TRC20 토큰을 전송; 잔액 확인.
- 주소 관리: Hex(0x…)과 Base58(T…) 형식을 변환합니다.
- 월렛 통합: Agent-wallet-managed 파일 백업 지갑.
- Multi-Network: Mainnet, Nile 및 Shasta에 대한 원활한 지원.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP Server Tron
A comprehensive Model Context Protocol (MCP) server that provides blockchain services for the TRON network. This server enables AI agents to interact with TRON blockchain with a unified interface through tools and AI-guided prompts for TRX, TRC20 tokens and smart contracts.
Contents
- Overview
- Features
- Supported Networks
- Prerequisites
- Installation
- Configuration
- Usage
- API Reference
- Security Considerations
- Project Structure
- License
Overview
The MCP TRON Server leverages the Model Context Protocol to provide blockchain services to AI agents. It fully supports the TRON ecosystem using tronweb.
Key capabilities:
- Blockchain Data: Read blocks, transactions, and chain parameters (Energy/Bandwidth costs).
- Smart Contracts: Interact with any TRON smart contract (Read/Write).
- Tokens: Transfer TRX and TRC20 tokens; check balances.
- Address Management: Convert between Hex (0x…) and Base58 (T…) formats.
- Wallet Integration: Agent-wallet-managed file-backed wallets.
- Multi-Network: Seamless support for Mainnet, Nile, and Shasta.
- Dynamic Access Control: Write-capable tools stay registered;
--readonlyhides them, and wallet-dependent handlers fail at execution time if no wallet is available.
Features
Blockchain Data Access
- TRON network support: Mainnet, Nile, Shasta.
- Chain information: Block number, Chain ID, RPC endpoints.
- Block data: Access by number or hash.
- Transaction details: Detailed info including resource usage (Energy/Bandwidth).
- Resource Costs: Query current chain parameters for Energy and Bandwidth prices.
Token Services
- Native TRX: Check balance and transfer.
- TRC20 Tokens:
- Check balances.
- Transfer tokens.
- Get token metadata (name, symbol, decimals).
Address Services
- Format Conversion: Convert between Hex (
41...or0x...) and Base58 (T...) formats. - Validation: Verify if an address is valid on TRON.
Smart Contract Interactions
- Read Contract: Call
viewandpurefunctions. - Write Contract: Execute state-changing functions.
- ABI Fetching: Automatically fetches ABI from the blockchain for verified contracts.
Governance & Proposals
설치
npx -y @bankofai/mcp-server-tron설정
{
"mcpServers": {
"mcp-server-tron": {
"command": "npx",
"args": ["-y", "@bankofai/mcp-server-tron"],
"env": {
"TRONGRID_API_KEY": "YOUR_KEY_HERE"
}
}
}
}