Documentation Index
Fetch the complete documentation index at: https://docs.leokit.dev/llms.txt
Use this file to discover all available pages before exploring further.
Quick Setup
Get LeoKit’s cross-chain swap tools integrated into Claude Desktop in under 2 minutes.Prerequisites:
- Claude Desktop installed
- A LeoKit API key from dash.leokit.dev
Setup Options
Remote Server
Use our hosted MCP server - no installation required
Local Installation
Run the MCP server on your machine via npm
Remote Server (Recommended)
Step 1: Get Your API Key
- Visit dash.leokit.dev
- Sign up or log in
- Navigate to API Keys section
- Create a new API key
Step 2: Configure Claude Desktop
Add this configuration to your Claude Desktop config file: Config File Location:- macOS/Linux:
~/.config/claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Step 3: Restart Claude Desktop
Close and reopen Claude Desktop to load the new configuration.Step 4: Verify Setup
Test the integration by asking Claude:leokit_get_quote, leokit_create_deposit, etc.
Local Installation
If you prefer to run the MCP server locally:Step 1: Install via NPM
Step 2: Configure Claude Desktop
Add this configuration:Step 3: Restart and Verify
Restart Claude Desktop and verify as described above.One-Line Setup Scripts
For automated setup, use our installation scripts:Available Tools
Once configured, you can use these tools through Claude:leokit_get_quote
leokit_get_quote
Get swap quotes from multiple DEX protocols across 30+ blockchains.Example: “Get me a quote for swapping 1 ETH to USDC”
leokit_create_deposit
leokit_create_deposit
Generate unsigned transactions for executing swaps.Example: “Create a deposit transaction for quote ID abc123”
leokit_check_status
leokit_check_status
Check the status of a swap transaction.Example: “Check the status of my swap with transaction hash 0x…”
leokit_get_assets
leokit_get_assets
List all supported tokens and chains.Example: “Show me all available assets on Arbitrum”
leokit_get_balances
leokit_get_balances
Check wallet balances across multiple chains.Example: “Check my ETH balance at 0x…”
Example Usage
Here’s how to use LeoKit tools through Claude:Review Options
Claude will fetch quotes from multiple protocols (THORChain, MAYAChain, Chainflip, etc.) and present the best options.
Troubleshooting
Tools Not Appearing
Tools Not Appearing
Solutions:
- Verify your API key is correct
- Check the config file path matches your OS
- Ensure Claude Desktop was fully restarted
- Check for JSON syntax errors in the config file
Authentication Errors
Authentication Errors
Solutions:
- Confirm your API key is active in the dashboard
- Verify the API key is correctly placed in the config
- Check that there are no extra spaces in the Bearer token
Connection Issues
Connection Issues
Solutions:
- For remote setup: Check internet connection
- For local setup: Verify npm package is installed
- Check firewall settings aren’t blocking connections
Advanced Configuration
Custom API Endpoint
To use a self-hosted LeoKit API:Multiple Configurations
You can run both local and remote setups simultaneously with different names:Need Help?
- Dashboard: dash.leokit.dev
- Documentation: docs.leokit.dev
- Support: Join our Discord
Next Steps
MCP Integration Guide
Learn more about using MCP tools
Complete Swap Flow
Understand the full swap process