Morpho API MCP Server
A morpho server for the model context protocol
Overview
Morpho API MCP Server is a server that implements the Model Context Protocol (MCP) to provide tools for querying the Morpho API, enabling access to market data, vaults, positions, and more.
To use the Morpho API MCP Server, install the package via npm, and configure it in your Claude Desktop setup to interact with the Morpho API.
- 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
- Retrieving market data for analysis
- Managing vaults and positions in a decentralized finance application
- Accessing historical APY data for investment decisions
Add to your AI client
Use these steps to connect Morpho API MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-morpho-server-crazyrabbitltc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-morpho-server-crazyrabbitltc"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-morpho-server-crazyrabbitltc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-morpho-server-crazyrabbitltc"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-morpho-server-crazyrabbitltc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-morpho-server-crazyrabbitltc"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-morpho-server-crazyrabbitltc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-morpho-server-crazyrabbitltc"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-morpho-server-crazyrabbitltc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-morpho-server-crazyrabbitltc"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-morpho-server-crazyrabbitltc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-morpho-server-crazyrabbitltc"
]
}
}
}FAQ
What is the Model Context Protocol (MCP)?
MCP is a protocol designed to standardize interactions with various APIs, providing a consistent way to access data.
Is the Morpho API MCP Server open source?
Yes! The Morpho API MCP Server is available on GitHub for contributions and modifications.
What programming language is used for the server?
The server is written in TypeScript.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1545,"uuid":"db6fb162-b113-4dd0-acea-3f4fbeae6de8","name":"mcp-morpho-server","title":"Morpho API MCP Server","description":"A morpho server for the model context protocol","avatar_url":"https://avatars.githubusercontent.com/u/1938013?v=4","created_at":"2025-02-20T16:27:56.310Z","updated_at":"2025-02-23T07:12:23.270Z","status":"created","author_name":"crazyrabbitLTC","author_avatar_url":"https://avatars.githubusercontent.com/u/1938013?v=4","tags":"mcp-morpho-server,morpho-api,graphql","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/crazyrabbitLTC/mcp-morpho-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]