Skip to main content
Glama
crazyrabbitLTC

Morpho API MCP Server

Morpho API MCP 服务器

一个模型上下文协议 (MCP) 服务器,提供用于查询 Morpho API 的工具。该服务器使 Claude 能够与 Morpho 的 GraphQL API 交互,从而提供对市场数据、保险库、仓位等的访问。

特征

  • 通过 GraphQL 查询 Morpho 市场数据

  • 全面支持保险库、仓位和交易

  • 历史 APY 数据和预言机信息

  • 全面的分页、排序和过滤选项

  • 使用 Zod 模式进行数据验证

  • 错误处理和类型安全

  • 符合 MCP 标准的服务器实现

Related MCP server: TrueRAG MCP Server

安装

  1. 安装软件包:

npm install mcp-morpho-server
  1. 添加到您的 Claude Desktop 配置:

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

可用工具

市场

  • get_markets :通过分页和过滤检索所有市场

  • get_whitelisted_markets :仅获取白名单市场

  • get_market_positions :获取特定市场的仓位

  • get_historical_apy :获取历史 APY 数据

  • get_oracle_details :获取 oracle 信息

保险库

  • get_vaults :获取所有保险库及其当前状态

  • get_vault_positions :获取特定保险库的位置

  • get_vault_transactions :获取保险库交易历史记录

  • get_vault_allocation :获取保险库市场分配

  • get_vault_reallocates :获取保险库重新分配历史记录

  • get_vault_apy_history :获取保险库的历史 APY 数据

资产和账户

  • get_asset_price :获取当前价格和收益率信息

  • get_account_overview :获取账户头寸和交易

  • get_liquidations :获取清算事件

发展

该项目使用 TypeScript 编写并使用:

  • @modelcontextprotocol/sdk 用于 MCP 服务器实现

  • 用于 API 请求的 axios

  • zod 用于模式验证

从源代码构建:

  1. 克隆存储库

git clone https://github.com/crazyrabbitLTC/mcp-morpho-server.git
  1. 安装依赖项:

npm install
  1. 构建项目:

npm run build

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

执照

国际学习中心

作者

[您的姓名] ( <your@email> ) 创建

A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with a TrueRAG system through a GraphQL API using the Model Context Protocol (MCP), facilitating access to policies with a Python SDK and GQL library integration.
    2
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.
    1,317
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • The Graph MCP — indexed blockchain data via subgraph GraphQL queries

  • Query metrics, targets, entities, and team data in your Steep workspace via MCP.

  • Hosted MCP server for live Bittensor chain reads and self-custodial on-chain writes.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/crazyrabbitLTC/mcp-morpho-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server