Mantle Yield MCP
Universal MCP server for Mantle yield data, enabling users to fetch health status, dashboard summaries, and detailed opportunity information through natural language.
README
Mantle Yield MCP
Universal MCP server for Mantle yield data, backed by the Mantle Yield API at https://mantle-yield.asterworks.cc.
It is designed to work with any MCP client that can launch a local process over stdio, including terminal agents and editor-based MCP hosts.
What it provides
mantle_get_health— backend health statusmantle_get_summary— dashboard summarymantle_list_opportunities— list opportunities with filters, sorting, and paginationmantle_get_opportunity— full details for a single opportunitymantle_get_opportunity_chart— APY / TVL chart data for one opportunitymantle_compare_opportunities— side-by-side comparison for 2–3 opportunitiesmantle_refresh_data— trigger backend refresh
Requirements
- Node.js
>= 22 - npm
Install
git clone https://github.com/Urazanev/mantle-yield-mcp.git
cd mantle-yield-mcp
npm install
npm run build
No .env file is required for the default setup.
Run locally
npm start
If the process stays open, the server is waiting for an MCP client on stdin / stdout.
Universal MCP setup
Most MCP clients ultimately need the same runtime information:
- executable command
- absolute path to the built server entrypoint
- optional environment variables
Use this runtime shape in your MCP client configuration, adapting only the outer JSON structure to your client:
{
"name": "mantle-yield",
"type": "stdio",
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/mantle-yield-mcp/dist/index.js"
]
}
Replace /ABSOLUTE/PATH/TO/mantle-yield-mcp/dist/index.js with the real absolute path on your machine.
Integration notes
- Use an absolute path to
dist/index.js. - Prefer launching
nodedirectly. - Do not use
npm start,npx, or other wrappers as the MCP command, because wrapper output can break the MCP handshake. - The server supports both common local stdio framing styles used by MCP hosts:
Content-Lengthframed JSON-RPC- newline-delimited JSON-RPC
Environment variables
All environment variables are optional.
| Variable | Default | Description |
|---|---|---|
MANTLE_YIELD_API_BASE_URL |
https://mantle-yield.asterworks.cc |
Override backend API base URL |
MANTLE_YIELD_API_TOKEN |
unset | Optional bearer token |
MANTLE_YIELD_API_TIMEOUT_MS |
10000 |
HTTP timeout in milliseconds |
Development
npm run dev
or
npm run dev:tsx
Troubleshooting
- Rebuild after code changes:
npm run build - If a client hangs on
initialize, verify it launchesnode /absolute/path/to/dist/index.jsdirectly
Notes
- Uses only the Mantle Yield backend API as its data source
- Does not call DefiLlama directly
- Does not parse HTML or read local snapshot files
- Does not execute on-chain transactions
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.