# SCRIPTMASTERLABS — SwapGate

> SCRIPTMASTERLABS — SwapGate is a paid MCP server for crypto and web3. Non-custodial swap builder that gives AI agents unsigned, fee-itemized token swap. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API
- **Website:** https://sml-swapgate.timothy-walton45.workers.dev
- **MCP Registry name:** com.scriptmasterlabs/swapgate
- **Categories:** [crypto and web3](https://ai-powered.com/categories/crypto-and-web3)
- **Listing updated:** 2026-11-20

## About

SwapGate lets an AI agent request a token swap across chains and exchanges and receive back a ready-to-sign transaction. The agent's own wallet does the signing, so the service never holds funds or private keys. Each quote lists the route, estimated output, a guaranteed minimum received, and every fee before anything is signed.

A build is paid per request at 0.01 USDC on Base through the x402 protocol, with no subscription, account or API key. Routes with price impact above a set cap are refused with an explanation rather than built. Routing is handled by LI.FI and Jupiter, with a Solana same-chain path that carries no integrator fee in this version.

It is aimed at developers and autonomous agents that need to move value between networks as one step in a larger workflow.

## Features

- **Non-custodial unsigned transactions:** Returns an unsigned transaction that the agent or its wallet signs and submits itself.
- **Itemized fee quotes:** Every build lists the build fee, integrator fee, routing fee, bridge fees and gas before signing.
- **Guaranteed minimum received:** Each quote states a minimum output amount, and the transaction reverts if it is not met.
- **Price impact protection:** Refuses to build swaps whose price impact exceeds a configurable cap, with 3% as default and 5% as maximum.
- **Pay-per-build pricing:** Each build costs 0.01 USDC on Base via x402, with no account or API key needed.
- **Cross-chain routing:** A single request can route across many networks, bridges and exchanges via the underlying routing engines.

## Good for

- Letting an AI agent convert one token into another as part of a trading or treasury workflow
- Adding swap capability to an autonomous agent without managing custody or private keys
- Comparing the total fee cost of a cross-chain swap before committing funds
- Building agent payment or rebalancing flows that need a guaranteed minimum output

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http swapgate https://sml-swapgate.timothy-walton45.workers.dev/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "swapgate": {
      "type": "http",
      "url": "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://sml-swapgate.timothy-walton45.workers.dev/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "swapgate": {
      "url": "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "swapgate": {
      "type": "http",
      "url": "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://sml-swapgate.timothy-walton45.workers.dev/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add swapgate --url https://sml-swapgate.timothy-walton45.workers.dev/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.swapgate]
url = "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "swapgate": {
      "httpUrl": "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http swapgate https://sml-swapgate.timothy-walton45.workers.dev/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "swapgate": {
      "serverUrl": "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "swapgate": {
      "url": "https://sml-swapgate.timothy-walton45.workers.dev/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "swapgate": {
      "type": "streamableHttp",
      "url": "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "swapgate": {
      "url": "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "swapgate": {
      "url": "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "swapgate": {
      "url": "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "swapgate": {
      "url": "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://sml-swapgate.timothy-walton45.workers.dev/mcp
```

Enter a Name (for example "SCRIPTMASTERLABS — SwapGate"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "swapgate": {
      "type": "http",
      "url": "https://sml-swapgate.timothy-walton45.workers.dev/mcp"
    }
  }
}
```

## Tools

Going by the tool names, 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `swap_quote_build`: Build one non-custodial swap via POST /swap/build on this host ($0.01 USDC on Base via x402). Returns best route found at quote time, itemized fees, guaranteed minimum received, and an unsigned transaction. This MCP wrapper does not take payment itself: call the HTTP endpoint, answer its 402 challenge, and retry with PAYMENT-SIGNATURE.

## FAQ

### Does SwapGate hold the agent's coins?

No. It returns an unsigned transaction, and the agent signs in its own wallet. It never receives private keys or holds funds.

### What does the 0.01 USDC build fee buy?

One built swap, including the best route found at quote time, an estimated output, a guaranteed minimum, an itemized fee list and the unsigned transaction.

### Is the quoted output guaranteed?

The estimate is not guaranteed, but the stated minimum is. The transaction reverts if the minimum amount is not received.

### What happens if no route exists or the price impact is too high?

SwapGate refuses to build the swap and explains why.

### How do I add SCRIPTMASTERLABS — SwapGate to Claude Code?

Run this command in your terminal: claude mcp add --transport http swapgate https://sml-swapgate.timothy-walton45.workers.dev/mcp

### What are the best alternatives to SCRIPTMASTERLABS — SwapGate?

The closest alternatives to SCRIPTMASTERLABS — SwapGate are Paladin Swap, Tollbooth Swap API, HelmSwap, Stoa: swaps on Robinhood Chain and X402 Bazaar MCP.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Paladin Swap](https://ai-powered.com/mcp/paladin-swap): Paladin Swap is a freemium MCP server for crypto and web3.
- [Tollbooth Swap API](https://ai-powered.com/mcp/tollbooth-swap-api): Tollbooth Swap API is a freemium MCP server for crypto and web3.
- [HelmSwap](https://ai-powered.com/mcp/helmswap): HelmSwap is an open-source MCP server for crypto and web3.
- [Stoa: swaps on Robinhood Chain](https://ai-powered.com/mcp/stoa-swaps-on-robinhood-chain): Stoa: swaps on Robinhood Chain is a free MCP server for crypto and web3.
- [X402 Bazaar MCP](https://ai-powered.com/mcp/x402-bazaar-mcp): X402 Bazaar MCP is a freemium MCP server for crypto and web3.
- [Swaptitan](https://ai-powered.com/mcp/swaptitan): Swaptitan is a freemium MCP server for crypto and web3.
- [blueDEX](https://ai-powered.com/mcp/bluedex): blueDEX is an MCP server for crypto and web3.
- [BOB Gateway](https://ai-powered.com/mcp/bob-gateway): BOB Gateway is an MCP server for crypto and web3.

---
Source: https://ai-powered.com/mcp/scriptmasterlabs-swapgate
