TON Dev Skills MCP Server
Provides tools for security scanning, migration, compilation, deployment, scaffolding, and test generation for TON smart contracts, enabling AI agents to audit, migrate, and develop on the TON blockchain.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TON Dev Skills MCP Serveraudit my-contract.fc"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TON Dev Skills is a comprehensive development and security platform for the TON blockchain. It scans FunC, Tact, and Tolk contracts for vulnerabilities, migrates Solidity contracts to TON-native equivalents, and integrates directly into your AI-powered IDE via MCP.
โจ What You Get
Feature | Description |
Security Scanner | 50+ rules across 21 categories โ from reentrancy to TEP compliance |
Migration Engine | Convert ERC-20, ERC-721, ERC-1155 and more from EVM โ TON (Jettons, NFTs, SBTs) |
MCP Server | Use scanner, migration, and contract tools directly in Claude, Cursor, Windsurf, etc. |
CLI | Audit, compile, deploy, scaffold, and test-generate from the command line |
Contract Templates | Production-ready Jetton, NFT, DAO, DEX, and multisig templates |
Related MCP server: Solana Web3.js MCP Server
๐ Getting Started
# Install from npm
npm install -g @tesserae/ton-dev-skills
# Run your first audit
ton-dev audit ./contracts/my-contract.fc
# Scaffold a new contract
ton-dev scaffold jetton --name "MyToken" --symbol "MTK"
# Compile a contract
ton-dev compile ./contracts/my-contract.fc
# Start the MCP server (for Claude, Cursor, etc.)
ton-dev mcp start๐ Full Getting Started Guide โ
๐ Scanner Categories
The security scanner checks 50+ rules across these categories:
Access Control | Arithmetic Safety | Bounced Messages | Cell Overflow |
Code Injection | Compilation | Data Validation | Denial of Service |
External Messages | Gas & Fees | Integer Handling | Randomness |
Replay Protection | Reentrancy | State Management | Storage |
TEP Compliance | Timestamp | Upgradeability | TVM Internals |
Cross-Contract Safety |
๐ Sample Output
$ ton-dev audit contracts/my-jetton.fc
TON Dev Skills โ Security Audit
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Contract: contracts/my-jetton.fc
Language: FunC
Rules: 53 checked
โโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโ
โ Severity โ Finding โ Line โ
โโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโค
โ ๐ด HIGH โ Missing sender validation on โ L42 โ
โ โ internal_transfer handler โ โ
โโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโค
โ ๐ก MED โ No bounce handler for failed โ L87 โ
โ โ token transfers โ โ
โโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโค
โ ๐ต LOW โ Gas estimation missing on โ L103 โ
โ โ cross-contract call โ โ
โโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโค
โ ๐ข INFO โ Consider TEP-74 metadata โ L12 โ
โ โ extension for discoverability โ โ
โโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโ
Summary: 1 high ยท 1 medium ยท 1 low ยท 1 info
Full report: ./audit-report-1708099200.json๐ Migration Example
$ ton-dev migrate --from solidity --contract contracts/MyToken.sol
TON Dev Skills โ Migration Engine
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Source: contracts/MyToken.sol (ERC-20)
Target: Jetton (TEP-74) + Jetton Wallet (TEP-89)
Language: Tact
โ
Token metadata mapped (name, symbol, decimals)
โ
Mint/burn logic converted to Jetton master ops
โ
Transfer โ internal_transfer + transfer_notification
โ
Approval pattern removed (not applicable on TON)
โ
TEP-74 compliance verified
โ
Security audit passed (0 high, 0 medium findings)
Output: ./output/my-token-jetton.tact
./output/my-token-wallet.tact
./output/migration-report.md๐ ๏ธ CLI Commands
Command | Description | Plan |
| Security audit a contract or directory | Free |
| Compile a FunC, Tact, or Tolk contract | Free |
| Generate a contract from template | Free |
| Initialize a TON project | Free |
| Deploy a compiled contract | Free |
| Explain a TVM exit code | Free |
| Estimate gas usage | Free |
| Migrate an EVM contract to TON | Pro |
| Generate test cases | Pro |
| Start the MCP server | Pro |
๐ค MCP Integration
Add to your Claude Desktop or Cursor config:
{
"mcpServers": {
"ton-dev": {
"command": "ton-dev",
"args": ["mcp", "start"]
}
}
}Then ask your AI assistant things like:
"Audit this FunC contract for security issues"
"Migrate this ERC-20 to a TON Jetton"
"Scaffold a new NFT collection contract"
"Check if this contract is TEP-74 compliant"
๐ MCP Server Docs โ
๐ฐ Pricing
Free | Pro | Enterprise | |
Security Audits | 5/day | Unlimited | Unlimited |
Scanner Rules | 50+ | 50+ | 50+ + custom rules |
Migration Engine | โ | โ | โ |
MCP Server | โ | โ | โ |
Contract Templates | Basic | All | All + custom |
CLI Tools | Core (audit, compile, scaffold, deploy, debug, gas) | Full suite | Full suite |
Support | Community | Priority | Dedicated |
Price | $0 | $29/mo | Contact us |
๐ Documentation
๐ Links
๐ License
MIT โ see LICENSE for details.
Core scanner rules and migration logic are proprietary. The CLI, MCP server interface, and this repository are open source.
This server cannot be deployed
Maintenance
Related MCP Connectors
AI agent skills marketplace โ token-efficient skill search & execution
- SkilderOAuthai.skilder
One place to build, share, and govern the skills and tools your AI agents use at work.
Git-backed platform for skills, tools, and context for AI agents
The everything store for AI agents: a skill marketplace on Solana where agents hire each other.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to verify, scan, and check on-chain security certifications for AI agent skills to ensure they are safe from malicious patterns. It provides native tools for interacting with the Skvil network's community-powered reputation system and immutable blockchain-based trust records.761MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the Solana blockchain, manage accounts and tokens, and develop and deploy smart contracts end-to-end.4-
- FlicenseAqualityDmaintenanceEnables AI assistants to deploy, initialize, and upgrade NEAR smart contracts with cost estimation and status checks.5-
- AlicenseNot gradedqualityCmaintenanceEnables LLMs to compile and verify Tolk smart contract code for the TON blockchain.1MIT