Skip to main content
Glama
TegroTON

Tegro Finance DEX MCP Server

Official
by TegroTON

Tegro Finance DEX — MCP server

Tegro Finance DEX MCP

npm npm downloads CI MCP License: MIT Telegram X

Tegro Finance MCP — a TON DeFi / DEX Model Context Protocol server. It lets an AI assistant (Claude, Cursor, ChatGPT, …) read live Tegro Finance DEX data on TONpools, token prices, swap quotes and liquid‑staking (stgTON) rates — in plain language. AI access to live Tegro TON DEX data, with no wallet permissions.

Read‑only & non‑custodial. No API keys, no wallet, no signing — nothing that can move funds. It only reads the public Tegro Finance API. Just run it.

Tools

Tool

What it does

tegro_dex_pools

All liquidity pools — reserves, fees, TVL, APYs

tegro_dex_pools_for_token

Pools that contain a given token

tegro_dex_assets

The tradable‑token registry

tegro_dex_token

Price / holders / liquidity / trust score for a token

tegro_dex_quote_swap

Quote an exact‑in swap (read‑only; no tx built)

tegro_staking_pools

Liquid‑staking pools (stgTON & others) + APY

tegro_staking_rate

Live stgTON→TON rate for a pool

Related MCP server: TON BLOCKCHAIN MCP

Install

Requires Node.js ≥ 18. No account, no keys, no env — the whole command is just:

npx -y @tegroton/tegro-finance-mcp

Wire that into any MCP client:

Claude Desktop

claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "tegro-finance": { "command": "npx", "args": ["-y", "@tegroton/tegro-finance-mcp"] }
  }
}

Claude Code

claude mcp add tegro-finance -- npx -y @tegroton/tegro-finance-mcp

Cursor

.cursor/mcp.json (project) or Settings → MCP → Add:

{
  "mcpServers": {
    "tegro-finance": { "command": "npx", "args": ["-y", "@tegroton/tegro-finance-mcp"] }
  }
}

Windsurf · VS Code (Cline) · ChatGPT · any MCP client

Same entry — command: "npx", args: ["-y", "@tegroton/tegro-finance-mcp"], no env. Add it to the client's MCP-servers list (Windsurf: Cascade MCP config; VS Code: Cline → MCP Servers; ChatGPT: Developer mode / MCP). For a ChatGPT custom GPT instead, see integrations/chatgpt-gpt.md.

What you can ask

  • "What are the top Tegro Finance pools by TVL right now?"

  • "Quote 100 TON → USDT on Tegro and show the price impact."

  • "What's the current stgTON liquid-staking APY and rate?"

  • "Show price, holders and liquidity for token <address>."

  • "Which Tegro pools include <token>?"

How it works

Thin wrapper over the official @tegroton/tegro-finance SDK, which reads the public Tegro Finance API. The SDK is non‑custodial: building or signing a real swap happens in the user's own wallet and is intentionally not part of this read‑only server.

Tegro Finance ecosystem

Other AI surfaces

Same read-only API, every assistant — see integrations/: llms.txt, an agent guide, a curated OpenAPI, a ChatGPT custom-GPT recipe, and Hermes/function-calling tools. llms.txt is live at https://tegro.finance/llms.txt.

Community

Telegram @tegrofinance · X @TegroDEX

Security

Read‑only. No keys, no signing, no funds. Outbound HTTPS only to the Tegro Finance API. See SECURITY.md.

Develop

npm install
npm run build
node dist/index.js   # stdio MCP server

MIT © TegroTON

Available Tools

7 tools
tegro_dex_assetsTegro Finance token registryA

The list of tradable tokens (symbol, decimals, contract address, flags).

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided; description only states output structure without behavioral details (e.g., pagination, rate limits). Adequate but minimal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, no wasted words. Efficient and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Description is sufficient for a simple list tool with no parameters. Could mention if result is paginated or contains all tokens, but not critical.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema has zero parameters (100% coverage). Description adds meaning by specifying output fields, which is useful for an agent.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it lists tradable tokens with specific fields (symbol, decimals, contract address, flags). Distinguishes from sibling tools like tegro_dex_token which likely retrieves a single token.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool vs alternatives like tegro_dex_token. Lacks context for selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

tegro_dex_poolsList Tegro Finance DEX poolsB

All liquidity pools with reserves, fees, LP supply, USD TVL and APYs. The TON sentinel address is EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided; description only states 'All liquidity pools' and a sentinel address. Lacks disclosure of rate limits, pagination, or data freshness. Mutation behavior not applicable, but still minimal transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no redundancy. First sentence clearly lists output contents; second sentence provides a sentinel address, which may be extraneous but not harmful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, so description must detail return values. Lists fields but does not specify structure (e.g., array vs object) or pagination. Adequate for a simple list but missing some context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters in input schema (0 params), so schema coverage is 100% trivially. Description adds value by listing returned data fields, compensating for lack of output schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it lists all liquidity pools and enumerates specific data fields (reserves, fees, LP supply, USD TVL, APYs). It is distinct from siblings like tegro_dex_pools_for_token but does not explicitly differentiate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives. Does not mention any prerequisites or intended use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

tegro_dex_pools_for_tokenPools for a tokenB

Liquidity pools that contain the given token (by jetton master address).

ParametersJSON Schema
NameRequiredDescriptionDefault
tokenAddressYesJetton master address (EQ…/UQ…)

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description should disclose behavioral traits. However, it only states what the tool returns without mentioning permissions, rate limits, or safety. While it implies a read operation, this is not explicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with no wasted words. It is front-loaded with the key action and resource.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, the description is adequate for a simple parameter query. However, it lacks details on the structure of returned pools, which could be provided for completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema covers the single parameter with a description ('Jetton master address (EQ…/UQ…)'). The description adds context ('by jetton master address') but does not provide additional meaning beyond what the schema already offers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves liquidity pools containing a specific token, using the jetton master address. It distinguishes itself from sibling tools like 'tegro_dex_pools' (all pools) and 'tegro_dex_token' (token info) by specifying the token-specific filter.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives. The description implies usage for finding pools by token, but does not mention when to choose other tools like 'tegro_dex_pools' or 'tegro_dex_token'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

tegro_dex_quote_swapQuote a swap (read-only)A

Simulate an exact-in swap: how much of the ask token you'd receive for a given amount of the offer token. No transaction is built or signed.

ParametersJSON Schema
NameRequiredDescriptionDefault
amountYesHuman amount of the offer token, e.g. 1.5
decimalsNoOffer token decimals (default 9)
slippageNoSlippage tolerance, e.g. 0.01 = 1% (default 0.01)
askAddressYesToken you want
offerAddressYesToken you give (use EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c for TON)

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It conveys the simulation nature and lack of transaction execution, but doesn't disclose behavior around slippage handling, error responses, or whether it returns the best route. Adequate but not detailed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence that front-loads the core purpose. No wasted words; every part is informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description only vaguely hints at the return value ('how much you'd receive') without specifying format (number vs object), additional fields (price impact, fee), or error behavior. This leaves agents guessing about the response structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the input schema already documents each parameter. The description adds no significant parameter-level detail beyond noting the TON address convention for offerAddress. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states 'Simulate an exact-in swap' and specifies the input/output relationship (how much ask token for offer amount). It clearly distinguishes from sibling tools like tegro_dex_assets or tegro_dex_pools by focusing on quoting a swap.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly states this is read-only ('No transaction is built or signed'), implying it's for estimation before execution. It doesn't explicitly exclude use cases or provide alternatives, but the context from sibling tools makes the purpose clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

tegro_dex_tokenToken market dataA

Price, holders, liquidity, market cap and trust score for one token.

ParametersJSON Schema
NameRequiredDescriptionDefault
addressYesJetton master address

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden; it explains what data is returned but lacks details on side effects, safety, or constraints like read-only nature or rate limits. It does not contradict any annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that conveys core functionality without redundancy or unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, the description lists key return fields. It is adequate for a simple read tool with one parameter, though it could elaborate on output structure or error handling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema coverage is 100% with one parameter ('address') clearly described. The tool description adds no further semantic detail beyond the schema, warranting the baseline score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it provides 'Price, holders, liquidity, market cap and trust score for one token,' which is specific and distinguishes it from sibling tools like 'tegro_dex_assets' (listing) and 'tegro_dex_pools_for_token' (pools).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, no instructions on prerequisites or conditions, and no explicit 'when not to use' advice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

tegro_staking_poolsLiquid staking poolsB

Tegro liquid-staking pools (stgTON and others): APY, min stake, active flag.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full burden. It discloses that the tool returns APY, min stake, and active flag for pools. However, it does not mention data freshness, caching behavior, or whether the list is filtered (e.g., only active pools). For a simple read-only tool with no parameters, this is adequate but not fully transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence that front-loads the resource ('Tegro liquid-staking pools') and immediately lists the key data points. No wasted words; every part earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is fairly complete for a simple listing tool with no parameters, but it lacks explicit mention that it returns a list of all pools (implied by 'pools' plural) and does not clarify if filtering by active status is possible. Without an output schema, the agent might need more detail about the response structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has no parameters, so schema description coverage is 100%. The description adds meaning by specifying the output fields (APY, min stake, active flag), which is essential since the schema is empty. Given the 0-param baseline of 4, the description fulfills this role.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the resource ('Tegro liquid-staking pools') and lists the key fields returned (APY, min stake, active flag). However, it lacks an explicit verb like 'list' or 'retrieve', and the phrase 'and others' is vague. It is distinct from sibling tools like 'tegro_staking_rate' which likely returns a single rate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. Sibling tools such as 'tegro_dex_pools' and 'tegro_staking_rate' exist, but the description does not clarify the intended use case or conditions for choosing this tool over others.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

tegro_staking_rateLiquid staking rateB

Live rate for a staking pool — price is the stgTON→TON rate (1e9 fixed point) and only appreciates.

ParametersJSON Schema
NameRequiredDescriptionDefault
masterAddressYesStaking master, e.g. stgTON EQC-DUl20SfQFVH34cky8N76la1K0Uu5UWjel5IEn7mjIrfc

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description mentions the rate 'only appreciates' and the fixed-point representation (1e9), providing some behavioral insight. However, without annotations, it omits details like authentication needs or safety implications.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence delivers the core purpose and key detail ('price is the stgTON→TON rate and only appreciates') efficiently. No redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given low complexity (one param, no output schema), the description covers the essential meaning. However, it could mention the response format or additional fields for completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with a single parameter 'masterAddress' described. The description adds minor context ('Staking master, e.g. stgTON...') but does not significantly enhance beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool provides a 'Live rate for a staking pool' and specifies the price field meaning. It distinguishes from sibling tools like tegro_staking_pools (which lists pools) and DEX tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool vs alternatives. The description implies usage for getting a live rate, but fails to mention exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

A3.7/5.0
Disambiguation5/5

Each tool has a distinct purpose: asset listing, pool listing, pool filtering by token, swap quoting, token details, staking pools, and staking rate. No overlap in functionality.

Naming Consistency5/5

All tools follow the pattern tegro_{domain}_{descriptive_noun} (e.g., tegro_dex_assets, tegro_staking_pools). Consistent prefixing and naming convention.

Tool Count5/5

With 7 tools covering both DEX and staking functionalities, the count is well-scoped. Each tool serves a clear purpose without redundancy or unnecessary bloat.

Completeness4/5

The tool set covers key informational aspects of a DEX (assets, pools, quotes, token info) and staking (pools, rates). Missing write/transaction capabilities, but that appears intentional for a read-only server.

Maintenance

ActivityStale
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    TON Data MCP Server — real-time blockchain data for AI agents. Provides wallet balances, token prices, STON.fi liquidity pools, market overview, transactions, and network state. 6 MCP tools, free tier, Docker-ready.
    6
  • A
    license
    Not graded
    quality
    B
    maintenance
    A read-only MCP server for Hyperliquid that provides public market data (prices, order books, funding) and any wallet's positions, orders, and fills via MCP tools, without requiring a private key.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A read-only MCP server for querying Hyperliquid perp markets, funding rates, order books, candles, and account positions/fills/funding for any address, without needing API keys or wallets.
    8
    55
    1
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TegroTON/tegro-finance-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server