1. DeFindex MCP Server
The Model Context Protocol (MCP) server exposes the full DeFindex documentation to any compatible AI assistant, including Claude, so it can answer questions about vaults, strategies, API endpoints, and SDK usage without you having to paste docs manually.What is it?
The DeFindex MCP server (https://docs.defindex.io/mcp) gives AI tools direct, searchable access to these docs. Ask your AI assistant about deposit flows, vault roles, APY calculations, or any other DeFindex concept and it will answer from the latest documentation.
Add to Claude Code (CLI)
Add the following to your project’s.claude/settings.json or to your global ~/.claude/settings.json:
mcp__Defindex__* tools.
Add to Claude.ai (Web)
- Open Claude.ai → Settings → Integrations → Add MCP Server
- Enter the server URL:
https://docs.defindex.io/mcp - Give it a name (e.g.
DeFindex Docs) and save
Add to Claude Desktop
In yourclaude_desktop_config.json:
Example Queries
Once configured, you can ask your AI assistant:- “How do I deposit into a DeFindex vault?”
- “What roles does a DeFindex vault have?”
- “Show me the withdraw-shares endpoint”
- “How is APY calculated in DeFindex?”
- “What is a dfToken?“
2. Claude Code Skill — defindex-api
The defindex-api skill is a Claude Code playbook that gives the model a complete, structured reference for the DeFindex REST API. It covers authentication, every endpoint, request/response shapes, error handling, and code examples.
What it does
When invoked, the skill provides Claude Code with:- Auth flow — generate an API key in the console → send it as a Bearer token
- User operations — deposit, withdraw, withdraw-shares, balance, APY, discover vaults
- Vault administration — roles (get/set), rebalance, lock/release/distribute fees, rescue, pause/unpause strategies, upgrade WASM
- Factory — create-vault, create-vault-deposit, create-vault-auto-invest
- Submit transactions — POST
/sendfor signed XDRs - Rate limits — tier configs and retry patterns
Installation
Clone the skill repository into your Claude Code skills directory:How to use it
In Claude Code, type:Related Skills
stellar-dev— general Stellar and Soroban development playbook.
Getting Your API Key
Before you can call protected endpoints, you need an API key:- Open the DeFindex Console and create your account, or log in.
- Go to API Keys and click Generate API Key.