Swap Api MCP Server

That's it. The response contains everything you need to sign and broadcast.

Local serverstdioTypeScript

What is the Swap Api MCP Server?

That's it. The response contains everything you need to sign and broadcast.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
chainIdpath
tokenInquery
tokenOutquery
amountquery
senderquery
maxSlippagequery

How to install the Swap Api MCP Server

claude mcp add swap-api --env CHAIN_ID=your-value --env PRIVATE_KEY=your-value -- npx -y @swapapi/mcp

Configuration

VariableDescriptionRequired
CHAIN_IDConfiguration value read at startup.Optional
PRIVATE_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Swap Api to Param.”
  • “Use Swap Api to chainId.”
  • “Use Swap Api to tokenIn.”

Frequently asked questions

That's it. The response contains everything you need to sign and broadcast. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.