io.github.magpiecapital/magpie-mcp
NPM · @MAGPIELOANS/MAGPIE-MCP · SCANNED SEP 20
Agent-native lending on Solana via x402: borrow against tokens, arm in-vault TP/SL, repay.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security89
- No malware found by supply-chain analysis.Pass
- CVE check failed: a known high-severity CVE affects uuid 8.3.2, reached via @solana/web3.js > jayson > uuid. A fixed version is available. View diagnostics → Fail
- No install/post-install scripts declared.Pass
- 50 of 148 dependencies flagged as unhealthy (2 deprecated). View diagnostics → Partial
Provenance & Transparency48
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 87 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability76
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 2365 tokens (~90/item across 26 items; 26 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management83
- Stability observed for 25 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage79
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 38% of tool parameters carry a description.Partial
Tool Safety75
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- 0 of 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "magpie_build_withdraw" implies "withdraw" and declares no destructiveHint at all, which the MCP spec reads as destructive by default. See how to fix → Fail
- An AI judge read all 26 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
How do I install the io.github.magpiecapital/magpie-mcp server?
io.github.magpiecapital/magpie-mcp runs locally as an npm package, launched with npx -y @magpieloans/magpie-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · @magpieloans/magpie-mcp
claude mcp add magpiecapital-magpie-mcp -- npx -y @magpieloans/magpie-mcp
{
"mcpServers": {
"magpiecapital-magpie-mcp": {
"command": "npx",
"args": [
"-y",
"@magpieloans/magpie-mcp"
]
}
}
} {
"servers": {
"magpiecapital-magpie-mcp": {
"command": "npx",
"args": [
"-y",
"@magpieloans/magpie-mcp"
]
}
}
} codex mcp add magpiecapital-magpie-mcp -- npx -y @magpieloans/magpie-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"magpiecapital-magpie-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"@magpieloans/magpie-mcp"
],
"enabled": true
}
}
} openclaw mcp add magpiecapital-magpie-mcp --command npx --arg -y --arg @magpieloans/magpie-mcp
mcp_servers:
magpiecapital-magpie-mcp:
command: "npx"
args: ["-y", "@magpieloans/magpie-mcp"] {
"McpServers": {
"magpiecapital-magpie-mcp": {
"Transport": "stdio",
"Command": "npx",
"Arguments": [
"-y",
"@magpieloans/magpie-mcp"
]
}
}
} assistant mcp add magpiecapital-magpie-mcp -t stdio -c npx -a -y @magpieloans/magpie-mcp
{
"mcpServers": {
"magpiecapital-magpie-mcp": {
"command": "npx",
"args": [
"-y",
"@magpieloans/magpie-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 19 Sept 26 −3
- Stability: pass → 0.80 functional
- 18 Sept 26 +1
- Stability: 0.97 → pass security
- 16 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 90 to 93. That category is still filling its 30-day observation window: 27 days of observed history at the previous scan, 28 at this one. The score rises as the window fills, whether or not the server changes.
- 14 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.
- 12 Sept 26 −3
- Stability: pass → 0.80 functional
- 11 Sept 26 +1
- Stability: 0.97 → pass security
- 9 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 90 to 93. That category is still filling its 30-day observation window: 27 days of observed history at the previous scan, 28 at this one. The score rises as the window fills, whether or not the server changes.
- 7 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 20 Sept 2026 · Analysed npm/@magpieloans/magpie-mcp@0.1.1
Provenance No attestation
The registry publishes no build provenance for this version, so there is nothing to verify.
| Result | No attestation |
|---|---|
| Ecosystem | npm |
Background: How many MCP packages publish verified provenance →
Vulnerabilities 2 findings
| ID | CVE | Severity | Vector | Fix available |
|---|---|---|---|---|
| GHSA-528h-pc64-c93x | CVE-2026-71429 | medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
| GHSA-w5hq-g745-h8pq | CVE-2026-41907 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | yes |
Background: What a vulnerability scan can and cannot prove →
Dependencies 148 packages
| Packages resolved | 148 |
|---|---|
| Deprecated | 2 |
| Stale | 48 |
| No linked repository | 1 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
magpie_arm_exit ~445
Arm a self-owned in-vault exit (take-profit / stop-loss / trailing) on YOUR OWN active V4 loan. When the trigger fires, the collateral is auto-sold IN-VAULT: SOL (or USDC) accumulates inside the loan's per-loan proceeds vault and the loan stays Active — the proceeds only leave to your wallet via your own borrower-signed repay. Pick exactly one trigger: target (e.g. '2x' TP / '0.7x' SL), price_usd, mc_usd (e.g. '5M','1.2B'), or trailing_bps (SL only). direction defaults to 'above' (TP); use 'below' for a stop-loss. The envelope is signed with the configured payer keypair, and the x402 payment pays from that SAME keypair, so payer==signer holds (the bot rejects any mismatch). Only works on V4 loans you own. Paid: 0.001 SOL.
| Name | Type | Req | Description |
|---|---|---|---|
| dest | string | – | Proceeds asset accumulated in the vault. Defaults to sol. |
| direction | string | – | above = take-profit (default), below = stop-loss. |
| loan_id | string | yes | The u64 loan ID of your active V4 loan to arm the exit on. |
| mc_usd | string | – | Market-cap trigger, e.g. '5M' or '1.2B'. One trigger only. |
| price_usd | string | – | Absolute USD price-per-token trigger. One trigger only. |
| slice | string | – | Optional fraction/size of the position to sell at this trigger (for laddered exits). Omit to sell the full position. |
| slippage_bps | integer | – | Max slippage tolerance for the in-vault sell, in basis points. |
| target | string | – | Multiplier trigger, e.g. '2x' for a 2x take-profit or '0.7x' for a stop-loss. One trigger only. |
| trailing_bps | integer | – | Trailing stop distance in basis points (stop-loss / direction=below only). One trigger only. |
No output schema declared.
No examples provided.
magpie_build_borrow ~219
Build an UNSIGNED borrow transaction. Server runs the full anti-exploit gate eval (ban registry, TWAP, pool floor, cross-source price, RWA-only guard, etc.) and returns a partial-signed tx. Agent signs locally and submits to magpie.capital/api/v1/cosign-borrow. Set has_exit_arming=true to route the loan into the V4 in-vault exit pool so you can later arm self-owned TP/SL exits on it (via magpie_arm_exit); leave false for a plain memecoin (V1) borrow. Paid: 0.005 SOL.
| Name | Type | Req | Description |
|---|---|---|---|
| borrower_wallet | string | yes | – |
| collateral_amount | string | yes | – |
| collateral_mint | string | yes | – |
| has_exit_arming | boolean | – | When true, routes the borrow into the V4 program so the loan supports in-vault auto-sell exits (TP/SL/trailing). When false, a standard V1 borrow with no exit arming. |
| tier | integer | yes | – |
No output schema declared.
No examples provided.
magpie_build_deposit ~68
Build an UNSIGNED LP-deposit transaction (wraps SOL → wSOL → deposits into the main LendingPool → closes wSOL ATA). Agent signs and submits. Paid: 0.002 SOL.
| Name | Type | Req | Description |
|---|---|---|---|
| depositor | string | yes | – |
| lamports | string | yes | – |
No output schema declared.
No examples provided.
magpie_build_liquidate ~128
Build an unsigned liquidate-loan tx for a past-due active loan. The keeper (your wallet) receives keeper_reward_bps share of the seized collateral as bounty; the rest goes to the lender authority for pool recovery. Permissionless — any wallet can liquidate. Server pre-validates the loan exists, is active, and is past due. Paid: 0.003 SOL. Workflow: poll magpie_liquidatable to find candidates, then call this on the loan_pda.
| Name | Type | Req | Description |
|---|---|---|---|
| keeper | string | yes | – |
| loan_pda | string | yes | – |
No output schema declared.
No examples provided.
magpie_build_repay ~45
Build an unsigned repay tx for an existing loan. Paid: 0.002 SOL.
| Name | Type | Req | Description |
|---|---|---|---|
| borrower_wallet | string | yes | – |
| loan_id | string | yes | – |
No output schema declared.
No examples provided.
magpie_build_withdraw ~64
Build an unsigned LP-withdraw tx for the requested shares. Server pre-validates the on-chain position and refuses chunks larger than max_safe_shares. Paid: 0.002 SOL.
| Name | Type | Req | Description |
|---|---|---|---|
| depositor | string | yes | – |
| shares | string | yes | – |
No output schema declared.
No examples provided.
magpie_cancel_exit ~73
Cancel an armed in-vault exit order on your own V4 loan. The loan stays Active and unaffected; only the pending auto-sell is removed. Signed with the configured payer keypair (payer==signer). FREE.
| Name | Type | Req | Description |
|---|---|---|---|
| order_id | string | yes | The ID of the armed exit order to cancel. |
No output schema declared.
No examples provided.
magpie_collateral_eligible ~46
Catalog of every token currently approved as Magpie collateral. Mint, symbol, decimals, category. First-touch endpoint for new agent integrations. Free, 1h cache.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
magpie_create_intent ~190
Post a CONDITIONAL borrow intent. Bot watches the trigger condition (price_above / price_below / time_after / pool_liq_above) and builds the unsigned tx when matched. Single payment covers entire intent lifecycle. Paid: 0.01 SOL. Optional webhook_url — server POSTs an HMAC-SHA256-signed payload on match instead of forcing you to poll. The webhook_secret is returned ONCE in the response; persist it to verify signatures on receive.
| Name | Type | Req | Description |
|---|---|---|---|
| borrower_wallet | string | yes | – |
| collateral_amount | string | yes | – |
| collateral_mint | string | yes | – |
| condition_params | object | yes | – |
| condition_type | string | yes | – |
| expires_in_seconds | integer | – | – |
| tier | integer | yes | – |
| webhook_url | string | – | Optional HTTPS endpoint to receive the match notification. Must be HTTPS; private IPs blocked. |
No output schema declared.
No examples provided.
magpie_credit_leaderboard ~38
Top wallets ranked by Magpie credit score (anonymized to Xxxx…Yyyy). Free, 60s cache.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
magpie_credit_score ~43
Magpie credit score (300-850) + tier benefits for a wallet. Paid: 0.001 SOL per lookup.
| Name | Type | Req | Description |
|---|---|---|---|
| wallet | string | yes | – |
No output schema declared.
No examples provided.
magpie_get_intent ~57
Poll the status of a conditional borrow intent. When status='matched', the response includes partial_signed_tx_b64 ready to sign + submit. Paid: 0.0005 SOL per poll.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | – |
No output schema declared.
No examples provided.
magpie_liquidatable ~68
Active loans at or past their on-chain due timestamp — the canonical liquidation-bot data feed. Sorted most-past-due-first. Use within_seconds for pre-positioning. Free, 8s cache.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | – |
| within_seconds | integer | – | – |
No output schema declared.
No examples provided.
magpie_list_exits ~66
List the armed in-vault exit orders for a wallet — each order's loan, direction, trigger, distance-to-trigger, and status. Use to audit what's armed before modifying or cancelling. FREE.
| Name | Type | Req | Description |
|---|---|---|---|
| wallet | string | yes | The wallet whose armed exit orders to list. |
No output schema declared.
No examples provided.
magpie_loan ~32
Fetch a single Magpie loan by its u64 ID. Free.
| Name | Type | Req | Description |
|---|---|---|---|
| loan_id | string | yes | – |
No output schema declared.
No examples provided.
magpie_loan_by_pda ~73
Fetch a single Magpie loan by its on-chain loan PDA (account address). Returns the loan's program version, status, collateral, due timestamp, and (for V4) proceeds-vault context. FREE.
| Name | Type | Req | Description |
|---|---|---|---|
| loan_pda | string | yes | The on-chain loan PDA / account address. |
No output schema declared.
No examples provided.
magpie_lp_state ~57
Read a wallet's LP position in the main LendingPool — shares, deposited lamports, current value, yield earned, share-of-pool, plus pool context. Free, 10s cache.
| Name | Type | Req | Description |
|---|---|---|---|
| wallet | string | yes | – |
No output schema declared.
No examples provided.
magpie_modify_exit ~182
Modify an existing armed in-vault exit order on your own V4 loan — change its trigger or execution params without cancelling and re-arming. Signed with the configured payer keypair (payer==signer). FREE.
| Name | Type | Req | Description |
|---|---|---|---|
| dest | string | – | New proceeds asset for the in-vault sell. |
| mc_usd | string | – | New market-cap trigger, e.g. '5M'. |
| order_id | string | yes | The ID of the armed exit order to modify. |
| price_usd | string | – | New absolute USD price trigger. |
| slippage_bps | integer | – | New max slippage tolerance in basis points. |
| target | string | – | New multiplier trigger, e.g. '2x' / '0.7x'. |
| trailing_bps | integer | – | New trailing stop distance in basis points (SL only). |
No output schema declared.
No examples provided.
magpie_pool_state ~43
Get live on-chain Magpie LendingPool state — totalDeposits, totalBorrowed, totalShares, utilization, fees earned. Free, 15s cache.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
magpie_pools ~41
List the Magpie lending pools (program versions and their pool context) — V1 memecoin and V4 in-vault-exit lanes. FREE.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
magpie_protocol_pulse ~61
24h protocol aggregates: active loans, active borrowers, borrows in last 1h + 24h, borrow volume in SOL, repays, liquidations. Pure aggregates, no per-wallet data. Free, 30s cache.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
magpie_recent_activity ~62
Anonymized recent borrow/repay/liquidate events across the protocol. Wallets reduced to Xxxx…Yyyy. Useful as 'is this protocol active right now' signal. Free, 15s cache.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | – |
No output schema declared.
No examples provided.
magpie_simulate_borrow ~92
Preview a loan WITHOUT submitting. Pure math from caller-supplied prices + the public tier constants. Use tier='all' to compare all three tiers. Free.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | string | yes | – |
| decimals | string | yes | – |
| mint | string | yes | – |
| pricePerTokenUsd | string | yes | – |
| solPriceUsd | string | yes | – |
| tier | string | – | – |
No output schema declared.
No examples provided.
magpie_tiers ~44
Magpie loan tier constants — three fixed tiers (Express / Quick / Standard) with their LTV, duration, and fee parameters. Free, 1h cache.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
magpie_token_risk ~84
Per-token risk profile from Magpie's internal risk engine — risk score (0-100), dimension breakdown (volatility, liquidity, concentration, volume, rug_pull), market data, max allowed LTV the program will enforce, operator flags. Useful pre-borrow collateral check. Paid: 0.001 SOL per lookup.
| Name | Type | Req | Description |
|---|---|---|---|
| mint | string | yes | – |
No output schema declared.
No examples provided.
magpie_wallet_loans ~44
All loans owned by a wallet. Optional ?status filter. Free, 8s cache.
| Name | Type | Req | Description |
|---|---|---|---|
| status | string | – | – |
| wallet | string | yes | – |
No output schema declared.
No examples provided.
What is the io.github.magpiecapital/magpie-mcp server?
io.github.magpiecapital/magpie-mcp is listed in the public MCP registry as io.github.magpiecapital/magpie-mcp. Agent-native lending on Solana via x402: borrow against tokens, arm in-vault TP/SL, repay. This page covers its npm package (@magpieloans/magpie-mcp).
Is the io.github.magpiecapital/magpie-mcp server safe to use?
io.github.magpiecapital/magpie-mcp scores 76 out of 100 on VerifyMCP. We recorded 2 known advisories against it as of 20 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the io.github.magpiecapital/magpie-mcp server expose?
io.github.magpiecapital/magpie-mcp exposes 26 tools: magpie_pool_state, magpie_protocol_pulse, magpie_recent_activity, magpie_loan, magpie_wallet_loans, and 21 more. Their descriptions and schemas cost roughly 2,365 tokens of context every time the server is loaded.
Is the io.github.magpiecapital/magpie-mcp server still maintained?
io.github.magpiecapital/magpie-mcp is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the io.github.magpiecapital/magpie-mcp server under?
io.github.magpiecapital/magpie-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.