Discover DeFi yield opportunities and manage Zyfai positions with self-custodial AI agents.
One address for any MCP client. You sign in at api.zyf.ai once, after adding it.
Not assessed yet.
Odel charges nothing per call. The publisher may charge for its own service.
| Access to | Read | Change |
|---|---|---|
| Mcp |
From the sign-in at api.zyf.ai, as the endpoint publishes it. You approve it there.
Odel could not list its tools without signing in.
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.
The server is built on @zyfai/sdk and uses remote Streamable HTTP transport.
| 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.
{
"mcpServers": {
"zyfai": {
"url": "https://mcp.zyf.ai/mcp",
"transport": "http"
}
}
}
Run this outside an active Claude Code session:
claude mcp add --transport http zyfai https://mcp.zyf.ai/mcp
In Claude, open Customize → Connectors, add a custom connector named Zyfai, and set the remote MCP URL to https://mcp.zyf.ai/mcp. Select Continue, then sign in. Full click-path: Use Zyfai with AI.
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.
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.
Zyfai separates general discovery from personal account access.
OAuth challenges are returned through standard HTTP 401 and WWW-Authenticate responses so compatible clients can begin the authentication flow.
| 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 |
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:
http://localhost:3005/mcphttp://localhost:3005/healthSet 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.
pnpm run check
This runs TypeScript validation, the production build, and unit tests. Integration suites are opt-in; see AGENTS.md.
This public server is separate from zyf-knowledge-mcp, Zyfai's internal code and documentation search service.
ISC