- Agentfi Mcp Server
Agentfi Mcp Server
AgentFi gives AI agents their own crypto wallets, policy-bounded execution, and direct access to DeFi — without handling private keys or managing gas.
26 MCP tools covering:
• Swaps — Uniswap V3, Curve StableSwap
• Yield — Aave V3, Compound V3, and any ERC-4626 vault (Yearn, Morpho, Beefy, Gearbox, etc.)
• Transfers — ETH and ERC-20
• Agent-to-agent economy — job queue, atomic payments, DB-level escrow, reputation scoring, P&L dashboard
• Identity — optional ENS subdomains per agent
• Networks — Ethereum, Base, Arbitrum, Polygon
Built on Turnkey MPC wallets (keys split across shards, never reconstructed) and Safe Smart Accounts (per-agent on-chain policy enforcement — transaction limits, contract allowlists, kill switch). Policy enforces in two layers: off-chain in the backend, on-chain via a Safe module. Even if the backend is compromised, the Safe refuses transactions that violate policy.
Protocol fee collected atomically on-chain via AgentExecutor. Open-source (Apache 2.0), self-hosted by design.
Overview
AgentFi MCP Server
Crypto transaction tools for AI agents. 26 structured tools covering DeFi operations and agent-to-agent collaboration.
AgentFi gives AI agents their own crypto wallets, policy-bounded on-chain execution, and direct access to DeFi — without handling private keys or managing gas. Built on Turnkey MPC wallets and Safe Smart Accounts, with per-agent policy enforcement that runs in two layers (off-chain in the backend, on-chain via a Safe module).
Tools (26)
DeFi (15)
- Swaps — Uniswap V3, Curve StableSwap
- Yield — Aave V3, Compound V3, any ERC-4626 vault (Yearn, Morpho, Beefy, Gearbox, etc.)
- Transfers — ETH and ERC-20
- Balances — native + known ERC-20 tokens per chain
Agent-to-Agent (11)
- Job queue — publish paid tasks, accept, complete, cancel
- Atomic payments — rewards auto-settle on job completion with full policy + simulation + fee pipeline
- Escrow — funds reserved at job creation, released on terminal state
- Reputation — score 0–10 000 from real on-chain metrics with time-decay
- Discovery — search peer agents by service manifest
- P&L — earnings vs costs (protocol fees, A2A payments, gas) per agent
- Trust reports — reputation + tx history
Supported Networks
Ethereum Mainnet (1), Base (8453), Arbitrum One (42161), Polygon (137).
Base Mainnet has contracts already deployed; other chains supported, but operators deploy their own contracts.
Configuration
{
"mcpServers": {
"agentfi": {
"command": "npx",
"args": ["-y", "@agent_fi/mcp-server@0.2.0"],
"env": {
"AGENTFI_API_URL": "https://api.your-instance.com",
"AGENTFI_API_KEY": "agfi_live_..."
}
}
}
}
Setup
- Run an AgentFi backend — open-source, self-hosted. Guide: production-deploy.md. Reference deployment uses Railway; Fly.io / Render / Docker documented as alternatives.
- Register an agent —
POST /v1/agentsreturns an API key (shown once). - Point this MCP server at it — set
AGENTFI_API_URLandAGENTFI_API_KEYin the config above.
Security
- Turnkey MPC — private keys are split across shards and never reconstructed.
- Safe Smart Wallets — every transaction is validated on-chain against the agent's policy (max value, contract allowlist, cooldowns, kill switch).
- Pre-broadcast simulation — every tx is simulated via Tenderly before submission; reverts are caught without spending gas.
- Two-layer enforcement — even if the backend is compromised, the Safe refuses transactions that violate policy.
Links
- GitHub: https://github.com/felippeyann/agentfi
- npm: https://www.npmjs.com/package/@agent_fi/mcp-server
- Docs: VISION.md · STATE.md · OpenAPI spec
- License: Apache 2.0
Server Config
{
"mcpServers": {
"agentfi": {
"command": "npx",
"args": [
"-y",
"@agent_fi/mcp-server@0.2.0"
],
"env": {
"AGENTFI_API_URL": "<YOUR_BACKEND_URL>",
"AGENTFI_API_KEY": "<YOUR_AGENT_API_KEY>"
}
}
}
}Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
WindsurfThe new purpose-built IDE to harness magic
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Serper MCP ServerA Serper MCP Server
Amap Maps高德地图官方 MCP Server
Tavily Mcp
Playwright McpPlaywright MCP server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
CursorThe AI Code Editor
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
DeepChatYour AI Partner on Desktop
ChatWiseThe second fastest AI chatbot™