Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Morpho

FreeNot checked

Integrates with Morpho DeFi protocol's GraphQL API to enable querying market data, vaults, positions, and historical APY information for portfolio management an

GitHubEmbed

About

Integrates with Morpho DeFi protocol's GraphQL API to enable querying market data, vaults, positions, and historical APY information for portfolio management and yield optimization.

README

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-server
  1. 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.git
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

ISC

Author

Created by [Your Name] (<your@email>)

from github.com/crazyrabbitltc/mcp-morpho-server

Install Morpho in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install morpho

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add morpho -- npx -y mcp-morpho-server

Step-by-step: how to install Morpho

FAQ

Is Morpho MCP free?

Yes, Morpho MCP is free — one-click install via Unyly at no cost.

Does Morpho need an API key?

No, Morpho runs without API keys or environment variables.

Is Morpho hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Morpho in Claude Desktop, Claude Code or Cursor?

Open Morpho on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Morpho with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs