mantle-mcp-server
v1.0.0
Published
MCP server for Mantle Network - Provides SDK documentation, DeFi protocols, and Mantle ecosystem context to Claude
Downloads
122
Maintainers
Readme
Mantle MCP Server
MCP (Model Context Protocol) server for Mantle Network. Provides SDK documentation, DeFi protocols, and Mantle ecosystem context to Claude and other AI assistants.
Installation
npm install -g mantle-mcp-serverOr install from source:
git clone https://github.com/Debanjannnn/mantle-devkit
cd mantle-devkit/packages/mantle-devkit-mcp
npm install
npm run buildUsage with Claude Desktop
Add to your Claude Desktop configuration (~/.config/claude/claude_desktop_config.json on Linux/Mac or %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"mantle": {
"command": "npx",
"args": ["mantle-mcp-server"]
}
}
}Or if installed globally:
{
"mcpServers": {
"mantle": {
"command": "mantle-mcp-server"
}
}
}Available Resources
The MCP server provides documentation and context through these resource URIs:
Agent Kit SDK
mantle://agent-kit/overview- SDK overview and quick startmantle://agent-kit/dex- DEX operations and swap functionsmantle://agent-kit/lending- Lendle lending protocolmantle://agent-kit/cross-chain- Cross-chain operations via Squidmantle://agent-kit/meth- mETH liquid stakingmantle://agent-kit/configuration- SDK configuration
x402 Protocol
mantle://x402/overview- Protocol overviewmantle://x402/server- Server integrationmantle://x402/client- Client integrationmantle://x402/payment-flow- Payment flow details
Mantle Network
mantle://network/overview- Network overview and chain detailsmantle://network/mnt-token- MNT token details and tokenomicsmantle://network/bridge- Bridge and cross-chain transfersmantle://network/contracts- DeFi protocol contract addressesmantle://network/tokens- Common tokens on Mantlemantle://network/ecosystem- Ecosystem protocols and dAppsmantle://network/development- Development resources and setupmantle://network/gas- Gas fees and optimizationmantle://network/security- Security considerationsmantle://network/oracles- Oracle services (Pyth, Chainlink, etc.)
Code Examples
example://swap- Token swap examplesexample://lending-supply- Lendle supply exampleexample://lending-borrow- Lendle borrow exampleexample://x402-server- x402 server exampleexample://x402-client- x402 client exampleexample://cross-chain- Cross-chain swap exampleexample://full-agent- Complete agent setup
Available Tools
search_mantle_docs
Search across all Mantle DevKit documentation.
Input: { "query": "swap" }get_contract_address
Get contract address for a specific protocol on Mantle.
Input: { "protocol": "agni", "contract": "router" }
Output: "agni router: 0x319B69888b0d11cEC22caA5034e25FfFBDc88421"Supported protocols:
lendle- Lending protocolagni- Agni Finance DEXmerchant-moe- Merchant Moe DEXuniswap- Uniswap V3meth- mETH Protocol
get_code_example
Get code example for a specific operation.
Input: { "operation": "swap" }Available operations: swap, supply, borrow, x402-server, x402-client, cross-chain
Development
# Install dependencies
npm install
# Build
npm run build
# Run in development mode
npm run dev
# Start server
npm startResources
License
MIT
