Magpie Capital

io.github.magpiecapital由 GitHub 账号 magpiecapital 发布v0.3.0更新于 Oct 25, 2026

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

发布方自己的服务:capital.new mandate draft tools

已验证STDIO仅桌面金融AI 与机器学习

概览

AI 生成的概览

Magpie Capital 的只读 Solana 借贷 MCP 服务器,让助手查询协议统计、抵押代币、借款条件与报价。

可以做什么
查询协议实时统计与 24 小时汇总数据(贷款、还款率、放款量、清算)以及协议安全简报。浏览 160 多种抵押代币目录,并查询单一代币的 LTV、费用与期限条件。获取任意代币、金额与等级的实时借款报价。查询任一钱包的链上借款历史,以及按信用分数排名的借款人排行榜。了解自主代理如何通过 x402 付费端点以编程方式借款。
适用场景
当你想研究 Solana 上的借贷、查询某代币能否作为抵押及其条件,或替自主代理了解 x402 借款流程时使用。它适合先做研究与报价,再决定是否改用可实际执行借款的完整版本。
运行要求
以本地进程运行,需要 Node.js 环境(通过 npx 启动)。需要网络访问以获取链上与协议数据。不需要账号、API 密钥或环境变量。
安装前请注意
此版本设计为只读,不持有密钥也不签署交易,但仍会把查询内容发送到 Magpie 的服务。实际借款、还款等动用资金的操作需改用另一个完整版本,该版本可选择提供付款密钥对,涉及付费调用与资金风险。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Magpie Capital,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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)

json
{  "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

来源:README.md,提交 174af10

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.0最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Capital 集成