Zyfai DeFi MCP Server
MCP serverAI & modelsLets your agent find DeFi yield opportunities and manage your Zyfai positions.
Use Zyfai DeFi MCP Server in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Zyfai DeFi MCP Server and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use Zyfai DeFi MCP Server
Needs your own Zyfai DeFi MCP Server account. You sign in to it and approve access when you connect.
Details
Available today. Use it from your connected AI after setup.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this server
Discover DeFi yield opportunities and manage Zyfai positions with self-custodial AI agents.
Install Zyfai DeFi MCP Server
The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user zyfai-defi-mcp-server 'https://mcp.zyf.ai/mcp'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://mcp.zyf.ai/mcpAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=zyfai-defi-mcp-server&config=eyJ1cmwiOiJodHRwczovL21jcC56eWYuYWkvbWNwIn0=Open the link and Cursor adds the server at that address.
ChatGPT
https://mcp.zyf.ai/mcpIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add zyfai-defi-mcp-server --url 'https://mcp.zyf.ai/mcp'Run it once, then sign in with codex mcp login zyfai-defi-mcp-server if the server asks for an account.
From the project's README
As published by ondefy/zyfai-mcp-server in README.md.
Use Zyfai from Claude, Grok and Grok Bot, Cursor, Claude Code, compatible custom agents, and a limited ChatGPT preview.
This public Model Context Protocol server exposes Zyfai's yield discovery and personalized DeFi agent through natural-language tools. Discover opportunities, compare strategies, inspect positions, review earnings, and prepare supported account actions without building a separate integration.
Hosted MCP endpoint:
https://mcp.zyf.ai/mcp
You do not need to clone or run this repository to use the hosted server.
What you can do
- Discover conservative and aggressive yield opportunities
- Compare APY, TVL, protocol, pool, chain, asset, and available risk information
- Inspect an authenticated user's Zyfai portfolio and active positions
- Review earnings, transaction history, and rebalancing information
- Prepare supported deposits and account actions when enabled
- Integrate Zyfai into any compatible Streamable HTTP MCP client
The server is built on @zyfai/sdk and uses remote Streamable HTTP transport.
Connect a client
| Client | How to connect | Positioning |
|---|---|---|
| Claude | Add a custom connector using the hosted endpoint | Recommended conversational experience |
| Cursor | Add the JSON configuration below | Developer workflows |
| Claude Code | Run the command below | Terminal and coding-agent workflows |
| Grok and Grok Bot | Add a Custom connector at grok.com/connectors | Longer-running and repeat agent workflows |
| ChatGPT | Limited private preview; currently desktop-only | Public distribution not yet available |
| Other clients | Configure the hosted URL as a remote Streamable HTTP server | Custom agents and integrations |
For current screenshots, authentication behaviour, mobile/desktop availability, and troubleshooting, see Use Zyfai with AI.
Cursor
{
"mcpServers": {
"zyfai": {
"url": "https://mcp.zyf.ai/mcp",
"transport": "http"
}
}
}
Claude Code
Run this outside an active Claude Code session:
claude mcp add --transport http zyfai https://mcp.zyf.ai/mcp
Claude
In Claude, open Settings → Connectors, add a custom connector, and use:
https://mcp.zyf.ai/mcp
Grok and Grok Bot
Open grok.com/connectors, select New Connector → Custom, and enter the hosted endpoint. In Grok Bot, attach the installed Zyfai connector with @ when needed.
Grok Bot is the better fit for longer-running or repeat workflows. Grok web also supports the connector for ad hoc conversations, although tool-heavy requests can take longer to complete.
Try it
Start with public opportunity discovery:
Using Zyfai, show me conservative USDC opportunities on Base. Compare APY, TVL, protocol, and risk.
Then compare strategies:
Now compare those with the aggressive strategy and explain the additional risk rather than recommending purely by APY.
After authentication:
Show my current Zyfai positions and earnings. Do not prepare any transaction.
For a controlled action flow:
Help me prepare a 1 USDC deposit on Base using the conservative strategy. Explain each step and ask before anything requiring a wallet signature.
Authentication and safety
Zyfai separates general discovery from personal account access.
- Opportunity and protocol discovery use public market and strategy data.
- Portfolio, position, earnings, history, and personalized tools require an authenticated Zyfai session.
- Supported write flows require authentication and may return a Zyfai signing URL.
- Connecting the MCP server does not transfer assets or give an AI custody of a wallet.
- The server never needs a seed phrase or raw private key from chat.
- Users should verify the chain, asset, amount, strategy, destination, and wallet request before signing.
OAuth challenges are returned through standard HTTP 401 and WWW-Authenticate responses so compatible clients can begin the authentication flow.
Documentation
| Audience | Start here |
|---|---|
| AI assistant users | Use Zyfai with AI |
| Application and agent developers | Zyfai SDK quickstart |
| SDK-based autonomous agents | Agent quickstart |
| MCP server contributors | AGENTS.md |
Run locally
Requirements: Node.js 18+ and pnpm.
git clone https://github.com/ondefy/zyfai-mcp-server
cd zyfai-mcp-server
cp .env.example .env
pnpm install
pnpm run check
pnpm start
Local endpoints:
- MCP:
http://localhost:3005/mcp - Health:
http://localhost:3005/health
Set ZYFAI_API_KEY in .env for live Zyfai API calls. See .env.example for authentication, backend, CORS, write-tool, and signing configuration.
For workspace-linked SDK development, local OAuth, integration testing, and the full repository architecture, read AGENTS.md.
Validate changes
pnpm run check
This runs TypeScript validation, the production build, and unit tests. Integration suites are opt-in; see AGENTS.md.
Related projects
This public server is separate from zyf-knowledge-mcp, Zyfai's internal code and documentation search service.
License
ISC
Signals
- GitHub stars
- 1
- Last commit
- Oct 2026
Advanced
- Delivery
- zyfai MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
io-github-ondefy-zyfai- Source
- github.com/ondefy/zyfai-mcp-server
- Hosted endpoint
https://mcp.zyf.ai/mcp
github.com/ondefy/zyfai-mcp-server
More in AI & models
MCP server · upstash
More in AI & modelsAdButler
MCP server · adbutler
More in AI & modelsatom-mcp-server
MCP server · a7om-ai
More in AI & modelsottasia
MCP server · aiweather-anurag
More in AI & modelsunphurl
MCP server · 123ergo
More in AI & modelsmicrosoft-learn-mcp
MCP server · microsoftdocs
More in AI & models