mcpField
1
1inch-mcp-server

1inch-mcp-server

github.com/1inchOther277 installsUpdated 7w ago
Repository

About 1inch-mcp-server

A hub skill for connecting clients to the 1inch MCP server and selecting companion skills for specific 1inch domains. It documents available tools, authentication steps, and client setup options.

Key features

  1. 01Maps domain skills to tasks
  2. 02Lists server tools and access requirements
  3. 03Explains authentication flow
  4. 04Provides client connection setup guidance
  5. 05Describes wallet-based signing behavior

Use cases

  1. 01Configuring a client for the 1inch MCP server
  2. 02Choosing a skill for swaps or limit orders
  3. 03Looking up wallet and market data workflows
  4. 04Setting up WalletConnect signing

MCP support

Connects clients to the 1inch MCP server at the documented Streamable HTTP endpoint, with a stdio option for Claude Desktop. The server provides tools for swaps, orders, product APIs, documentation search, authentication, and optional WalletConnect, Aqua, and debugging functions.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/1inch/1inch-ai --skill 1inch-mcp-server

After installing, type/1inch-mcp-serverin Claude Code to confirm it loaded.

Bundled filesreferences/AUTH.mdreferences/TOOLS.md

Details

From the project README

1inch MCP Server

Hub skill for wiring the 1inch MCP server. Companion domain skills teach exact workflows:

SkillWhen to load
1inch-swapClassic / Fusion / cross-chain swaps
1inch-orderbookLimit orders
1inch-wallet-dataPortfolio, balances, history, NFTs, token metadata via product_api
1inch-market-dataSpot prices, gas price, charts via product_api
1inch-infrastructureWeb3 RPC, tx gateway, domains via product_api
1inch-walletconnectNon-custodial wallet pairing
1inch-aquaAqua strategy analytics
1inch-debugOrg-scoped request log lookup

Server URL (production)

https://api.1inch.com/mcp/protocol (Streamable HTTP)

Tools overview

ToolAuthPurpose
searchPublicSearch 1inch docs and API reference
list_examples / get_examplePublicSDK example packages
authenticateAuthenticatedStart or confirm 1inch Business login
swapAuthenticatedQuotes and swap execution
orderbookAuthenticatedBuild/create/list/cancel limit orders
product_apiAuthenticatedCall other 1inch product APIs
walletconnectPublic (optional)Pair/sign/send via WalletConnect
aquaPublic reads (optional)Aqua strategy analytics
debugAuthenticated (optional)Org-scoped request log lookup

Full parameters: references/TOOLS.md. Auth: references/AUTH.md.

Initialize HTTP 200 is still anonymous. Call authenticate before paid tools; on HTTP 401 complete OAuth, then call authenticate again.

Signing flows: when the walletconnect tool is available, prefer connecting the user's wallet first — swap, orderbook, and aqua writes then execute through the connected wallet by default (execute defaults to true) and the user only approves prompts in their wallet app. See the 1inch-walletconnect skill.

Client setup (summary)

ClientTransportConfig
CursorHTTPMarketplace plugin Setup → Edit Values, or .cursor/mcp.json
VS Code CopilotHTTP.vscode/mcp.json → type: "http", same URL
Claude Code / Codex / Gemini CLIHTTPCLI mcp add with --transport http
Claude Desktopstdionpx -y supergateway --streamableHttp <URL> --outputTransport stdio

Progressive disclosure

Load a domain skill above when the task matches. If a product_api path 404s, fetch file://1inch-mcp/guides/api-index or call search.

Comments

Markdown supported