Solana lending tools: live stats, 160+ collateral tokens, loan terms, x402 agent borrowing
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
MCP (Model Context Protocol) server for Magpie Capital β the Solana lending protocol for humans and AI agents.
Gives any MCP-capable LLM (Claude, etc.) native tools:
| Tool | What it answers |
|---|---|
magpie_protocol_stats | Live on-chain protocol stats (loans, repayment rate, SOL lent) |
magpie_list_collateral | The full live collateral catalog β 160+ tokens across memecoins, tokenized stocks/ETFs, gold & silver |
magpie_token_terms | "Can I borrow against X, and on what terms?" β per-token LTV/fee/duration ladder |
magpie_x402_guide | How autonomous agents borrow programmatically via x402 payment-gated endpoints |
magpie_borrow_quote | Live borrow quote β real production numbers for any token/amount/tier, prices auto-resolved |
magpie_protocol_pulse | Live 24h aggregates (loans, volume, repays, liquidations) by program version |
magpie_wallet_loans | Any wallet's full on-chain loan history |
magpie_agent_leaderboard | The on-chain credit league β top borrowers by credit score |
magpie_safety_brief | Read before advising a borrow β real risks, no-margin-call terms, liquidation mechanics, Sec3 posture |
Read-only by design: this server holds no keys and signs nothing β the safe one-line mount for research and quoting.
Want your agent to EXECUTE β borrow, arm exits, repay? Use the full 26-tool desk: @magpieloans/magpie-mcp (registry: io.github.magpiecapital/magpie-mcp) β wraps every x402 endpoint, with an optional payer keypair for paid calls. Start here read-only; graduate there to act. Agent-side execution happens through Magpie's x402 endpoints.
Claude Code: claude mcp add magpie -- npx -y github:magpiecapital/magpie-mcp
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/magpie-capital)<a href="https://allmcps.com/mcp/magpie-capital"><img src="https://allmcps.com/api/badge/magpie-capital?style=directory" alt="Magpie Capital on AllMCPs" /></a>