Cover image
Try Now
2025-01-28

镜像://github.com/crazyrabbitltc/mcp-morpho-server

3 years

Works with Finder

0

Github Watches

1

Github Forks

0

Github Stars

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-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)

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    4 (1)
    Avatar
    user_K7rcYisn
    2025-04-16

    As a loyal user of the crazyrabbitLTC_mcp-morpho-server by MCP-Mirror, I must say it’s an exceptional tool! Its reliability and efficiency make it stand out among other solutions. Although it doesn't offer a lot of upfront information, the repository on GitHub provides everything needed to get started quickly. Highly recommended for anyone looking for a solid mcp application server!