Morpho

A morpho server for the model context protocol
  • javascript

0

GitHub Stars

javascript

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "crazyrabbitltc-mcp-morpho-server": {
      "command": "node",
      "args": [
        "/path/to/node_modules/mcp-morpho-server/build/index.js"
      ]
    }
  }
}

You deploy this MCP server to enable Claude to query Morpho’s GraphQL API, giving you access to markets, vaults, positions, and related data with robust pagination, filtering, and validation for reliable results.

How to use

You interact with the Morpho MCP server through an MCP client. Start the local server, then point your client to the provided stdio endpoint. Use the available tools to fetch markets, vaults, assets, accounts, and historical data. Each tool returns structured data with pagination, filtering, and ordering options, and all data is validated for type safety to reduce errors in your workflow.

How to install

Prerequisites: ensure you have Node.js and npm installed on your system. If you don’t have them yet, install Node.js from the official site or using your system package manager.

npm install mcp-morpho-server

Configuration and start

Configure your client to run the MCP server locally using the provided runtime command. The server runs as a local process that your MCP client can connect to via standard input/output (stdio). Use the exact command and path as shown.

node /path/to/node_modules/mcp-morpho-server/build/index.js

Additional notes

The server is implemented in TypeScript, uses axios for API requests, and enforces data validation with Zod. It exposes a comprehensive set of tools for markets, vaults, assets, and accounts, with historical data support and oracle information.

Configuration example

{
  "tools": {
    "morpho": {
      "command": "node",
      "args": [
        "/path/to/node_modules/mcp-morpho-server/build/index.js"
      ]
    }
  }
}

Available tools

get_markets

Retrieve all markets with pagination and filtering to explore Morpho market data.

get_whitelisted_markets

Fetch only markets that are whitelisted for secure access.

get_market_positions

Get positions for specific markets to analyze exposure.

get_historical_apy

Obtain historical APY data for markets to track performance over time.

get_oracle_details

Fetch oracle information used for price/feed accuracy.

get_vaults

Retrieve all vaults with their current states.

get_vault_positions

Get positions associated with specific vaults.

get_vault_transactions

Access vault transaction history for auditing and analysis.

get_vault_allocation

Get vault market allocations to understand asset distribution.

get_vault_reallocates

Get vault reallocation history to monitor changes.

get_vault_apy_history

Obtain historical APY data for vaults.

get_asset_price

Get current price and yield information for assets.

get_account_overview

Summarize account positions and transactions for quick insights.

get_liquidations

Retrieve liquidation events for risk monitoring.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
Morpho MCP Server - crazyrabbitltc/mcp-morpho-server | VeilStrat