GhostSwap logo

GhostSwap

Non-custodial crypto swaps through GhostSwap's MCP server, with quotes, address validation, swap creation, and status checks.

Install GhostSwap

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ghostswap": {
      "command": "npx",
      "args": [
        "-y",
        "@ghostswapio/mcp"
      ],
      "env": {
        "GHOSTSWAP_PUBLIC_KEY": "YOUR_VALUE_HERE",
        "GHOSTSWAP_SECRET": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env GHOSTSWAP_PUBLIC_KEY=YOUR_VALUE_HERE --env GHOSTSWAP_SECRET=YOUR_VALUE_HERE --transport stdio ghostswap -- npx -y @ghostswapio/mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @ghostswapio/mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

GhostSwap MCP server connects AI agents and coding assistants to GhostSwap's no-KYC, non-custodial crypto-to-crypto swap engine. It exposes typed tools for listing currencies, checking pairs, validating addresses, requesting quotes, creating swaps, and retrieving swap status. Use the hosted Streamable HTTP endpoint without credentials, or run the npm server with partner credentials when swaps need attribution. The repository also includes OpenAPI, Claude, Cursor, and agent-instruction files for other runtimes.

Use cases

  • Quote a crypto-to-crypto swap from a conversational agent
  • Validate a destination address before creating a swap
  • Create swaps attributed to a partner credential
  • Check the status of an existing swap
  • Expose GhostSwap operations through an OpenAPI-based agent

Key features

  • Supports swaps across 1,600+ coins
  • Lists currencies and checks trading pairs
  • Validates destination addresses
  • Requests quotes and creates swaps
  • Retrieves swap status
  • Provides hosted HTTP and local stdio deployment options

Tools7

What GhostSwap lets your agent do. Expand a tool for its parameters.

Verified live~1.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 84d

What it can do

From the 7 tools this server returned when we ran it.

Runs commands · 1Read-only tools · 6
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age143 days
Maintainers1

Observed 2026-10-28 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @ghostswapio/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
npm downloads229Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed7Callable tools this server registers over MCP.

How GhostSwap works

What GhostSwap MCP server does

GhostSwap MCP server gives MCP-compatible clients access to GhostSwap's crypto-to-crypto exchange flow. GhostSwap supports swaps across more than 1,600 coins and operates as a no-KYC, non-custodial service. The integration is intended for conversational agents, coding assistants, and applications that need to discover assets, prepare a swap, and follow its progress.

The repository is a distribution pack rather than only an MCP implementation. It includes the MCP server, a Claude Skill, an OpenAPI 3.1 description for GPT Actions, Cursor project rules, an AGENTS.md file, and related instruction files for tools that load repository guidance.

How it works

A client can connect to the hosted MCP endpoint at https://mcp.ghostswap.io/mcp using Streamable HTTP. The repository also documents /sse as an available endpoint. The hosted option does not require installation, a partner account, or an API key.

For local use, the npm package @ghostswapio/mcp runs as a standard MCP process. The documented configuration passes a public and secret partner credential through environment variables. This path is appropriate when swaps must be associated with the integrator's partner credential.

The hosted server exposes six named tools: list_currencies, get_pair, validate_address, get_quote, create_swap, and get_swap. Agents can use the tools in sequence: identify supported currencies, inspect a pair, validate a destination, obtain a quote, create the swap, and check its status.

Setup and configuration

For a remote connection, add https://mcp.ghostswap.io/mcp as a custom MCP connector or configure it as the server URL in an MCP client. No local package or credential is needed for this route.

For a local stdio setup, use a configuration equivalent to:

config.json
{
  "mcpServers": {
    "ghostswap": {
      "command": "npx",
      "args": ["-y", "@ghostswapio/mcp"],
      "env": {
        "GHOSTSWAP_PUBLIC_KEY": "gspk_live_...",
        "GHOSTSWAP_SECRET": "gssk_live_..."
      }
    }
  }
}

The README provides placements for Claude Desktop, Cursor, Windsurf, and Continue. Claude Code can use the repository's plugin or copy the included Skill into ~/.claude/skills/. OpenAI Agents SDK and Vercel AI SDK examples use the local stdio server. LangChain can use either the MCP server or the published OpenAPI description.

Tools and capabilities

GhostSwap MCP server supports these documented operations:

  • List available currencies.
  • Inspect whether a currency pair is available.
  • Validate a destination address.
  • Request a swap quote.
  • Create a crypto-to-crypto swap.
  • Retrieve swap information or status.

The same API can also be consumed through the OpenAPI 3.1 file. The repository documents a GPT Action setup using the partner API, bearer authentication, and the hosted OpenAPI document. That route is separate from MCP but uses the same GhostSwap partner service.

Limitations and notes

The hosted endpoint is the simplest option, but it does not attribute swaps to a partner credential. Use the npm server with GHOSTSWAP_PUBLIC_KEY and GHOSTSWAP_SECRET when partner attribution is required.

The integration does not manage wallets or custody funds. Users or the surrounding application remain responsible for providing the required swap details and completing the wallet-side transaction flow.

The repository also contains instructions for ChatGPT, GitHub Copilot, Gemini Code Assist, Aider, OpenAI Agents SDK, Vercel AI SDK, and LangChain. Some of those surfaces consume files or OpenAPI rather than connecting directly through MCP.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about GhostSwap

GhostSwap is an MCP server that connects AI clients to the GhostSwap crypto-to-crypto swap engine. Its main tools list currencies, inspect pairs, validate addresses, get quotes, create swaps, and retrieve swap details. It supports a hosted endpoint without credentials or a local npm deployment using partner credentials.

Use the hosted endpoint for no-install access, or run `npx -y @ghostswapio/mcp` in an MCP client's stdio configuration. Local setup requires `GHOSTSWAP_PUBLIC_KEY` and `GHOSTSWAP_SECRET`; the README provides configuration examples for Claude Desktop, Cursor, Windsurf, and Continue.

Yes. Cursor can connect through its MCP configuration using either the hosted URL or the local `@ghostswapio/mcp` package. The repository also includes optional Cursor project rules, which are separate from the typed MCP tools.

Yes, through the hosted MCP endpoint at `https://mcp.ghostswap.io/mcp`. Local npm deployments use partner credentials when swaps need attribution.

GhostSwap exposes tools for listing currencies, checking a pair, validating an address, getting a quote, creating a swap, and retrieving swap information. The hosted configuration documents these six tool names explicitly.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGhostSwap AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ghostswap?style=directory)](https://allmcps.com/mcp/ghostswap)
HTML Embed
<a href="https://allmcps.com/mcp/ghostswap"><img src="https://allmcps.com/api/badge/ghostswap?style=directory" alt="GhostSwap on AllMCPs" /></a>