Skip to main content
Glama

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: Vibe Coder 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

ton-dev audit <path>

Security audit a contract or directory

Free

ton-dev compile <file>

Compile a FunC, Tact, or Tolk contract

Free

ton-dev scaffold <template>

Generate a contract from template

Free

ton-dev init

Initialize a TON project

Free

ton-dev deploy <boc>

Deploy a compiled contract

Free

ton-dev debug <exit-code>

Explain a TVM exit code

Free

ton-dev gas estimate <boc>

Estimate gas usage

Free

ton-dev migrate <file>

Migrate an EVM contract to TON

Pro

ton-dev test-gen <file>

Generate test cases

Pro

ton-dev mcp start

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

πŸ“„ 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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers