Agentβ™₯︎Age
Catalog

io.github.magpiecapital/magpie-mcp

Official

by magpiecapital Β· TypeScript

Agent-native lending on Solana via x402: borrow against tokens, arm in-vault TP/SL, repay.

io.github.magpiecapital/magpie-mcp MCP Server

The io.github.magpiecapital/magpie-mcp MCP server exposes the Magpie Capital x402 API as native tools for MCP-aware agent hosts. It supports Solana lending where users borrow SOL against tokens and can arm take-profit and stop-loss on the same collateral to manage positions.

πŸ› οΈ Key Features

  • Solana lending via x402
  • Borrow against tokens (memecoins, tokenized stocks, RWAs are mentioned)
  • In-vault TP/SL automation tied to the loan’s vault
  • TP/SL behaviors described: take-profits, stops, ladders, trailing stops
  • Loan remains open; wallet proceeds described as arriving when you repay

πŸš€ Use Cases

  • Agent-driven liquidity provisioning without selling underlying collateral
  • Automated risk management using TP/SL on the loan vault
  • Position adjustment workflows for Solana on-chain credit

⚑ Developer Benefits

  • Standard Model Context Protocol tooling for agent hosts
  • Access to x402-api functionality as MCP-native tools
  • Fits agent hosts like Claude Desktop, Cursor, Windsurf, and ChatGPT desktop

⚠️ Limitations

  • Tool scope is described only at the level of lending/TP/SL automation; repayment mechanics and tool list details are not provided.

Topics

agent-economyagentic-commerceai-agentsautonomous-agentsdefilendingmcpmicropaymentsmodel-context-protocolonchain-creditsolanastablecoin-paymentsx402x402-api