mcp-morpho-server
A morpho server for the model context protocol
Documentation
Morpho API MCP Server
A Model Context Protocol (MCP) server that provides tools for querying the Morpho API. This server enables Claude to interact with Morpho's GraphQL API, providing access to market data, vaults, positions, and more.
Features
- Query Morpho markets data through GraphQL
- Full support for vaults, positions, and transactions
- Historical APY data and oracle information
- Comprehensive pagination, ordering, and filtering options
- Data validation using Zod schemas
- Error handling and type safety
- MCP-compliant server implementation
Installation
1. Install the package:
npm install mcp-morpho-server2. Add to your Claude Desktop configuration:
{
"tools": {
"morpho": {
"command": "node",
"args": [
"/path/to/node_modules/mcp-morpho-server/build/index.js"
]
}
}
}Available Tools
Markets
- `get_markets`: Retrieve all markets with pagination and filtering
- `get_whitelisted_markets`: Get only whitelisted markets
- `get_market_positions`: Get positions for specific markets
- `get_historical_apy`: Get historical APY data
- `get_oracle_details`: Get oracle information
Vaults
- `get_vaults`: Get all vaults with their current states
- `get_vault_positions`: Get positions for specific vaults
- `get_vault_transactions`: Get vault transaction history
- `get_vault_allocation`: Get vault market allocations
- `get_vault_reallocates`: Get vault reallocation history
- `get_vault_apy_history`: Get historical APY data for vaults
Assets and Accounts
- `get_asset_price`: Get current price and yield information
- `get_account_overview`: Get account positions and transactions
- `get_liquidations`: Get liquidation events
Development
The project is written in TypeScript and uses:
- @modelcontextprotocol/sdk for MCP server implementation
- axios for API requests
- zod for schema validation
To build from source:
1. Clone the repository
git clone https://github.com/crazyrabbitLTC/mcp-morpho-server.git2. Install dependencies:
npm install3. Build the project:
npm run buildContributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
ISC
Author
Created by [Your Name] ()
Frequently asked questions
What is mcp-morpho-server?
mcp-morpho-server is A morpho server for the model context protocol
How do I install mcp-morpho-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-morpho-server open source?
Yes — it is hosted on GitHub at https://github.com/crazyrabbitLTC/mcp-morpho-server.
Related MCP tools
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others. Built for the Model Context Protocol to enhance AI capabiliti
Fay是一个帮助数字人(2.5d、3d、移动、pc、网页)或大语言模型(openai兼容、deepseek)连通业务系统的mcp框架。 JavaScript-based implementation. Trusted by 12000+ developers.
CTTF: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities JavaScript-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP