mcp morpho server
Enables interaction with the Morpho GraphQL API, providing tools for accessing market data, vaults, positions, and transactions through a Model Context Protocol (MCP) server.
Enables interaction with the Morpho GraphQL API, providing tools for accessing market data, vaults, positions, and transactions through a Model Context Protocol (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.
Install the package:
npm install mcp-morpho-server
Add to your Claude Desktop configuration:
{
"tools": {
"morpho": {
"command": "node",
"args": [
"/path/to/node_modules/mcp-morpho-server/build/index.js"
]
}
}
}
get_markets
: Retrieve all markets with pagination and filteringget_whitelisted_markets
: Get only whitelisted marketsget_market_positions
: Get positions for specific marketsget_historical_apy
: Get historical APY dataget_oracle_details
: Get oracle informationget_vaults
: Get all vaults with their current statesget_vault_positions
: Get positions for specific vaultsget_vault_transactions
: Get vault transaction historyget_vault_allocation
: Get vault market allocationsget_vault_reallocates
: Get vault reallocation historyget_vault_apy_history
: Get historical APY data for vaultsget_asset_price
: Get current price and yield informationget_account_overview
: Get account positions and transactionsget_liquidations
: Get liquidation eventsThe 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:
Clone the repository
git clone https://github.com/crazyrabbitLTC/mcp-morpho-server.git
Install dependencies:
npm install
Build the project:
npm run build
Contributions are welcome! Please feel free to submit a Pull Request.
ISC
Created by [Your Name] (your@email)