Magpie Capital

Official registry Finance and payments

Solana lending tools: live stats, 160+ collateral tokens, loan terms, x402 agent borrowing

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

MCPB package https://github.com/magpiecapital/magpie-mcp/releases/download/v0.3.0/magpie-mcp.mcpb

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

magpie-mcp

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:

ToolWhat it answers
magpie_protocol_statsLive on-chain protocol stats (loans, repayment rate, SOL lent)
magpie_list_collateralThe 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_guideHow autonomous agents borrow programmatically via x402 payment-gated endpoints
magpie_borrow_quoteLive borrow quote — real production numbers for any token/amount/tier, prices auto-resolved
magpie_protocol_pulseLive 24h aggregates (loans, volume, repays, liquidations) by program version
magpie_wallet_loansAny wallet's full on-chain loan history
magpie_agent_leaderboardThe on-chain credit league — top borrowers by credit score
magpie_safety_briefRead 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.

Install (Claude Desktop / Claude Code)

{
  "mcpServers": {
    "magpie": {
      "command": "npx",
      "args": ["-y", "github:magpiecapital/magpie-mcp"]
    }
  }
}

Claude Code: claude mcp add magpie -- npx -y github:magpiecapital/magpie-mcp

More for LLMs

MIT

Frequently asked questions

What is Magpie Capital?

Solana lending tools: live stats, 160+ collateral tokens, loan terms, x402 agent borrowing

How do I install Magpie Capital?

Follow the installation steps in its documentation, shown on this page and in its repository.

Does Magpie Capital need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is Magpie Capital open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains Magpie Capital?

It is published by magpiecapital. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.