Tapp Exchange MCP Server
Click on "Install 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., "@Tapp Exchange MCP Servershow me the top 5 pools by TVL"
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.
Tapp Exchange MCP Server
An MCP (Model Context Protocol) server implementation for Tapp Exchange, a next-generation decentralized exchange built on Aptos blockchain.
Overview
Tapp Exchange is a decentralized trading platform that brings together innovations from leading DEX protocols. Built on concepts from Uniswap v4, Tapp offers a powerful hooks system and advanced singleton vault design for unmatched capital efficiency.
This MCP server provides AI agents like Claude with the ability to interact with Tapp Exchange, enabling:
Pool Management: Query available pools, get detailed pool information
Trading Operations: Execute swaps on AMM, CLMM, and Stable pools
Liquidity Management: Add/remove liquidity, create new pools
Position Tracking: Monitor liquidity positions and collect fees
Related MCP server: SEI DEX MCP
Features
Pool Types Supported
AMM Pools: Traditional Automated Market Maker pools
CLMM Pools: Concentrated Liquidity Market Maker pools (like Uniswap v3)
Stable Pools: Optimized for stablecoin trading with low slippage
Core Functionality
Pool discovery and analytics
Multi-pool type swap execution
Liquidity provision and management
Fee collection from positions
Position monitoring and analytics
Installation
npm install @tamago-labs/tapp-exchange-mcpConfiguration
Create a .env file in your project root:
# Network Configuration
TAPP_NETWORK=mainnet # or testnet, devnet
# Optional: Custom RPC URL
# TAPP_RPC_URL=https://fullnode.mainnet.aptoslabs.com/v1
# Optional: Private Key (if not provided, a new random key will be generated)
# TAPP_PRIVATE_KEY=your_private_key_here
# Optional: API Configuration
# TAPP_API_TIMEOUT=30000Usage
As an MCP Server
npx tapp-exchange-mcpIntegration with Claude Desktop
Add to your Claude Desktop MCP configuration:
{
"mcpServers": {
"tapp-exchange": {
"command": "npx",
"args": ["@tamago-labs/tapp-exchange-mcp"]
}
}
}Programmatic Usage
import { TappAgent } from '@tamago-labs/tapp-exchange-mcp';
const agent = new TappAgent();
// Get available pools
const pools = await agent.getPools({
page: 1,
size: 10,
sortBy: 'tvl'
});
// Execute a swap
const swapResult = await agent.swapAMM({
poolId: 'pool_address',
a2b: true,
fixedAmountIn: true,
amount0: 1000000,
amount1: 0
});Available Tools
Pool Management
tapp_get_pools- Get paginated list of available poolstapp_get_pool_info- Get detailed information about a specific pool
Swap Operations
tapp_get_swap_estimate- Estimate swap amounts and price impacttapp_get_swap_route- Get optimal route between two tokenstapp_swap_amm- Execute swap on AMM pooltapp_swap_clmm- Execute swap on CLMM pooltapp_swap_stable- Execute swap on Stable pool
Liquidity Management
tapp_create_amm_pool_and_add_liquidity- Create new AMM pool with initial liquiditytapp_create_clmm_pool_and_add_liquidity- Create new CLMM pool with initial liquiditytapp_create_stable_pool_and_add_liquidity- Create new Stable pool with initial liquiditytapp_add_amm_liquidity- Add liquidity to existing AMM pooltapp_add_clmm_liquidity- Add liquidity to existing CLMM pooltapp_add_stable_liquidity- Add liquidity to existing Stable pooltapp_remove_single_amm_liquidity- Remove liquidity from single AMM positiontapp_remove_multiple_amm_liquidity- Remove liquidity from multiple AMM positionstapp_remove_single_clmm_liquidity- Remove liquidity from single CLMM positiontapp_remove_multiple_clmm_liquidity- Remove liquidity from multiple CLMM positionstapp_remove_single_stable_liquidity- Remove liquidity from single Stable positiontapp_remove_multiple_stable_liquidity- Remove liquidity from multiple Stable positions
Position Management
tapp_get_positions- Get user's liquidity positionstapp_collect_fee- Collect fees from liquidity positions
Testing
Run the included test scripts to verify functionality:
# Test pool operations
npm run test:pools
# Test swap operations
npm run test:swap
# Test liquidity operations
npm run test:liquidityDevelopment
Building
npm run buildRunning Tests
npm testArchitecture
The MCP server is built with:
TappAgent: Core agent class that interfaces with Tapp Exchange SDK
MCP Tools: Individual tools for each exchange operation
Type Safety: Full TypeScript support with comprehensive type definitions
Error Handling: Robust error handling and validation
Key Management: Automatic key format detection and validation
Key Features
Multi-Pool Support
AMM: Traditional x*y=k pools
CLMM: Concentrated liquidity with custom price ranges
Stable: Stablecoin-optimized pools with low slippage
Advanced Liquidity Management
Single and batch position management
Automated fee collection
Position analytics and monitoring
Safety Features
Input validation and sanitization
Transaction simulation before execution
Slippage protection
Gas estimation and optimization
Dependencies
@aptos-labs/ts-sdk- Aptos blockchain SDK@tapp-exchange/sdk- Official Tapp Exchange SDK@modelcontextprotocol/sdk- MCP frameworkzod- Runtime type validation
Contributing
Contributions are welcome! Please read our contributing guidelines and submit pull requests for any improvements.
License
MIT License - see LICENSE file for details.
Links
Support
For questions and support:
GitHub Issues: Create an issue
Documentation: Tapp Exchange Docs
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to interact with Saros DeFi through natural language, providing tools for liquidity pool management, portfolio analytics, farming positions, and swap quotes on Solana.5MIT
- Flicense-qualityDmaintenanceEnables interaction with decentralized exchanges on the SEI blockchain through natural language commands. Supports token swapping, wrapping, liquidity pool queries, and automated trading strategies on DragonSwap.
- AlicenseAqualityDmaintenanceEnables AI agents to interact with HyperLend protocol and Kittenswap DEX on Hyperliquid EVM network. Supports DeFi operations including lending, borrowing, withdrawing assets, and token swapping with comprehensive portfolio management.89MIT
- Alicense-qualityDmaintenanceIntegrates with Hyperliquid DEX to enable trading, account management, and market data queries through natural language.113MIT
Related MCP Connectors
Non-custodial DeFi for AI agents: swaps, concentrated liquidity (V3/V4) zaps + ranges, 5 EVM chains
Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.
Provide AI agents and automation tools with contextual access to blockchain data including balance…
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/tamago-labs/tapp-exchange-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server