Back to Discover

syenite

connector

syenite-ai

DeFi interface for AI agents: swap, bridge, yield, lending. Live at syenite.ai.

View on GitHub
0 starsSynced Aug 6, 2026

Install to Claude Code

/plugin marketplace add syenite-ai/syenite

README

Syenite — DeFi MCP Server for AI Agents

Retired. The hosted endpoint at syenite.ai/mcp has been shut down, and the package is deprecated on npm. The source remains here, unmaintained, under MIT.

Syenite ran from March to August 2026. It can still be run locally — see Running It Yourself — but nothing is hosted and no support is offered.

A DeFi interface for AI agents via the Model Context Protocol (MCP). One endpoint covered lending rates across Aave, Morpho, Compound, and Spark; yield discovery; swap and bridge routing across 30+ chains; Polymarket and Kalshi prediction markets; position alerts; and a trust layer that verified and simulated calldata before signing.


What It Does

Syenite is an MCP server that gives AI agents composable access to DeFi. Agents can query borrow and supply rates across every major lending protocol, find yield opportunities from lending and staking to Pendle fixed-rate markets, route swaps and bridges via LI.FI aggregation, read Polymarket prediction markets and signals, and set webhook alerts for health factor changes. All execution tools return unsigned calldata — the agent passes it to a connected wallet; Syenite never holds keys.


Running It Yourself

The hosted endpoint is gone, but stdio mode is self-contained — it talks directly to Aave, Morpho, LI.FI, Polymarket, and Kalshi, with no dependency on syenite.ai. Build from source:

git clone https://github.com/syenite-ai/syenite.git
cd syenite/mcp && npm install && npm run build

Then point an MCP client at it:

{
  "mcpServers": {
    "syenite": {
      "command": "node",
      "args": ["/absolute/path/to/syenite/mcp/dist/stdio.js"]
    }
  }
}

The last version published to npm was 0.5.0; this repo is at 0.6.3, so building from source is the only way to get the Kalshi and cross-exchange prediction tools.

Two caveats: the four alerts.* tools need a Postgres instance (DATABASE_URL) and will fail without one, and some upstream APIs may have changed since this stopped being maintained. Call syenite.help for the tool catalogue.


Tools

Lending Rates

ToolWhat it doesProtocols / chains
lending.rates.queryBorrow and supply rates for any assetAave v3, Morpho Blue, Spark, Compound v3, Fluid — Ethereum, Arbitrum, Base
lending.market.overviewAggregate TVL, utilisation, rate ranges per protocolSame protocols
lending.position.monitorHealth factor, liquidation distance, and cost for any addressAave v3, Morpho Blue, Spark
lending.risk.assessRisk assessment for a proposed lending positionSame protocols
strategy.carry.screenScreen all markets for positive carry (supply APY > borrow APY)All lending protocols

Lending Execution

ToolWhat it doesProtocols / chains
lending.supplyUnsigned calldata to supply collateralAave v3, Morpho Blue, Spark, Compound v3
lending.borrowUnsigned calldata to borrow an assetSame protocols
lending.withdrawUnsigned calldata to withdraw supplied collateralSame protocols
lending.repayUnsigned calldata to repay a borrowSame protocols

Yield

ToolWhat it doesProtocols / chains
yield.opportunitiesBest yield across lending, staking, vaults, Pendle, and savings rateAave, Morpho, Spark, Lido, Rocket Pool, Pendle, Yearn, Ethena, Maker DSR
yield.assessDeep risk assessment for a specific yield strategyAll sources
find.strategyComposable scan: yield, carry, gas, optional prediction signalsCross-protocol

Carry Trade

ToolWhat it doesProtocols / chains
strategy.carry.screenFind assets where supply APY exceeds borrow APY across all marketsAave v3, Morpho, Compound, Spark

Swap & Bridge

ToolWhat it doesProtocols / chains
swap.quoteOptimal swap or bridge quote with unsigned tx calldataLI.FI aggregation — 30+ chains
swap.multiBatch up to 10 swap/bridge quotes in parallelSame
swap.statusTrack cross-chain bridge deliverySame

Prediction Markets

ToolWhat it doesProtocols / chains
prediction.trendingTop Polymarket events by volume — probabilities, liquidity, spreadPolymarket
prediction.searchSearch prediction markets by topicPolymarket
prediction.bookOrder book depth and spread for an outcome tokenPolymarket
prediction.signalsActionable signals: extreme probabilities, volume, mispricing-style flagsPolymarket

Position Alerts

ToolWhat it doesProtocols / chains
alerts.watchRegister an address for health factor monitoring; optional webhookUrl for pushAave v3, Morpho Blue, Spark
alerts.checkPoll for active alerts on watched addressesSame
alerts.listList all active watches
alerts.removeRemove a watch

Wallet & Gas

ToolWhat it doesProtocols / chains
wallet.balancesNative and stablecoin balancesEthereum, Arbitrum, Base, BNB Chain
gas.estimateLive gas prices and per-operation cost estimates; finds the cheapest chainSame

Trust Layer

ToolWhat it doesProtocols / chains
tx.verifyVerify a contract via Etherscan, Sourcify, and Syenite protocol registry; surfaces risk flagsAny EVM chain
tx.simulateeth_call simulation: revert detection, gas estimate, native value effectsEthereum, Arbitrum, Base
tx.guardApply your own rules: value caps, allowlists, blocklists, registry requirement
tx.receiptPost-signing confirmation: status, gas cost, decoded events, token transfersAny EVM chain

Supported Protocols

ProtocolCategoryWhat Syenite provides
Aave v3LendingSupply/borrow rates, position monitoring, execution calldata
Morpho BlueLendingSupply/borrow rates, market overview, execution calldata
Compound v3LendingSupply/borrow rates, execution calldata
SparkLendingSupply/borrow rates, position monitoring, execution calldata
PendleYieldFixed-rate and yield-tokenisation opportunities via yield.opportunities
LI.FISwap/bridgeAggregated routing across DEXs and bridges on 30+ chains
PolymarketPrediction marketsMarket data, order books, trending events, actionable signals

Supported Chains

Swap and bridge (via LI.FI): Ethereum, Arbitrum, Base, Optimism, Polygon, BNB Chain, Avalanche, zkSync, Linea, Scroll, Gnosis, Fantom, and 20+ more.

Lending rates, execution, and position monitoring: Ethereum, Arbitrum, Base (per protocol availability).

Wallet, gas, and trust simulation: Ethereum, Arbitrum, Base, BNB Chain.


How Execution Works

All execution tools (lending.supply, lending.borrow, lending.withdraw, lending.repay, swap.quote) return unsigned transactionRequest objects — calldata ready to sign. The recommended flow:

  1. Get the calldata from the relevant tool.
  2. Run tx.verify and tx.simulate to check the contract and preview effects.
  3. Optionally run tx.guard to enforce value caps or allowlists.
  4. Sign and submit from your own wallet.
  5. Confirm with tx.receipt.

Syenite never holds private keys or custody of funds.


Agent Integration

Syenite is designed for agent-native DeFi workflows. Every tool is an atomic primitive: agents compose them to achieve outcomes like "find the best lending rate for wBTC, supply collateral, and set a health factor alert."

The server included scaffolding for ERC-8004 on-chain agent registration (Ethereum, Arbitrum, Base, BNB Chain) via src/scripts/register-agent.ts, and served an x402-flagged .well-known/agent-registration.json. No agent IDs were ever configured in production, so the served registration list was always empty.

The server.json manifest includes a systemPrompt field that MCP clients can inject to orient the agent on Syenite's capabilities automatically.

Call syenite.help for the full capability overview including all tool parameters.


Yield Sources

SourceType
Aave v3, Morpho Blue, Spark, Compound v3Lending supply APY
Lido (stETH/wstETH), Rocket Pool (rETH), Coinbase (cbETH)Liquid staking
Maker DSR (sDAI)Savings rate
MetaMorpho (Steakhouse, Gauntlet), Yearn v3Vaults
PendleFixed-rate / yield tokenisation
Ethena (sUSDe)Basis capture

Project Structure

syenite/
├── mcp/          # MCP DeFi server (live at syenite.ai/mcp)
├── docs/         # Architecture, planning, research, commercial
├── contracts/    # Solidity vault contracts (parallel build)
├── keeper/       # Keeper agent infrastructure
└── frontend/     # Minimal UI

Status

Retired as of August 2026. The hosted endpoint, the docs site, and the usage dashboard are all offline. @syenite/mcp is deprecated on npm and the MCP Registry listing has been removed.

Final tally: 46 tools across 8 protocol families, ~20k lines of TypeScript, and 574 logged calls over five months — most of them from an automated registry health-check rather than real users.

Source: github.com/syenite-ai/syenite · MIT

Rendered live from syenite-ai/syenite's GitHub README — not stored, always reflects the source repo.

2 Install Methods

NameDescriptionCategorySource
npm packageInstall via npm (stdio transport)mcp-server@syenite/mcp
streamable-http remoteHosted streamable-http endpointmcp-serverhttps://syenite.ai/mcp

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.