{"_id":"@bankofai/mcp-server-tron","_rev":"15-d98bda25ffc379a5e26ac54e5f683884","name":"@bankofai/mcp-server-tron","dist-tags":{"latest":"1.1.7"},"versions":{"1.1.1":{"name":"@bankofai/mcp-server-tron","version":"1.1.1","keywords":["mcp","model-context-protocol","tron","blockchain","trx","smart-contracts","ai","agent","trc20","trc721"],"author":{"name":"bankofai","email":"support@bankofai.io"},"license":"MIT","_id":"@bankofai/mcp-server-tron@1.1.1","maintainers":[{"name":"virtual_parson","email":"parson.hu@tron.network"},{"name":"hades.ye","email":"hades.ye@tron.network"},{"name":"leo_tron","email":"leo.wu@tron.network"}],"homepage":"https://github.com/bankofai/mcp-server-tron#readme","bugs":{"url":"https://github.com/bankofai/mcp-server-tron/issues"},"bin":{"mcp-server-tron":"bin/cli.js"},"dist":{"shasum":"2b7d9986da1e7cf20ac976a3558eca1c59f77b89","tarball":"https://registry.npmjs.org/@bankofai/mcp-server-tron/-/mcp-server-tron-1.1.1.tgz","fileCount":61,"integrity":"sha512-dN+sTOcfFUqRIJGwcKsQNyVExTXxfjn1KcW0qHojLTQaIEOSTj0ZtGCpc0ew0qGa68urISh1hqcahQBTgLiWeg==","signatures":[{"sig":"MEUCICL/5rL6OgMPdKpnWKBNG6x5oMrXxPVx12/tRO5IUOlVAiEAhJVr63PU836XdEe93kGjnu2cehEE6+D18U6aw1VDYB4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":189732},"main":"build/index.js","type":"module","types":"./build/index.d.ts","module":"src/index.ts","engines":{"node":">=20.0.0"},"gitHead":"057f1abe78457c330ef0ada45b91301bbcd132f6","mcpName":"io.github.bankofai/mcp-server-tron","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint .","test":"vitest run","build":"tsc","start":"tsx src/index.ts","inspect":"npx @modelcontextprotocol/inspector npx tsx src/index.ts","release":"npm publish","dev:http":"tsx watch src/server/http-server.ts","lint:fix":"eslint . --fix","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","start:http":"tsx src/server/http-server.ts","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch","prepublishOnly":"npm run build","changelog:latest":"conventional-changelog -p angular -r 1 > RELEASE_NOTES.md"},"_npmUser":{"name":"hades.ye","email":"hades.ye@tron.network"},"repository":{"url":"git+https://github.com/bankofai/mcp-server-tron.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server for TRON blockchain. Supports TRX/TRC20 transfers, smart contracts, and AI prompts.","directories":{},"_nodeVersion":"22.21.1","dependencies":{"zod":"^3.24.3","express":"^4.21.2","tronweb":"^6.1.1","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@modelcontextprotocol/sdk":"^1.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","eslint":"^9.39.2","vitest":"^4.0.17","globals":"^17.1.0","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^22.19.7","@types/express":"^5.0.0","typescript-eslint":"^8.53.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.53.1","conventional-changelog-cli":"^5.0.0","@typescript-eslint/eslint-plugin":"^8.53.1"},"peerDependencies":{"typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-tron_1.1.1_1770533183877_0.06289248760938904","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@bankofai/mcp-server-tron","version":"1.1.2","keywords":["mcp","model-context-protocol","tron","blockchain","trx","smart-contracts","ai","agent","trc20","trc721"],"author":{"name":"bankofai","email":"support@bankofai.io"},"license":"MIT","_id":"@bankofai/mcp-server-tron@1.1.2","maintainers":[{"name":"virtual_parson","email":"parson.hu@tron.network"},{"name":"hades.ye","email":"hades.ye@tron.network"},{"name":"leo_tron","email":"leo.wu@tron.network"}],"homepage":"https://github.com/bankofai/mcp-server-tron#readme","bugs":{"url":"https://github.com/bankofai/mcp-server-tron/issues"},"bin":{"mcp-server-tron":"bin/cli.js"},"dist":{"shasum":"d05b24f7f9648a7cfc8afbd33944eac33d24452c","tarball":"https://registry.npmjs.org/@bankofai/mcp-server-tron/-/mcp-server-tron-1.1.2.tgz","fileCount":61,"integrity":"sha512-rDtUrc+O1RI+3qC+bfNTyLYbR2a5bUWiPnucMk4IXW9M/7XPIdvx21C8LdhZ8pBZwh84uThOs0owRMjucH1CYQ==","signatures":[{"sig":"MEUCIDufs1I1o2IApPNTPMrRS19qYFI/mho5mTXWZyfC+XlOAiEA4P2SKMYTBNbSqDC1sW/Yn+8fgK0zXa0M+eKiEVbyPMU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bankofai%2fmcp-server-tron@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":191941},"main":"build/index.js","type":"module","types":"./build/index.d.ts","module":"src/index.ts","engines":{"node":">=20.0.0"},"gitHead":"39070a35152d533d08d5da0b0c015021bf879a9f","mcpName":"io.github.bankofai/mcp-server-tron","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint .","test":"vitest run","build":"tsc","start":"tsx src/index.ts","inspect":"npx @modelcontextprotocol/inspector npx tsx src/index.ts","release":"npm publish","dev:http":"tsx watch src/server/http-server.ts","lint:fix":"eslint . --fix","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","start:http":"tsx src/server/http-server.ts","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch","prepublishOnly":"npm run build","changelog:latest":"conventional-changelog -p angular -r 1 > RELEASE_NOTES.md"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cd29b701-c9f1-41d3-9f62-5182c7048faf"}},"repository":{"url":"git+https://github.com/bankofai/mcp-server-tron.git","type":"git"},"_npmVersion":"11.9.0","description":"MCP server for TRON blockchain. Supports TRX/TRC20 transfers, smart contracts, and AI prompts.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.3","express":"^4.21.2","tronweb":"^6.1.1","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@modelcontextprotocol/sdk":"^1.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","eslint":"^9.39.2","vitest":"^4.0.17","globals":"^17.1.0","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^22.19.7","@types/express":"^5.0.0","typescript-eslint":"^8.53.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.53.1","conventional-changelog-cli":"^5.0.0","@typescript-eslint/eslint-plugin":"^8.53.1"},"peerDependencies":{"typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-tron_1.1.2_1770569749471_0.7717483495422943","host":"s3://npm-registry-packages-npm-production"}},"1.1.3-beta.0":{"name":"@bankofai/mcp-server-tron","version":"1.1.3-beta.0","keywords":["mcp","model-context-protocol","tron","blockchain","trx","smart-contracts","ai","agent","trc20","trc721"],"author":{"name":"bankofai","email":"support@bankofai.io"},"license":"MIT","_id":"@bankofai/mcp-server-tron@1.1.3-beta.0","maintainers":[{"name":"virtual_parson","email":"parson.hu@tron.network"},{"name":"hades.ye","email":"hades.ye@tron.network"},{"name":"leo_tron","email":"leo.wu@tron.network"},{"name":"roger.gan","email":"roger.gan@tron.network"},{"name":"gummy789j","email":"gummy789j@gmail.com"}],"homepage":"https://github.com/bankofai/mcp-server-tron#readme","bugs":{"url":"https://github.com/bankofai/mcp-server-tron/issues"},"bin":{"mcp-server-tron":"bin/cli.js"},"dist":{"shasum":"f33b20a6dbfe815e63f9ea59a71e31b4cb9e68b4","tarball":"https://registry.npmjs.org/@bankofai/mcp-server-tron/-/mcp-server-tron-1.1.3-beta.0.tgz","fileCount":169,"integrity":"sha512-EFvKqVRycmTp5nmSZ+z8//Q9pi+KSjQ43sdt8568wTO65u228x8OwYbUVpCzFZ+WMWJZD4BgCCfpWCz1508uTg==","signatures":[{"sig":"MEUCIQD3mYrfRe7jAY6YVqSAhPVPVBqhIS4d1+Gthhmk9BY9zwIgRzmwjQLVkxeHnV7acgG5UbecMSu9dfnobJa2KMCbM0M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":702435},"main":"build/index.js","type":"module","types":"./build/index.d.ts","module":"src/index.ts","engines":{"node":">=20.0.0"},"gitHead":"2fe0a485edcd45900e68dd1cc0ece05a2bc7f5a7","mcpName":"io.github.bankofai/mcp-server-tron","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint .","test":"vitest run","build":"tsc","start":"tsx src/index.ts","inspect":"npx @modelcontextprotocol/inspector npx tsx src/index.ts","release":"npm publish","dev:http":"tsx watch src/server/http-server.ts","lint:fix":"eslint . --fix","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","start:http":"tsx src/server/http-server.ts","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch","prepublishOnly":"npm run build","changelog:latest":"conventional-changelog -p angular -r 1 > RELEASE_NOTES.md"},"_npmUser":{"name":"roger.gan","email":"roger.gan@tron.network"},"repository":{"url":"git+https://github.com/bankofai/mcp-server-tron.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP server for TRON blockchain. Supports TRX/TRC20 transfers, smart contracts, and AI prompts.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.3","express":"^4.21.2","tronweb":"^6.1.1","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@bankofai/agent-wallet":"^2.0.0-beta.0","@modelcontextprotocol/sdk":"^1.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","eslint":"^9.39.2","vitest":"^4.0.17","globals":"^17.1.0","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^22.19.7","@types/express":"^5.0.0","typescript-eslint":"^8.53.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.53.1","conventional-changelog-cli":"^5.0.0","@typescript-eslint/eslint-plugin":"^8.53.1"},"peerDependencies":{"typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-tron_1.1.3-beta.0_1772711868873_0.3796447912086458","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@bankofai/mcp-server-tron","version":"1.1.3","keywords":["mcp","model-context-protocol","tron","blockchain","trx","smart-contracts","ai","agent","trc20","trc721"],"author":{"name":"bankofai","email":"support@bankofai.io"},"license":"MIT","_id":"@bankofai/mcp-server-tron@1.1.3","maintainers":[{"name":"virtual_parson","email":"parson.hu@tron.network"},{"name":"hades.ye","email":"hades.ye@tron.network"},{"name":"leo_tron","email":"leo.wu@tron.network"},{"name":"roger.gan","email":"roger.gan@tron.network"},{"name":"gummy789j","email":"gummy789j@gmail.com"}],"homepage":"https://github.com/bankofai/mcp-server-tron#readme","bugs":{"url":"https://github.com/bankofai/mcp-server-tron/issues"},"bin":{"mcp-server-tron":"bin/cli.js"},"dist":{"shasum":"3622e8c45af4565a2440e1532d4008d841511c31","tarball":"https://registry.npmjs.org/@bankofai/mcp-server-tron/-/mcp-server-tron-1.1.3.tgz","fileCount":166,"integrity":"sha512-8rtabCifVHmD/SKSKqe0tH/LBEmKlyC3WIHYuhixTYd7zTXI5wegkQzv0njrWzE8CoSV+jW58uD0Jz/yieT83A==","signatures":[{"sig":"MEUCIQCQGTqwopLocUGZjMjzNq+K56T+QX7GUytkG5uWZSkFCwIgMwuqm7m0ZAhAVu4fZ79h3a73izhMDobzZdBuIxG75mw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":701233},"main":"build/index.js","type":"module","types":"./build/index.d.ts","module":"src/index.ts","engines":{"node":">=20.0.0"},"gitHead":"2826e58b2af50460df554e74eb252541068bf101","mcpName":"io.github.bankofai/mcp-server-tron","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint .","test":"vitest run","build":"tsc","start":"tsx src/index.ts","inspect":"npx @modelcontextprotocol/inspector npx tsx src/index.ts","release":"npm publish","dev:http":"tsx watch src/server/http-server.ts","lint:fix":"eslint . --fix","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","start:http":"tsx src/server/http-server.ts","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch","prepublishOnly":"npm run build","changelog:latest":"conventional-changelog -p angular -r 1 > RELEASE_NOTES.md"},"_npmUser":{"name":"roger.gan","email":"roger.gan@tron.network"},"repository":{"url":"git+https://github.com/bankofai/mcp-server-tron.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP server for TRON blockchain. Supports TRX/TRC20 transfers, smart contracts, and AI prompts.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.3","express":"^4.21.2","tronweb":"^6.1.1","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@modelcontextprotocol/sdk":"^1.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","eslint":"^9.39.2","vitest":"^4.0.17","globals":"^17.1.0","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^22.19.7","@types/express":"^5.0.0","typescript-eslint":"^8.53.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.53.1","conventional-changelog-cli":"^5.0.0","@typescript-eslint/eslint-plugin":"^8.53.1"},"peerDependencies":{"typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-tron_1.1.3_1772779465190_0.548911665749235","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@bankofai/mcp-server-tron","version":"1.1.4","keywords":["mcp","model-context-protocol","tron","blockchain","trx","smart-contracts","ai","agent","trc20","trc721"],"author":{"name":"bankofai","email":"support@bankofai.io"},"license":"MIT","_id":"@bankofai/mcp-server-tron@1.1.4","maintainers":[{"name":"virtual_parson","email":"parson.hu@tron.network"},{"name":"hades.ye","email":"hades.ye@tron.network"},{"name":"leo_tron","email":"leo.wu@tron.network"},{"name":"roger.gan","email":"roger.gan@tron.network"},{"name":"gummy789j","email":"gummy789j@gmail.com"}],"homepage":"https://github.com/bankofai/mcp-server-tron#readme","bugs":{"url":"https://github.com/bankofai/mcp-server-tron/issues"},"bin":{"mcp-server-tron":"bin/cli.js"},"dist":{"shasum":"c6e286289d97521653a4dba1c7ae8071c2d010f3","tarball":"https://registry.npmjs.org/@bankofai/mcp-server-tron/-/mcp-server-tron-1.1.4.tgz","fileCount":172,"integrity":"sha512-rcfy/GSmIi1mqD4K/IXYCP0Xfmo0VHYaM2glXGV2TlzovBvW23VPEcg+6HXuPdRCSyWSai667Gs+EnZEO1cyAg==","signatures":[{"sig":"MEUCIQDR+SD3b/sRSQ+7DIqPwTKtfVI7K4FI1SGeUUAAsWIwAgIgFl99dxKhuIN7Opgx/sc2ZX8TQB7JDIWU7se4rknHYUY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":719658},"main":"build/index.js","type":"module","types":"./build/index.d.ts","module":"src/index.ts","engines":{"node":">=20.0.0"},"gitHead":"2d9ece0ace51d25ff1eafd9c0bc23ba0c510f6da","mcpName":"io.github.bankofai/mcp-server-tron","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint .","test":"vitest run","build":"tsc","start":"tsx src/index.ts","inspect":"npx @modelcontextprotocol/inspector npx tsx src/index.ts","release":"npm publish","dev:http":"tsx watch src/server/http-server.ts","lint:fix":"eslint . --fix","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","start:http":"tsx src/server/http-server.ts","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch","prepublishOnly":"npm run build","changelog:latest":"conventional-changelog -p angular -r 1 > RELEASE_NOTES.md"},"_npmUser":{"name":"roger.gan","email":"roger.gan@tron.network"},"repository":{"url":"git+https://github.com/bankofai/mcp-server-tron.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP server for TRON blockchain. Supports TRX/TRC20 transfers, smart contracts, and AI prompts.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.3","express":"^4.21.2","tronweb":"^6.1.1","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@bankofai/agent-wallet":"^2.1.0","@modelcontextprotocol/sdk":"^1.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","eslint":"^9.39.2","vitest":"^4.0.17","globals":"^17.1.0","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^22.19.7","@types/express":"^5.0.0","typescript-eslint":"^8.53.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.53.1","conventional-changelog-cli":"^5.0.0","@typescript-eslint/eslint-plugin":"^8.53.1"},"peerDependencies":{"typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-tron_1.1.4_1773222816320_0.5580644427610968","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@bankofai/mcp-server-tron","version":"1.1.5","keywords":["mcp","model-context-protocol","tron","blockchain","trx","smart-contracts","ai","agent","trc20","trc721"],"author":{"name":"bankofai","email":"support@bankofai.io"},"license":"MIT","_id":"@bankofai/mcp-server-tron@1.1.5","maintainers":[{"name":"virtual_parson","email":"parson.hu@tron.network"},{"name":"hades.ye","email":"hades.ye@tron.network"},{"name":"leo_tron","email":"leo.wu@tron.network"},{"name":"roger.gan","email":"roger.gan@tron.network"},{"name":"gummy789j","email":"gummy789j@gmail.com"},{"name":"wzc1206","email":"david.wang@tron.network"}],"homepage":"https://github.com/bankofai/mcp-server-tron#readme","bugs":{"url":"https://github.com/bankofai/mcp-server-tron/issues"},"bin":{"mcp-server-tron":"bin/cli.js"},"dist":{"shasum":"35c3bfef888a055c088ec7e6e2c810ddcf739328","tarball":"https://registry.npmjs.org/@bankofai/mcp-server-tron/-/mcp-server-tron-1.1.5.tgz","fileCount":172,"integrity":"sha512-8fJyRFu5jcUlj8OBkYfTWx11LM4ETu7kfY12IXYuMs32gQh3ESe4EUt9xJskSl642BRMSq41CIgxpNSq5bbe4Q==","signatures":[{"sig":"MEYCIQCO5e5HBPd4G0DgaWaZXYCFG6ixG/V3JlUAW0NdgItp4QIhAOOW2ecmvrz2gECEhgzA55nJaf+yryzOkjofOIEmwNar","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":708798},"main":"build/index.js","type":"module","types":"./build/index.d.ts","module":"src/index.ts","engines":{"node":">=20.0.0"},"gitHead":"db5f3c16f0cd9074d39b4a6ec9b726a1c710c41d","mcpName":"io.github.bankofai/mcp-server-tron","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint .","test":"vitest run","build":"tsc","start":"tsx src/index.ts","inspect":"npx @modelcontextprotocol/inspector npx tsx src/index.ts","release":"npm publish","dev:http":"tsx watch src/server/http-server.ts","lint:fix":"eslint . --fix","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","start:http":"tsx src/server/http-server.ts","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch","prepublishOnly":"npm run build","changelog:latest":"conventional-changelog -p angular -r 1 > RELEASE_NOTES.md"},"_npmUser":{"name":"roger.gan","email":"roger.gan@tron.network"},"repository":{"url":"git+https://github.com/bankofai/mcp-server-tron.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP server for TRON blockchain. Supports TRX/TRC20 transfers, smart contracts, and AI prompts.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.3","express":"^4.21.2","tronweb":"^6.1.1","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@bankofai/agent-wallet":"^2.2.0","@modelcontextprotocol/sdk":"^1.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","eslint":"^9.39.2","vitest":"^4.0.17","globals":"^17.1.0","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^22.19.7","@types/express":"^5.0.0","typescript-eslint":"^8.53.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.53.1","conventional-changelog-cli":"^5.0.0","@typescript-eslint/eslint-plugin":"^8.53.1"},"peerDependencies":{"typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-tron_1.1.5_1773398725433_0.7703689261204969","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"@bankofai/mcp-server-tron","version":"1.1.6","keywords":["mcp","model-context-protocol","tron","blockchain","trx","smart-contracts","ai","agent","trc20","trc721"],"author":{"name":"bankofai","email":"support@bankofai.io"},"license":"MIT","_id":"@bankofai/mcp-server-tron@1.1.6","maintainers":[{"name":"virtual_parson","email":"parson.hu@tron.network"},{"name":"hades.ye","email":"hades.ye@tron.network"},{"name":"leo_tron","email":"leo.wu@tron.network"},{"name":"roger.gan","email":"roger.gan@tron.network"},{"name":"gummy789j","email":"gummy789j@gmail.com"},{"name":"wzc1206","email":"david.wang@tron.network"},{"name":"bobo123123hhh","email":"bobo.liu@tron.network"}],"homepage":"https://github.com/bankofai/mcp-server-tron#readme","bugs":{"url":"https://github.com/bankofai/mcp-server-tron/issues"},"bin":{"mcp-server-tron":"bin/cli.js"},"dist":{"shasum":"0bb26bb2d1a4dffd58ed52e8dfa673322d2e4152","tarball":"https://registry.npmjs.org/@bankofai/mcp-server-tron/-/mcp-server-tron-1.1.6.tgz","fileCount":175,"integrity":"sha512-JNG2PXausZPPfkwVTNYnZr5HQSg16TNfywlRA7d9Gq7b28+hzgzPcVl+3SMZaMoP37WB2oyGjpcb+V9Y6uhD+g==","signatures":[{"sig":"MEUCIAi53maVNC0iUN7lpugPyFluouFmgaUzcl3De8yomxp/AiEAmGXUdq0mHYore+vTJ8HALRn2c31GbRG5rXFWrOd4qPQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":703255},"main":"build/index.js","type":"module","types":"./build/index.d.ts","module":"src/index.ts","engines":{"node":">=20.0.0"},"gitHead":"9552ad7a204412051061e20c0f3e7447522df218","mcpName":"io.github.bankofai/mcp-server-tron","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint .","test":"vitest run","build":"tsc","start":"tsx src/index.ts","inspect":"npx @modelcontextprotocol/inspector npx tsx src/index.ts","release":"npm publish","dev:http":"tsx watch src/server/http-server.ts","lint:fix":"eslint . --fix","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","start:http":"tsx src/server/http-server.ts","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch","prepublishOnly":"npm run build","changelog:latest":"conventional-changelog -p angular -r 1 > RELEASE_NOTES.md"},"_npmUser":{"name":"roger.gan","email":"roger.gan@tron.network"},"repository":{"url":"git+https://github.com/bankofai/mcp-server-tron.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP server for TRON blockchain. Supports TRX/TRC20 transfers, smart contracts, and AI prompts.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.3","express":"^4.21.2","tronweb":"^6.1.1","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@bankofai/agent-wallet":"^2.2.0","@modelcontextprotocol/sdk":"^1.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","eslint":"^9.39.2","vitest":"^4.0.17","globals":"^17.1.0","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^22.19.7","@types/express":"^5.0.0","typescript-eslint":"^8.53.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.53.1","conventional-changelog-cli":"^5.0.0","@typescript-eslint/eslint-plugin":"^8.53.1"},"peerDependencies":{"typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-tron_1.1.6_1773839865675_0.27425610280134594","host":"s3://npm-registry-packages-npm-production"}},"1.1.7-beta":{"name":"@bankofai/mcp-server-tron","version":"1.1.7-beta","keywords":["mcp","model-context-protocol","tron","blockchain","trx","smart-contracts","ai","agent","trc20","trc721"],"author":{"name":"bankofai","email":"support@bankofai.io"},"license":"MIT","_id":"@bankofai/mcp-server-tron@1.1.7-beta","maintainers":[{"name":"virtual_parson","email":"parson.hu@tron.network"},{"name":"hades.ye","email":"hades.ye@tron.network"},{"name":"leo_tron","email":"leo.wu@tron.network"},{"name":"roger.gan","email":"roger.gan@tron.network"},{"name":"gummy789j","email":"gummy789j@gmail.com"},{"name":"wzc1206","email":"david.wang@tron.network"},{"name":"bobo123123hhh","email":"bobo.liu@tron.network"}],"homepage":"https://github.com/bankofai/mcp-server-tron#readme","bugs":{"url":"https://github.com/bankofai/mcp-server-tron/issues"},"bin":{"mcp-server-tron":"bin/cli.js"},"dist":{"shasum":"b63e0c835ac7fcf72e93f87755fdfdaeeebd5178","tarball":"https://registry.npmjs.org/@bankofai/mcp-server-tron/-/mcp-server-tron-1.1.7-beta.tgz","fileCount":175,"integrity":"sha512-gWmNOTE3Dt3dGNjT6LdJY6XQZ6hnQZ10n7BPvJGm32lQtXGSD97AXy5QVw9fYun2fleS/07UfT8xSmTi8IPjpA==","signatures":[{"sig":"MEUCIQDm/1mJkek7AlZp4Gurra8E59GzL4Cajlh1ZAYR6XBqhgIgDXnjTPw8c8fbbLHdSqfaJ6sdrtOBGY9qcuM31u8z5FI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":704561},"main":"build/index.js","type":"module","types":"./build/index.d.ts","module":"build/index.js","engines":{"node":">=20.0.0"},"gitHead":"50ac2cff45c435a1891766f81bf616893b7d8677","mcpName":"io.github.bankofai/mcp-server-tron","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint .","test":"vitest run","build":"tsc","start":"tsx src/index.ts","inspect":"npx @modelcontextprotocol/inspector npx tsx src/index.ts","release":"npm publish","dev:http":"tsx watch src/server/http-server.ts","lint:fix":"eslint . --fix","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","start:http":"tsx src/server/http-server.ts","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch","prepublishOnly":"npm run build","changelog:latest":"conventional-changelog -p angular -r 1 > RELEASE_NOTES.md"},"_npmUser":{"name":"roger.gan","email":"roger.gan@tron.network"},"repository":{"url":"git+https://github.com/bankofai/mcp-server-tron.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP server for TRON blockchain. Supports TRX/TRC20 transfers, smart contracts, and AI prompts.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.3","express":"^4.21.2","tronweb":"^6.1.1","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@bankofai/agent-wallet":"^2.3.0-beta.4","@modelcontextprotocol/sdk":"^1.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","eslint":"^9.39.2","vitest":"^4.0.17","globals":"^17.1.0","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^22.19.7","@types/express":"^5.0.0","typescript-eslint":"^8.53.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.53.1","conventional-changelog-cli":"^5.0.0","@typescript-eslint/eslint-plugin":"^8.53.1"},"peerDependencies":{"typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-tron_1.1.7-beta_1773999946204_0.3124374892893289","host":"s3://npm-registry-packages-npm-production"}},"1.1.7":{"name":"@bankofai/mcp-server-tron","version":"1.1.7","keywords":["mcp","model-context-protocol","tron","blockchain","trx","smart-contracts","ai","agent","trc20","trc721"],"author":{"name":"bankofai","email":"support@bankofai.io"},"license":"MIT","_id":"@bankofai/mcp-server-tron@1.1.7","maintainers":[{"name":"virtual_parson","email":"parson.hu@tron.network"},{"name":"hades.ye","email":"hades.ye@tron.network"},{"name":"leo_tron","email":"leo.wu@tron.network"},{"name":"roger.gan","email":"roger.gan@tron.network"},{"name":"gummy789j","email":"gummy789j@gmail.com"},{"name":"wzc1206","email":"david.wang@tron.network"},{"name":"bobo123123hhh","email":"bobo.liu@tron.network"}],"homepage":"https://github.com/bankofai/mcp-server-tron#readme","bugs":{"url":"https://github.com/bankofai/mcp-server-tron/issues"},"bin":{"mcp-server-tron":"bin/cli.js"},"dist":{"shasum":"16b5f838ec72fafaa1366d3999cde8fb91fb3307","tarball":"https://registry.npmjs.org/@bankofai/mcp-server-tron/-/mcp-server-tron-1.1.7.tgz","fileCount":175,"integrity":"sha512-wYstA0crj+7MIXJHulawl/sKJLEH6Ap0JOUYRGCDeL54lD22XYakYXcvO4uw10dIzASVdleM3Ve1yh1t83OoXw==","signatures":[{"sig":"MEQCICnufT1kPs/V3KCP70p4c5Z4nHAutUDXiqwpzp74FodnAiBRq79EUCtDh4hthkNKcpdvSPQzteOzJwGcdBOnkOtrqQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":698538},"main":"build/index.js","type":"module","types":"./build/index.d.ts","module":"build/index.js","engines":{"node":">=20.0.0"},"gitHead":"43f466a977b6ac06e6f959e5a9bf07609f72a47d","mcpName":"io.github.bankofai/mcp-server-tron","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint .","test":"vitest run","build":"tsc","start":"tsx src/index.ts","inspect":"npx @modelcontextprotocol/inspector npx tsx src/index.ts","release":"npm publish","dev:http":"tsx watch src/server/http-server.ts","lint:fix":"eslint . --fix","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","start:http":"tsx src/server/http-server.ts","version:major":"npm version major","version:minor":"npm version minor","version:patch":"npm version patch","prepublishOnly":"npm run build","changelog:latest":"conventional-changelog -p angular -r 1 > RELEASE_NOTES.md"},"_npmUser":{"name":"roger.gan","email":"roger.gan@tron.network"},"repository":{"url":"git+https://github.com/bankofai/mcp-server-tron.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP server for TRON blockchain. Supports TRX/TRC20 transfers, smart contracts, and AI prompts.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.3","express":"^4.21.2","tronweb":"^6.1.1","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@bankofai/agent-wallet":"^2.3.0","@modelcontextprotocol/sdk":"^1.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","eslint":"^9.39.2","vitest":"^4.0.17","globals":"^17.1.0","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^22.19.7","@types/express":"^5.0.0","typescript-eslint":"^8.53.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.53.1","conventional-changelog-cli":"^5.0.0","@typescript-eslint/eslint-plugin":"^8.53.1"},"peerDependencies":{"typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-tron_1.1.7_1774082101453_0.49805583861746916","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-02-08T06:46:23.696Z","modified":"2026-09-16T08:35:52.964Z","1.1.1":"2026-02-08T06:46:24.023Z","1.1.2":"2026-02-08T16:55:49.609Z","1.1.3-beta.0":"2026-03-05T11:57:49.039Z","1.1.3":"2026-03-06T06:44:25.383Z","1.1.4":"2026-03-11T09:53:36.493Z","1.1.5":"2026-03-13T10:45:25.596Z","1.1.6":"2026-03-18T13:17:45.839Z","1.1.7-beta":"2026-03-20T09:45:46.367Z","1.1.7":"2026-03-21T08:35:01.654Z"},"bugs":{"url":"https://github.com/bankofai/mcp-server-tron/issues"},"author":{"name":"bankofai","email":"support@bankofai.io"},"license":"MIT","homepage":"https://github.com/bankofai/mcp-server-tron#readme","keywords":["mcp","model-context-protocol","tron","blockchain","trx","smart-contracts","ai","agent","trc20","trc721"],"repository":{"url":"git+https://github.com/bankofai/mcp-server-tron.git","type":"git"},"description":"MCP server for TRON blockchain. Supports TRX/TRC20 transfers, smart contracts, and AI prompts.","maintainers":[{"email":"parson.hu@tron.network","name":"virtual_parson"},{"email":"roger.gan@tron.network","name":"roger.gan"},{"email":"gummy789j@gmail.com","name":"gummy789j"},{"email":"david.wang@tron.network","name":"wzc1206"},{"email":"bobo.liu@tron.network","name":"bobo123123hhh"},{"email":"zerodevblock@gmail.com","name":"zerodev0"},{"email":"leon.zhang@tron.network","name":"leonatmoon"}],"readme":"# MCP Server Tron\n\n![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)\n![TRON Network](https://img.shields.io/badge/Network-TRON-red)\n![TypeScript](https://img.shields.io/badge/TypeScript-5.8+-3178C6)\n![MCP](https://img.shields.io/badge/MCP-1.22.0+-blue)\n![TronWeb](https://img.shields.io/badge/TronWeb-6.0+-green)\n\nA 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.\n\n## Contents\n\n- [Overview](#overview)\n- [Features](#features)\n- [Supported Networks](#supported-networks)\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Configuration](#configuration)\n  - [Environment Variables](#environment-variables)\n  - [Server Configuration](#server-configuration)\n- [Usage](#usage)\n- [API Reference](#api-reference)\n  - [Tools](#tools)\n  - [Prompts](#prompts)\n- [Security Considerations](#security-considerations)\n- [Project Structure](#project-structure)\n- [License](#license)\n\n## Overview\n\nThe MCP TRON Server leverages the Model Context Protocol to provide blockchain services to AI agents. It fully supports the TRON ecosystem using `tronweb`.\n\nKey capabilities:\n\n- **Blockchain Data**: Read blocks, transactions, and chain parameters (Energy/Bandwidth costs).\n- **Smart Contracts**: Interact with any TRON smart contract (Read/Write).\n- **Tokens**: Transfer TRX and TRC20 tokens; check balances.\n- **Address Management**: Convert between Hex (0x...) and Base58 (T...) formats.\n- **Wallet Integration**: Agent-wallet-managed file-backed wallets.\n- **Multi-Network**: Seamless support for Mainnet, Nile, and Shasta.\n- **Dynamic Access Control**: Write-capable tools stay registered; `--readonly` hides them, and wallet-dependent handlers fail at execution time if no wallet is available.\n\n## Features\n\n### Blockchain Data Access\n\n- **TRON network support**: Mainnet, Nile, Shasta.\n- **Chain information**: Block number, Chain ID, RPC endpoints.\n- **Block data**: Access by number or hash.\n- **Transaction details**: Detailed info including resource usage (Energy/Bandwidth).\n- **Resource Costs**: Query current chain parameters for Energy and Bandwidth prices.\n\n### Token Services\n\n- **Native TRX**: Check balance and transfer.\n- **TRC20 Tokens**:\n  - Check balances.\n  - Transfer tokens.\n  - Get token metadata (name, symbol, decimals).\n\n### Address Services\n\n- **Format Conversion**: Convert between Hex (`41...` or `0x...`) and Base58 (`T...`) formats.\n- **Validation**: Verify if an address is valid on TRON.\n\n### Smart Contract Interactions\n\n- **Read Contract**: Call `view` and `pure` functions.\n- **Write Contract**: Execute state-changing functions.\n- **ABI Fetching**: Automatically fetches ABI from the blockchain for verified contracts.\n\n### Governance & Proposals\n\n- **Super Representatives**: List, vote, create/update witnesses, manage brokerage.\n- **Proposals**: List, view, create, approve, and delete governance proposals.\n- **Rewards**: Query and withdraw SR voting rewards.\n\n### Events & Data Queries\n\n- **Contract Events**: Query events by transaction, contract address, or block number.\n- **Account Data**: Transaction history, TRC20 transfers, internal transactions, token balances (via TronGrid).\n- **Contract Data**: Contract transaction history, internal transactions, token holder lists.\n- **Mempool**: View pending transactions and pool size.\n- **Node Info**: List connected nodes and query node details.\n\n### Staking & Resource Delegation (Stake 2.0)\n\n- **Staking**: Freeze/unfreeze TRX for Energy or Bandwidth.\n- **Delegation**: Delegate and undelegate resources to other accounts.\n- **Queries**: Available unfreeze count, withdrawable amounts, delegation details.\n\n### Wallet & Security\n\n- **Agent Wallet**: File-backed wallet storage via `agent-wallet` SDK.\n- **HD Wallet**: Supports BIP-44 derivation path `m/44'/195'/0'/0/{index}`.\n- **Signing**: Sign arbitrary messages and transactions.\n\n## Supported Networks\n\n- **Mainnet**: `mainnet` (Default)\n- **Nile Testnet**: `nile`\n- **Shasta Testnet**: `shasta`\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/) 20.0.0 or higher\n- Optional: [TronGrid API key](https://www.trongrid.io/) to avoid rate limiting on Mainnet.\n\n## Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/BofAI/mcp-server-tron.git\ncd mcp-server-tron\n\n# Install dependencies\nnpm install\n```\n\n## Configuration\n\n### Environment Variables\n\n**CRITICAL SECURITY NOTE**: For your security, **NEVER** save your private keys or mnemonics directly in the MCP configuration JSON files (like `claude_desktop_config.json` or `mcp.json`). For wallet setup, follow `agent-wallet`'s file-backed configuration and the SDK-supported `AGENT_WALLET_*` settings; use environment variables only for non-secret operational settings like `TRONGRID_API_KEY`.\n\n#### Network Configuration\n\n- `TRONGRID_API_KEY`: (Optional) Your TronGrid API key.\n  - **Why**: TRON mainnet RPCs have strict rate limits. Using an API key from [TronGrid](https://www.trongrid.io/) ensures reliable performance and higher throughput.\n  - **Usage**:\n    ```bash\n    export TRONGRID_API_KEY=\"<YOUR_TRONGRID_API_KEY_HERE>\"\n    ```\n\n#### Wallet Configuration\n\nWallets are managed through `agent-wallet` file-backed configuration. This repository no longer reads or maps legacy `TRON_PRIVATE_KEY` / `TRON_MNEMONIC` / `TRON_ACCOUNT_INDEX` wallet variables.\n\n> **Prerequisites**: Install and configure [agent-wallet](https://github.com/BofAI/agent-wallet/blob/main/doc/getting-started.md)\n\n> See [`agent-wallet`](https://github.com/BofAI/agent-wallet) for wallet file formats, local setup, and the SDK-supported `AGENT_WALLET_*` settings.\n\n### Server Configuration\n\nThe server runs on port **3001** by default in HTTP mode.\n\n## Usage\n\n### Running Locally\n\n```bash\n# Start in stdio mode (for MCP clients like Claude Desktop/Cursor)\nnpm start\n\n# Start in readonly mode (disables write tools)\nnpm start -- --readonly\n\n# Start in stateless HTTP mode (Streamable HTTP)\nnpm run start:http\n```\n\n### Docker\n\nBuild the image:\n\n```bash\ndocker build -t mcp-server-tron:test .\n```\n\nRun the container with local logs mounted:\n\n```bash\ndocker run -d \\\n  --name mcp-tron \\\n  -p 3001:3001 \\\n  -e MCP_HOST=0.0.0.0 \\\n  -e MCP_PORT=3001 \\\n  -e MCP_LOG_DIR=/app/logs \\\n  -v \"$(pwd)/logs:/app/logs\" \\\n  mcp-server-tron:test\n```\n\nDocker logs are written to the mounted `logs/` directory and are named by date, for example:\n\n- `logs/mcp-server-tron-2026-03-18-combined.log`\n- `logs/mcp-server-tron-2026-03-18-error.log`\n\n### Testing\n\nThe project includes a comprehensive test suite with unit tests and integration tests (using the Nile testnet).\n\n```bash\n# Run all tests\nnpm test\n\n# Unit tests (mocked services, no network)\nnpx vitest tests/core/tools.test.ts                    # All MCP tools registration & handlers\nnpx vitest tests/core/services/contracts.test.ts       # Contract services\nnpx vitest tests/core/services/account-resource.test.ts # Account resource services\nnpx vitest tests/core/services/staking.test.ts         # Staking services\n\n# Integration tests (real Nile RPC; write-operation coverage is skipped unless wallet support is explicitly enabled)\nnpx vitest tests/core/tools_integration.test.ts        # Full tool flow on Nile\nnpx vitest tests/core/services/multicall.test.ts       # Multicall integration\nnpx vitest tests/core/services/services.test.ts        # Services integration\n```\n\n- **Unit tests** use mocks and do not need network or wallet.\n- **Integration tests** (`tools_integration.test.ts`) call Nile RPC; most cases are read-only. Wallet-dependent handlers are exercised as runtime failures by default, while write-success paths require an explicit wallet fixture or equivalent setup.\n\n### Client Configuration\n\n#### Option A: Quick Start (Recommended)\n\nRuns the latest version directly from npm via stdio transport.\n\n**Claude Code:**\n\n```bash\nclaude mcp add mcp-server-tron -- npx -y @bankofai/mcp-server-tron\n```\n\n**Cursor** (`.cursor/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-server-tron\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@bankofai/mcp-server-tron\"],\n      \"env\": {\n        \"TRONGRID_API_KEY\": \"YOUR_KEY_HERE\"\n      }\n    }\n  }\n}\n```\n\n#### Option B: Official Hosted Server (Remote)\n\nConnect to the official hosted server at `https://tron-mcp-server.bankofai.io`. No installation required, readonly mode, stateless HTTP.\n\n**Claude Code:**\n\n```bash\nclaude mcp add -transport http mcp-server-tron https://tron-mcp-server.bankofai.io/mcp\n```\n\n**Cursor** (`.cursor/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-server-tron\": {\n      \"url\": \"https://tron-mcp-server.bankofai.io/mcp\"\n    }\n  }\n}\n```\n\n## API Reference\n\n### Tools\n\n#### Wallet & Address\n\n| Tool Name            | Description                                         | Key Parameters |\n| :------------------- | :-------------------------------------------------- | :------------- |\n| `get_wallet_address` | Get the configured wallet's address (Base58 & Hex). | -              |\n| `list_wallets`       | List all available wallets with IDs and addresses.   | -              |\n| `select_wallet`      | Switch the active wallet at runtime (agent-wallet mode). | `walletId` |\n| `convert_address`    | Convert between Hex and Base58 formats.             | `address`      |\n\n#### Network & Resources\n\n| Tool Name                | Description                             | Key Parameters |\n| :----------------------- | :-------------------------------------- | :------------- |\n| `get_chain_info`         | Get current block and chain ID.         | `network`      |\n| `get_chain_parameters`   | Get current Energy and Bandwidth costs. | `network`      |\n| `get_energy_prices`      | Query historical energy unit price.     | `network`      |\n| `get_bandwidth_prices`   | Query historical bandwidth unit price.  | `network`      |\n| `get_burn_trx`           | Query total TRX burned from fees.       | `network`      |\n| `get_supported_networks` | List available networks.                | -              |\n\n#### Blocks & Transactions\n\n| Tool Name              | Description                                | Key Parameters               |\n| :--------------------- | :----------------------------------------- | :--------------------------- |\n| `get_block`            | Fetch block by number or hash.             | `blockIdentifier`, `network` |\n| `get_latest_block`     | Get the latest block.                      | `network`                    |\n| `get_transaction`      | Get transaction details by hash.           | `txHash`, `network`          |\n| `get_transaction_info` | Get receipt/info including resource usage. | `txHash`, `network`          |\n| `get_block_by_num`     | Query block by block height.               | `num`, `network`             |\n| `get_block_by_id`      | Query block by block ID (hash).            | `value`, `network`           |\n| `get_block_by_latest_num` | Get latest N blocks (solidified).       | `num`, `network`             |\n| `get_block_by_limit_next`  | Get blocks in range [startNum, endNum). | `startNum`, `endNum`, `network` |\n| `get_now_block`        | Get the current latest block info.         | `network`                    |\n| `get_transaction_by_id` | Query transaction status/content by txID. | `value`, `network`           |\n| `get_transaction_info_by_id` | Query transaction receipt by txID.   | `value`, `network`           |\n| `get_transaction_info_by_block_num` | Get receipts for all txs in a block. | `num`, `network`     |\n| `get_approved_list`    | Query the list of accounts that signed a transaction. | `transaction`, `network` |\n| `get_block_balance`    | Get all balance change operations in a block. | `hash`, `number`, `network` |\n\n#### Broadcast & Transaction Building (Write)\n\n| Tool Name               | Description                                                        | Key Parameters                      |\n| :---------------------- | :----------------------------------------------------------------- | :---------------------------------- |\n| `create_transaction`    | Create an unsigned TRX transfer transaction.                       | `ownerAddress`, `toAddress`, `amount`, `network` |\n| `broadcast_transaction` | Broadcast a signed transaction JSON object to the TRON network.     | `transaction`, `network`           |\n| `broadcast_hex`         | Broadcast a signed protobuf-encoded transaction hex string.         | `transaction`, `network`           |\n\n#### Balances\n\n| Tool Name           | Description                             | Key Parameters                       |\n| :------------------ | :-------------------------------------- | :----------------------------------- |\n| `get_balance`       | Get TRX balance for an address.         | `address`, `network`                 |\n| `get_token_balance` | Get TRC20 token balance for an address. | `address`, `tokenAddress`, `network` |\n\n#### Transfers (Write)\n\n| Tool Name        | Description                      | Key Parameters                            |\n| :--------------- | :------------------------------- | :---------------------------------------- |\n| `transfer_trx`   | Send TRX (Native) to an address. | `to`, `amount`, `network`                 |\n| `transfer_trc20` | Send TRC20 tokens to an address. | `tokenAddress`, `to`, `amount`, `network` |\n\n#### Smart Contracts\n\n| Tool Name            | Description                                               | Key Parameters                                                |\n| :------------------- | :-------------------------------------------------------- | :------------------------------------------------------------ |\n| `read_contract`     | Call read-only (`view`/`pure`) functions.                  | `contractAddress`, `functionName`, `args`, `network`          |\n| `get_contract`      | Get raw contract metadata (ABI, bytecode) from chain.    | `contractAddress`, `network`                                 |\n| `get_contract_info` | Get ABI, function list and raw metadata.                  | `contractAddress`, `network`                                  |\n| `fetch_contract_abi`| Fetch ABI entry array for verified contracts.             | `contractAddress`, `network`                                  |\n| `multicall`         | Execute multiple read calls in one batch.                 | `calls`, `network`                                            |\n| `write_contract`    | Execute state-changing contract functions.                | `contractAddress`, `functionName`, `args`, `value`, `network` |\n| `deploy_contract`   | Deploy a smart contract with ABI and bytecode.           | `abi`, `bytecode`, `args`, `network`                          |\n| `estimate_energy`   | Estimate energy consumption for a contract call.         | `address`, `functionName`, `abi`, `network`                   |\n| `update_contract_setting` | Update consume_user_resource_percent (creator only). | `contractAddress`, `consumeUserResourcePercent`, `network`     |\n| `update_energy_limit`    | Update originEnergyLimit (creator only).             | `contractAddress`, `originEnergyLimit`, `network`              |\n| `clear_abi`         | Clear on-chain ABI metadata (creator only).               | `contractAddress`, `network`                                  |\n\n#### Account Management\n\n| Tool Name                       | Description                                                     | Key Parameters                                         |\n| :------------------------------ | :-------------------------------------------------------------- | :----------------------------------------------------- |\n| `get_account`                   | Get full account info (balance, resources, permissions, etc.).   | `address`, `network`                                   |\n| `get_account_balance`           | Get TRX balance at a specific block height.                     | `address`, `blockHash`, `blockNumber`, `network`       |\n| `generate_account`              | Generate a new TRON keypair offline.                            | -                                                      |\n| `validate_address`              | Validate a TRON address and detect format.                      | `address`                                              |\n| `get_account_net`               | Get bandwidth information for an account.                       | `address`, `network`                                   |\n| `get_account_resource`          | Get energy, bandwidth, and delegation details.                  | `address`, `network`                                   |\n| `get_delegated_resource`        | Query delegated resources between two accounts (Stake 2.0).     | `fromAddress`, `toAddress`, `network`                  |\n| `get_delegated_resource_index`  | Query delegation index (who delegated to/from this account).    | `address`, `network`                                   |\n| `create_account`                | Activate a new account on-chain (costs bandwidth).              | `address`, `network`                                   |\n| `update_account`                | Set account name (can only be set once).                        | `accountName`, `network`                               |\n| `account_permission_update`     | Update multi-signature permissions.                             | `ownerPermission`, `activePermissions`, `network`      |\n\n#### Staking (Stake 2.0)\n\n| Tool Name                       | Description                                                       | Key Parameters                  |\n| :------------------------------ | :---------------------------------------------------------------- | :----------------------------- |\n| `freeze_balance_v2`             | Freeze TRX to get resources (BANDWIDTH/ENERGY).                   | `amount`, `resource`, `network` |\n| `unfreeze_balance_v2`           | Unfreeze TRX to release resources.                               | `amount`, `resource`, `network` |\n| `withdraw_expire_unfreeze`      | Withdraw expired unfrozen balance back to available.             | `network`                      |\n| `cancel_all_unfreeze_v2`        | Re-stake pending unfreezes; withdraw expired ones.               | `network`                      |\n| `get_available_unfreeze_count`  | Get remaining unstake operation quota (max 32).                  | `address`, `network`           |\n| `get_can_withdraw_unfreeze_amount` | Get withdrawable TRX from unfreeze at a timestamp.            | `address`, `timestampMs`, `network` |\n\n#### Account resource (Stake 2.0 delegation)\n\n| Tool Name                                | Description                                                    | Key Parameters                                    |\n| :--------------------------------------- | :------------------------------------------------------------- | :----------------------------------------------- |\n| `delegate_resource`                      | Delegate BANDWIDTH/ENERGY to another address.                   | `receiverAddress`, `amount`, `resource`, `network` |\n| `undelegate_resource`                   | Revoke delegated resources.                                   | `receiverAddress`, `amount`, `resource`, `network` |\n| `get_can_delegated_max_size`             | Get max delegatable amount for an address.                     | `address`, `resource`, `network`                  |\n| `get_delegated_resource_v2`              | Get delegation details between two addresses.                  | `fromAddress`, `toAddress`, `network`             |\n| `get_delegated_resource_account_index_v2`| Get who delegated to/from an address.                          | `address`, `network`                             |\n\n#### Governance (Super Representatives)\n\n| Tool Name                  | Description                                                      | Key Parameters                  |\n| :------------------------- | :--------------------------------------------------------------- | :------------------------------ |\n| `list_witnesses`           | Get the full list of all Super Representatives on the network.   | `network`                       |\n| `get_paginated_witnesses`  | Get a paginated list of current active Super Representatives.    | `offset`, `limit`, `network`    |\n| `get_next_maintenance_time`| Get the next SR maintenance (vote tally) time.                   | `network`                       |\n| `get_reward`               | Get unclaimed SR voting reward for an address.                   | `address`, `network`            |\n| `get_brokerage`            | Get SR brokerage ratio (reward split with voters).               | `address`, `network`            |\n| `create_witness`           | Apply to become a Super Representative candidate.                | `url`, `network`                |\n| `update_witness`           | Update Super Representative URL.                                 | `url`, `network`                |\n| `vote_witness`             | Vote for Super Representatives with frozen TRX.                  | `votes`, `network`              |\n| `withdraw_balance`         | Withdraw accumulated SR block rewards.                           | `network`                       |\n| `update_brokerage`         | Update SR brokerage ratio.                                       | `brokerage`, `network`          |\n\n#### Proposals\n\n| Tool Name          | Description                                 | Key Parameters                         |\n| :----------------- | :------------------------------------------ | :------------------------------------- |\n| `list_proposals`   | List all network governance proposals.      | `network`                              |\n| `get_proposal`     | Get details of a specific proposal by ID.   | `proposalId`, `network`               |\n| `create_proposal`  | Create a new governance proposal (SR only). | `parameters`, `network`               |\n| `approve_proposal` | Approve or revoke a proposal (SR only).     | `proposalId`, `hasApproval`, `network` |\n| `delete_proposal`  | Delete a proposal (creator only).           | `proposalId`, `network`               |\n\n#### Events\n\n| Tool Name                       | Description                                           | Key Parameters                           |\n| :------------------------------ | :---------------------------------------------------- | :--------------------------------------- |\n| `get_events_by_transaction_id`  | Get all events emitted by a specific transaction.     | `transactionId`, `onlyConfirmed`, `network` |\n| `get_events_by_contract_address`| Get events emitted by a specific contract.            | `contractAddress`, `eventName`, `network` |\n| `get_events_by_block_number`    | Get all events emitted in a specific block.           | `blockNumber`, `network`                 |\n| `get_events_of_latest_block`    | Get all events from the latest block.                 | `network`                                |\n\n#### Account Data (TronGrid)\n\n| Tool Name                          | Description                                            | Key Parameters                         |\n| :--------------------------------- | :----------------------------------------------------- | :------------------------------------- |\n| `get_account_info`                 | Get account summary from TronGrid.                     | `address`, `network`                   |\n| `get_account_transactions`         | Get transaction history for an account.                | `address`, `limit`, `network`          |\n| `get_account_trc20_transactions`   | Get TRC20 transfer history for an account.             | `address`, `limit`, `network`          |\n| `get_account_internal_transactions`| Get internal transaction history for an account.       | `address`, `limit`, `network`          |\n| `get_account_trc20_balances`       | Get all TRC20 token balances for an account.           | `address`, `network`                   |\n\n#### Contract Data (TronGrid)\n\n| Tool Name                          | Description                                           | Key Parameters                         |\n| :--------------------------------- | :---------------------------------------------------- | :------------------------------------- |\n| `get_contract_transactions`        | Get transaction history for a contract.               | `contractAddress`, `limit`, `network`  |\n| `get_contract_internal_transactions`| Get internal transactions for a contract.            | `contractAddress`, `limit`, `network`  |\n| `get_trc20_token_holders`          | Get holder list for a TRC20 token.                    | `contractAddress`, `limit`, `network`  |\n\n#### Mempool\n\n| Tool Name                       | Description                                              | Key Parameters        |\n| :------------------------------ | :------------------------------------------------------- | :-------------------- |\n| `get_pending_transactions`      | Get transaction IDs in the pending pool (mempool).       | `network`             |\n| `get_transaction_from_pending`  | Get a specific transaction from the pending pool.        | `txId`, `network`     |\n| `get_pending_size`              | Get the current size of the pending transaction pool.    | `network`             |\n\n#### Node\n\n| Tool Name      | Description                                           | Key Parameters |\n| :------------- | :---------------------------------------------------- | :------------- |\n| `list_nodes`   | List all connected node addresses on the network.     | `network`      |\n| `get_node_info`| Get detailed info about the connected full node.      | `network`      |\n\n#### Signing & Security\n\n| Tool Name      | Description                                | Key Parameters |\n| :------------- | :----------------------------------------- | :------------- |\n| `sign_message` | Sign a message with the configured wallet. | `message`      |\n\n### Prompts\n\n- `prepare_transfer`: Interactive guide to prepare TRX/TRC20 transfers.\n- `interact_with_contract`: Step-by-step guide to interact with a smart contract.\n- `diagnose_transaction`: Analyze a transaction hash for status and errors.\n- `explain_tron_concept`: Explain a TRON blockchain concept with examples.\n- `analyze_wallet`: Comprehensive report of wallet assets.\n- `check_network_status`: Report on network health and resource costs.\n\n## Security Considerations\n\n- **Private Keys & Mnemonics**: Keep wallet material inside `agent-wallet` file-backed configuration instead of plain text MCP config files. This repository no longer maps legacy `TRON_*` wallet variables; use `AGENT_WALLET_*` only when following the `agent-wallet` SDK documentation.\n- **Shared Machines**: Be aware that plain environment variables can be visible to other users via `/proc` or system monitoring tools.\n- **Testnets**: Always test on Nile or Shasta before performing operations on Mainnet.\n- **Approvals**: Be cautious when approving token allowances via `write_contract`. Only approve what is necessary.\n\n## Project Structure\n\n```\nmcp-server-tron/\n├── src/\n│   ├── core/\n│   │   ├── chains.ts           # Network definitions\n│   │   ├── tools/              # MCP Tool definitions (split by category)\n│   │   ├── prompts.ts          # MCP Prompt definitions\n│   │   └── services/           # Business logic (TronWeb integration)\n│   │       ├── wallet.ts       # Wallet management\n│   │       ├── transfer.ts     # Transfer logic\n│   │       ├── contracts.ts    # Contract logic\n│   │       ├── address.ts      # Address conversion\n│   │       └── ...\n│   ├── server/                 # HTTP/Stdio server setup\n│   └── index.ts                # Entry point\n├── tests/                      # Unit tests\n└── package.json\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}