Build a DeFi AI Agent with Syenite

Syenite is an MCP server that gives AI agents structured access to DeFi: lending rates, yield opportunities, swap quotes, position alerts, and prediction markets — all through tool calls. An agent that can read data and prepare transactions is the foundation for lending bots, yield optimizers, alert systems, and more.

what you can build

quick start: add the mcp server

No API key required. Add the server URL to your MCP client config:

{
  "mcpServers": {
    "syenite": {
      "url": "https://syenite.ai/mcp"
    }
  }
}

Works in Cursor, Claude Desktop, and any MCP client. Rate limit: 30 requests per minute per IP. Call syenite.help to confirm the connection and see the full tool list.

lending

Query borrow and supply rates across protocols, assess risk for a proposed position, and prepare supply/borrow/repay calldata. The full lending workflow covers rate comparison, risk assessment, and execution in sequence.

"tool": "lending.rates.query",
"arguments": { "collateral": "wBTC", "borrowAsset": "USDC" }

See lending rates and risk and lending execution for full parameter references.

yield

Discover yield opportunities across vaults and protocols. Filter by asset, chain, and minimum APY. Results include protocol, APY, TVL, and risk tier so an agent can rank and recommend opportunities.

"tool": "yield.opportunities",
"arguments": { "asset": "USDC", "chain": "ethereum" }

See yield opportunities for details.

swap

Get swap quotes and bridge estimates across chains. The tool returns expected output, price impact, gas estimate, and unsigned transaction calldata. The agent presents the quote; execution requires a wallet signature.

"tool": "swap.quote",
"arguments": { "from": "ETH", "to": "USDC", "amount": "1", "chain": "ethereum" }

See swap and bridge for full parameter reference.

alerts

Register a wallet address for position monitoring. The agent polls for alerts and surfaces warnings before health factors reach liquidation thresholds. Works with any Aave v3, Morpho, or Spark position.

"tool": "alerts.watch",
"arguments": { "address": "0x...", "healthFactorThreshold": 1.5 }

See position alerts and carry screening for the full monitoring workflow.

prediction markets

Query open prediction markets, read current pricing and liquidity depth, and prepare trade calldata. The agent can evaluate market odds and present trades for user confirmation.

"tool": "prediction.markets.query",
"arguments": { "status": "open", "chain": "polygon" }

See prediction markets and strategy for details.

execution model

Tools that prepare transactions return unsigned calldata. The agent never submits transactions directly — it passes calldata to the user's wallet for signing and broadcast. Syenite does not hold keys or custody assets.

This design means an agent can reason over rates, risk, and yield without any custody risk. The agent handles intelligence; the wallet handles execution. For more on the trust model, see transaction trust layer and security and production use.

faq

Does Syenite execute transactions on my behalf?

No. Syenite tools that prepare transactions return unsigned calldata. Your agent or wallet submits the transaction. Syenite never holds keys or sends transactions.

Which agent frameworks work with Syenite?

Any framework that supports MCP works: Cursor, Claude Desktop, LangChain with MCP support, the OpenAI Agents SDK, and Coinbase AgentKit. Add the MCP server URL https://syenite.ai/mcp and the tools become available.

Is an API key required?

No API key is required for standard use. The server is rate-limited to 30 requests per minute per IP. For production agents making more frequent calls, contact Syenite for a production key.

see also

Quick start — first tool call in 5 minutes, lowest-friction path to a working DeFi MCP call. Compare Aave, Morpho & Compound — rate comparison in depth, useful for the lending agent pattern. MCP server DeFi tools reference — full tool list with parameters, chains, and categories.