Defi Copilot
@fxjrin
关于 Defi Copilot
Pay-per-decision DeFi intelligence for AI agents on Stellar. Built with x402 protocol.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"defi-copilot": {
"command": "npx",
"args": [
"-y",
"defi-copilot-mcp"
],
"env": {
"STELLAR_NETWORK": "testnet"
}
}
}
}工具
130.001 USDC
0.001 USDC
FREE
FREE
FREE
FREE
FREE
FREE
FREE
FREE
FREE
FREE
FREE
概览
What is Defi Copilot?
Defi Copilot is a Stellar-native DeFi intelligence layer that lets AI agents autonomously query DeFi data, execute swaps, and interact with DeFi protocols — paying per request using the x402 protocol. No API keys or subscriptions are needed, and no human approval is required.
How to use Defi Copilot?
Install the MCP server via npx -y defi-copilot-mcp and add it to Claude Desktop or any MCP-compatible client. Use the REST API at https://api.fxjrin.com with any HTTP client. Set the STELLAR_NETWORK environment variable to testnet or mainnet; the DEFI_COPILOT_API defaults to the live backend unless you run your own.
Key features of Defi Copilot
- Pay-per-request using the x402 protocol
- Live on-chain yield data from Blend Finance (Soroban)
- Optimal swap route comparison across SDEX, Stellar DEX, and AMM
- Automatic Stellar wallet creation and funding on testnet
- Free tools for swap execution, deposits, withdrawals, and transfers
- Wallet stored locally; private keys never leave your device
Use cases of Defi Copilot
- An AI agent asks where to deposit USDC and receives a recommended yield strategy with live APY
- An agent finds the best swap route to exchange XLM for USDC and pays the fee automatically
- An agent deposits USDC into Blend Finance and later withdraws principal plus interest
- A developer queries live XLM price, volume, and spread without manual payment handling
- An agent transfers XLM or USDC to any Stellar address using natural language commands
FAQ from Defi Copilot
How does payment work for Defi Copilot?
The server returns a 402 Payment Required response. The agent builds and signs a Stellar USDC transaction, sends it as an x-payment header, and the facilitator verifies and settles on-chain before returning the data.
Which assets does Defi Copilot support?
The yield and swap endpoints support USDC and XLM. The get_best_yield tool defaults to USDC; swap can be configured with from and to parameters.
Can I use Defi Copilot on mainnet or only testnet?
Both. Set STELLAR_NETWORK to mainnet in the environment. On mainnet the wallet is created but not auto-funded — you must deposit XLM manually. Payments also settle on mainnet via x402.
Where is my wallet stored when using Defi Copilot?
The MCP server saves the wallet locally in ~/.defi-copilot/wallet-testnet.json (or wallet-mainnet.json). Private keys never leave your device.
What is the cost per request for Defi Copilot?
get_best_yield and get_best_swap each cost 0.001 USDC via x402. All other tools (execute swap, deposit, withdraw, transfer, market data, etc.) are free.
其他 分类下的更多 MCP 服务器
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
评论