ghostswap-agents
Official multi-LLM agent pack for the GhostSwap Partners API (no-KYC crypto swaps, 1,600+ coins). MCP server, OpenAPI 3.1, Anthropic Agent Skill, AGENTS.md, Cursor/Copilot/Windsurf rules, ChatGPT GPT Action.
Install / Use
claude mcp add ghostswap1 -- npx -y github:ghostswap1/ghostswap-agentsIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Our assessment of ghostswap-agents
ghostswap-agents scores 83/100 on our quality scale, 665th of 939 AI & Machine Learning skills we index.
Its MCP Server is 22 KB long, well organised into 28 sections with 17 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 18 days ago, so ghostswap-agents is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
ghostswap-agents compared with similar skills
All 4 of these similar skills score higher than ghostswap-agents; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| ghostswap-agents (this skill)by ghostswap1 | 83 | 3 | 18d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 106.6k | 5d ago | CLAUDE.md |
| claude-memby thedotmack | 100 | 105.3k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 89.0k | 4d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.3k | today | CLAUDE.md |
Frequently asked questions
- How do I install ghostswap-agents?
- Run
claude mcp add ghostswap1 -- npx -y github:ghostswap1/ghostswap-agents. The install tabs above show the steps for each supported agent. - Which AI agents does ghostswap-agents work with?
- It is written for Claude Code, Claude Desktop, Cursor, GitHub Copilot, Windsurf and OpenAI Codex, as a MCP Server file. Other agents that read the same format can often use it too.
- Is ghostswap-agents safe to use?
- It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is ghostswap-agents still maintained?
- The repository was last updated 18 days ago, so ghostswap-agents is actively maintained.
Skill content
View source on GitHubghostswap-agents
The official multi-LLM agent integration pack for GhostSwap — a no-KYC crypto-to-crypto swap engine supporting 1,600+ coins.
Drop the GhostSwap Partners API into any AI agent or coding assistant in one line — Claude, ChatGPT, Cursor, Windsurf, Gemini, GitHub Copilot, Continue.dev, OpenAI Agents SDK, LangChain, LlamaIndex, or any MCP-compatible client.
This repo bundles every common distribution surface in one place: an MCP server, a Claude Skill, an OpenAPI 3.1 spec for ChatGPT GPT Actions, project rules for Cursor, an AGENTS.md for the 23+ tools that follow that standard, and symlinked files for Copilot / Windsurf / others. Pick the section for your runtime below.
About GhostSwap: https://ghostswap.io is a no-KYC, non-custodial crypto-to-crypto exchange built on a partner-revenue-share model. Wallets, dApps, exchanges, and affiliate sites can integrate the Partners API to earn 0–4 % on every swap their users complete, with USDT payouts and no liquidity management on the partner's side.
No partner account? Start here. Point any MCP client at the hosted, no-key server https://mcp.ghostswap.io/mcp (Streamable HTTP;
/ssealso available) — or just open GhostSwap Chat and swap by typing, e.g. "swap 0.05 BTC to XMR". No account, no KYC.
Contents
- Quick install by runtime
- What's inside this repo
- Why ghostswap-agents
- Compared to similar projects
- Frequently asked questions
- What the API actually does
- What you'll need (the human parts)
- Affiliate / referral link — the no-code path
- Updating
- Links
- License
Quick install by runtime
<details open><summary><b>Hosted MCP — no install, no API key</b></summary>Any client that supports remote MCP servers can connect directly — nothing to install, no credential.
- Claude.ai / Claude Desktop: Settings → Connectors → Add custom connector → paste
https://mcp.ghostswap.io/mcp. - Cursor / Windsurf / other
mcp.json-style clients:
{
"mcpServers": {
"ghostswap": { "url": "https://mcp.ghostswap.io/mcp" }
}
}
Six tools: list_currencies, get_pair, validate_address, get_quote, create_swap, get_swap. Registry id: io.github.ghostswap1/mcp. Use the npm package below instead when you want swaps attributed to your own partner credential.
Option A — MCP server (recommended for Desktop)
Add to ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"ghostswap": {
"command": "npx",
"args": ["-y", "@ghostswapio/mcp"],
"env": {
"GHOSTSWAP_PUBLIC_KEY": "gspk_live_...",
"GHOSTSWAP_SECRET": "gssk_live_..."
}
}
}
}
Restart Claude Desktop. 7 typed tools appear under the ghostswap server.
Option B — Claude Code plugin
/plugin marketplace add ghostswap1/ghostswap-agents
/plugin install ghostswap-partners-api@ghostswap1/ghostswap-agents
Option C — Skill into ~/.claude/skills/
git clone https://github.com/ghostswap1/ghostswap-agents.git
cp -r ghostswap-agents/skills/ghostswap-partners-api ~/.claude/skills/
Full canonical SKILL.md also mirrored at https://partners.ghostswap.io/skill.md.
</details> <details><summary><b>Cursor</b></summary>MCP (recommended — typed tools, one-click) — add to .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):
{
"mcpServers": {
"ghostswap": {
"command": "npx",
"args": ["-y", "@ghostswapio/mcp"],
"env": {
"GHOSTSWAP_PUBLIC_KEY": "gspk_live_...",
"GHOSTSWAP_SECRET": "gssk_live_..."
}
}
}
}
Project rules (always-on prose conventions) — drop .cursor/rules/main.mdc from this repo into your own project. Or just clone this repo and let Cursor read it as a workspace.
MCP — add to ~/.codeium/windsurf/mcp_config.json (same JSON as the Claude / Cursor block above).
Rules — copy AGENTS.md to your project root (or symlink it to .windsurfrules). Windsurf auto-loads both.
Add to ~/.continue/config.yaml:
mcpServers:
- name: ghostswap
command: npx
args: ["-y", "@ghostswapio/mcp"]
env:
GHOSTSWAP_PUBLIC_KEY: gspk_live_...
GHOSTSWAP_SECRET: gssk_live_...
</details>
<details><summary><b>ChatGPT (Custom GPT / GPT Action)</b></summary>
- Sign up at https://partners.ghostswap.io/sign-up + get your credential
- In the GPT builder → Configure → Create new action
- Import from URL:
https://partners-api.ghostswap.io/openapi.json - Auth → API Key → Bearer → paste
<public_key>:<secret>(single string, colon-separated) - Privacy Policy URL:
https://ghostswap.io/privacy
Full step-by-step in gpt-action/README.md, including suggested GPT Instructions copy.
Drop AGENTS.md at your repo root (or copy .github/copilot-instructions.md — they're symlinked in this repo).
For tool access (typed function calls), use the MCP server via your IDE's MCP plugin.
</details> <details><summary><b>Gemini Code Assist / Gemini CLI</b></summary>Gemini CLI reads AGENTS.md natively — drop AGENTS.md at your repo root.
For Gemini Code Assist, copy AGENTS.md to .gemini/styleguide.md.
For tool access, use the MCP server (Gemini API + Vertex AI added MCP support in March 2026).
</details> <details><summary><b>Aider</b></summary>In your project's .aider.conf.yml:
read: AGENTS.md # or wherever you've placed this file
Aider auto-loads it as read-only context every session.
</details> <details><summary><b>OpenAI Agents SDK (Python)</b></summary>from agents import Agent, Runner
from agents.mcp import MCPServerStdio
ghostswap_mcp = MCPServerStdio(
params={
"command": "npx",
"args": ["-y", "@ghostswapio/mcp"],
"env": {
"GHOSTSWAP_PUBLIC_KEY": "gspk_live_...",
"GHOSTSWAP_SECRET": "gssk_live_...",
},
},
)
agent = Agent(
name="SwapBot",
mcp_servers=[ghostswap_mcp],
instructions="You help users execute crypto-to-crypto swaps.",
)
</details>
<details><summary><b>Vercel AI SDK (TypeScript)</b></summary>
import { experimental_createMCPClient, generateText, openai } from 'ai';
import { Experimental_StdioMCPTransport } from 'ai/mcp-stdio';
const client = await experimental_createMCPClient({
transport: new Experimental_StdioMCPTransport({
command: 'npx',
args: ['-y', '@ghostswapio/mcp'],
env: { GHOSTSWAP_PUBLIC_KEY: '…', GHOSTSWAP_SECRET: '…' },
}),
});
const { text } = await generateText({
model: openai('gpt-4o'),
tools: await client.tools(),
prompt: 'Quote a 0.01 BTC → ETH swap for me.',
});
</details>
<details><summary><b>LangChain (Python / JS)</b></summary>
Via OpenAPI (the simpler path):
import yaml, requests
from langchain_community.agent_toolkits.openapi.toolkit import OpenAPIToolkit
from langchain_community.tools.json.tool import JsonSpec
spec = yaml.safe_load(requests.get("https://partners-api.ghostswap.io/openapi.yaml").text)
toolkit = OpenAPIToolkit.from_llm(
llm=...,
json_spec=JsonSpec(dict_=spec),
requests_wrapper=..., # add your Authorization: Bearer header here
)
Via MCP (cleaner — uses the @ghostswapio/mcp server):
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"ghostswap": {
"command": "npx",
"args": ["-y", "@ghostswapio/mcp"],
"env": {
"GHOSTSWAP_PUBLIC_KEY": "gspk_live_...",
"GHOSTSWAP_SECRET": "gssk_live_...",
},
"transport": "stdio",
}
})
tools = await client.get_tools()
</details>
<details><summary><b>LlamaIndex</b></summary>
from llama_index.tools.mcp import McpToolSpec, BasicMCPClient
mcp_client = BasicMCPClient(
"npx", args=["-y", "@ghostswapio/mcp"],
env={"GHOSTSWAP_PUBLIC_KEY": "...", "GHOSTSWAP_SECRET": "..."},
)
tools = McpToolSpec(client=mcp_client).to_tool_list()
Or use the OpenAPI spec with RestAPIToolSpec.
The server is a standard stdio MCP server. Any client that speaks MCP v2024-11-05 works:
npx -y @ghostswapio/mcp
Pass GHOSTSWAP_PUBLIC_KEY and GHOSTSWAP_SECRET via env vars.
Or, for HTTP-style integrations, use the OpenAPI spec directly:
- JSON: https://partners-api.ghostswap.io/openapi.json
- YAML: https://partners-api.ghostswap.io/openapi.yaml
curl https://partners.ghostswap.io/skill.md | pbcopy
Paste into the chat with "Build me a Node.js integration based on this." — the SKILL.md is plain markdown with a ~120-line working reference proxy. Works in any LLM.
</details>What's inside this repo
ghostswap-agents/
├── README.md ← you are here
├── AGENTS.md ← Source of truth (agents.md standard, 23+ tools)
├── CLAUDE.md → AGENTS.md ← symlink for Claude Code
├── .github/
│ └── copilot-instructions.md → ../AGENTS.md ← symlink for GitHub Copilot
├── .windsurfrules → AGENTS.md ← symlink for Windsurf
├── .cursor/
│ ├── rules/main.mdc ← Cursor project rules
│ └── mcp.json ← Cursor MCP config
├── .claude-plugin/
│ └── plugin.json ← Claude Code plugin manifest
├── skills/
│ └── ghostswap-partners-api/
│ └── SKILL.md ← Claude Agent Skill (mirror of /skill.md)
├── openapi/
│ ├── openapi.yaml ← OpenAPI 3.1 (source of truth)
│ └── openapi.json ← Same, JSON
├── mcp-server/ ← Published as @ghostswapio/mcp on npm
│ ├── src/index.ts
│ ├── package.json
│ ├── manifest.json ← DXT/MCPB for one-click Claude Desktop
│ └── README.md
├── remote-mcp/ ← Hosted MCP at mcp.ghostswap.io (Cloudflare Worker)
│ ├── src/index.ts
│ └── server.json ← MCP registry entry (io.github.ghostswap1/mcp)
├── chat/ ← GhostSwap Chat at chat.ghostswap.io (Cloudflare Worker)
│ ├── src/
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
106.6kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
claude-mem
105.3kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
89.0kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
78.3kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
