atv
Provides tools for discovering, analyzing, and interacting with DeFi yield vaults on the Ethereum blockchain, including vault metadata, performance metrics, and transaction building for deposits, withdrawals, and staking.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@atvShow my portfolio across all Aarna vaults"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ATV — DeFi Yield Vault MCP Server
AI-native access to Aarna's tokenized yield vaults on Ethereum and Base. 20 tools for vault discovery, performance metrics, transaction building, and portfolio tracking.
API Base URL: https://atv-api.aarna.ai
MCP Endpoint: https://atv-api.aarna.ai/mcp (Streamable HTTP)
API Docs: https://atv-api.aarna.ai/docs
API Access
The hosted API at https://atv-api.aarna.ai is available to anyone with a valid API key. All requests require an x-api-key header.
To get an API key, reach out to us at dev@aarnalab.dev.
Quick Start (30 seconds)
Once you have your API key, add the config to your client:
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"atv": {
"url": "https://atv-api.aarna.ai/mcp",
"headers": { "x-api-key": "YOUR_API_KEY" }
}
}
}Claude Code
claude mcp add atv --transport http https://atv-api.aarna.ai/mcp --header "x-api-key: YOUR_API_KEY"Cursor
Create .cursor/mcp.json in your project root:
{
"mcpServers": {
"atv": {
"url": "https://atv-api.aarna.ai/mcp",
"headers": { "x-api-key": "YOUR_API_KEY" }
}
}
}VS Code (Copilot)
Add to .vscode/settings.json:
{
"mcp": {
"servers": {
"atv": {
"url": "https://atv-api.aarna.ai/mcp",
"headers": { "x-api-key": "YOUR_API_KEY" }
}
}
}
}mcp-remote (fallback for stdio-only clients)
{
"mcpServers": {
"atv": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://atv-api.aarna.ai/mcp", "--header", "x-api-key:YOUR_API_KEY"]
}
}
}Available Tools (19)
Discovery & Metadata
Tool | Description |
| List all vaults, optionally filter by chain |
| Get metadata for a specific vault by address |
Performance Metrics
Tool | Description |
| Current NAV (Net Asset Value) in USD |
| Current TVL (Total Value Locked) in USD |
| APY breakdown: base + reward + total |
Operational Status
Tool | Description |
| Whether deposits are paused |
| Whether withdrawals are paused |
| Whether queued withdrawals are paused |
Transaction Builders (Instant)
Tool | Description |
| Build approve + deposit transaction steps |
| Build withdrawal transaction steps |
| Build approve + stake steps (timelock vaults) |
| Build unstake step (timelock vaults) |
Transaction Builders (Queued)
Tool | Description |
| Initiate a queued withdrawal |
| Cancel a pending queued withdrawal |
| Claim a completed queued withdrawal |
Analytics
Tool | Description |
| Underlying token portfolio |
| NAV data points over a period (7, 30, 60, 360, max) |
| TVL data points over a period (7, 30, 60, 360, max) |
| Platform-wide or per-vault TVL |
| User portfolio and positions |
Example Prompts
"What DeFi vaults are available on Base?"
"What's the current APY for vault 0x...?"
"Build a deposit of 1000 USDC into vault 0x..."
"Show my portfolio across all Aarna vaults"
"Is the queue-withdraw paused on vault 0x...?"
REST API
All endpoints require x-api-key header and are prefixed with /v1.
Vault Endpoints
Method | Path | Description |
GET |
| List all available vaults |
GET |
| Platform-wide TVL |
GET |
| Vault metadata |
GET |
| NAV price |
GET |
| Vault TVL |
GET |
| APY breakdown |
GET |
| Deposit pause status |
GET |
| Withdraw pause status |
GET |
| Queue-withdraw pause status |
GET |
| Token portfolio |
GET |
| Historical NAV (days: 7,30,60,360,max) |
GET |
| Historical TVL (days: 7,30,60,360,max) |
Transaction Endpoints
Method | Path | Description |
GET |
| Build deposit calldata |
GET |
| Build withdraw calldata |
GET |
| Build stake calldata |
GET |
| Build unstake calldata |
GET |
| Build queue-withdraw calldata |
GET |
| Build unqueue-withdraw calldata |
GET |
| Build redeem-withdraw calldata |
Other Endpoints
Method | Path | Description |
GET |
| User portfolio data |
ALL |
| MCP server (Streamable HTTP) |
Unauthenticated
Method | Path | Description |
GET |
| Health check |
GET |
| OpenAPI 3.1 spec |
GET |
| Interactive API reference |
GET |
| LLM-friendly documentation (llms.txt spec) |
GET |
| A2A agent card |
TypeScript SDK
import { AtvClient } from '@atv/sdk';
const client = new AtvClient({
apiKey: 'atv_...',
baseUrl: 'https://atv-api.aarna.ai',
});
const vaults = await client.vaults.list({ chain: 'base' });
const nav = await client.vaults.nav('0xVaultAddress');Self-Hosting
docker build -t atv-api \
--build-arg AWS_ACCESS_KEY_ID=... \
--build-arg AWS_SECRET_ACCESS_KEY=... \
--build-arg AWS_DEFAULT_REGION=us-east-1 .
docker run -p 3000:3000 atv-apiRequired environment variables (set in AWS Secrets Manager under atv-sdk):
DATABASE_URL— PostgreSQL connection stringREDIS_URL— Redis host:portRPC_URL_ETHEREUM— Ethereum JSON-RPC endpointRPC_URL_BASE— Base JSON-RPC endpointSTRAPI_URL— CMS URLSTRAPI_API_TOKEN— CMS API tokenENGINE_BASE_URL— Aarna engine API
Development
Prerequisites
Node.js 20+
pnpm
PostgreSQL
Redis
Setup
pnpm install
cp .env.example apps/api/.env
# Fill in environment variables
pnpm migrate
pnpm devAPI: http://localhost:3000 | Docs: http://localhost:3000/docs
Repository Structure
atv-sdk/
├── apps/api/ # Express API server + MCP server
├── packages/sdk/ # TypeScript SDK (@atv/sdk)
├── packages/mcp-server/ # npm connector package (@aarna-ai/mcp-server-atv)
├── server.json # MCP registry manifest
└── docs/ # GuidesBuild
pnpm build
# API: apps/api/dist/
# SDK: packages/sdk/dist/ (CJS + ESM)Customer Onboarding
See docs/customer-onboarding.md for how to generate API keys, manage tiers, revoke access, and run admin queries.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aarna-ai/atv-sdk'
If you have feedback or need assistance with the MCP directory API, please join our Discord server