Morpho is a lending protocol on Base. The Morpho MCP server gives your assistant tools to query vaults, check markets, and prepare lending operations — which are then signed and sent through Base MCP.Documentation Index
Fetch the complete documentation index at: https://base-a060aa97-youssef-update-agents.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Demo
How it works
Morpho handles the protocol layer. Your Base Account handles signing.Morpho’s
prepare_* tools simulate the transaction before returning. Review the simulation output before approving — it shows expected state changes, health factors, and any warnings.Install
Add both MCPs to your assistant:- Claude Desktop
- Claude Code
- Codex
- Cursor / VS Code / Windsurf
claude_desktop_config.json
Morpho tools
17 tools across read, write (prepare), and simulate.Read
| Tool | What it does |
|---|---|
morpho_health_check | Check server connectivity |
morpho_get_supported_chains | List supported chains |
morpho_query_vaults | List vaults with filtering and sorting |
morpho_get_vault | Details for a specific vault |
morpho_query_markets | List markets with filtering |
morpho_get_market | Details for a specific market |
morpho_get_positions | All positions for an address (vaults + markets) |
morpho_get_token_balance | Token balance and approval state |
Prepare (write via send_calls)
These tools return unsigned call data. Pass the result to Base MCP’s send_calls to execute.
| Tool | What it does |
|---|---|
morpho_prepare_deposit | Prepare vault deposit with token approvals |
morpho_prepare_withdraw | Prepare vault withdrawal (supports max) |
morpho_prepare_supply | Prepare market supply with approvals |
morpho_prepare_borrow | Prepare market borrow with health check |
morpho_prepare_repay | Prepare market repay (supports max) |
morpho_prepare_supply_collateral | Supply collateral to a market |
morpho_prepare_withdraw_collateral | Withdraw collateral with health check |
Simulate
| Tool | What it does |
|---|---|
morpho_simulate_transactions | Simulate transactions with post-state analysis |
Example prompts
Deposit into a vault:Orchestration pattern
Every Morpho write operation follows the same pattern:Query (optional)
Use a read tool to find the right vault or market:
morpho_query_vaults, morpho_get_market, etc.Execute via Base Account
Pass
calls and chainId to Base MCP’s send_calls. You’ll get an approvalUrl.Related
Execute contract calls
Full guide to
send_calls and batching protocol interactions.Morpho docs
Full Morpho MCP documentation and prompt library.