Skip to main content

Quick Setup

Get LeoKit’s cross-chain swap tools integrated into Claude Desktop in under 2 minutes.
Prerequisites:

Setup Options

Remote Server

Use our hosted MCP server - no installation required

Local Installation

Run the MCP server on your machine via npm

Step 1: Get Your API Key

  1. Visit dash.leokit.dev
  2. Sign up or log in
  3. Navigate to API Keys section
  4. 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
Configuration:
Replace YOUR-LEOKIT-API-KEY with your actual API key from the dashboard

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:
You should see tools like 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:
Get swap quotes from multiple DEX protocols across 30+ blockchains.Example: “Get me a quote for swapping 1 ETH to USDC”
Generate unsigned transactions for executing swaps.Example: “Create a deposit transaction for quote ID abc123”
Check the status of a swap transaction.Example: “Check the status of my swap with transaction hash 0x…”
List all supported tokens and chains.Example: “Show me all available assets on Arbitrum”
Check wallet balances across multiple chains.Example: “Check my ETH balance at 0x…”

Example Usage

Here’s how to use LeoKit tools through Claude:
1

Get a Quote

2

Review Options

Claude will fetch quotes from multiple protocols (THORChain, MAYAChain, Chainflip, etc.) and present the best options.
3

Create Transaction

4

Execute

Claude will generate the unsigned transaction. You can then sign and broadcast it using your preferred wallet.

Troubleshooting

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
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
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:
Then set the environment variable:

Multiple Configurations

You can run both local and remote setups simultaneously with different names:

Need Help?

Next Steps

MCP Integration Guide

Learn more about using MCP tools

Complete Swap Flow

Understand the full swap process