streamable-httpupdated 8d ago
Remote MCP server exposing Swop to AI assistants (Claude, ChatGPT, Grok, Cursor ā anything that speaks MCP). One server, registered per platform.
What can you do with swop?
swop-mcp
Remote MCP server exposing Swop to AI assistants (Claude, ChatGPT, Grok, Cursor ā anything that speaks MCP). One server, registered per platform.
Phase 1 (this code): public read-only tools, no auth. Phase 2 adds an OAuth 2.1 facade + authed reads and non-signing writes (profile/SmartSite/products). Phase 3 adds on-chain writes (swap/send/bets/DeFi) via Privy delegated signing with caps + in-app confirm-link fallback.
Tools
Identity (swop-app-backend /api/v5/identity, public CORS-open router):
swop_search_identities/swop_lookup_identityā handle ā profile + wallet addresses. ā ļø On theproductionbranch but NOT yet live on apps.apiswop.co (404) ā needs a backend prod deploy via deploy-prod.sh before these tools return data.
Predictions (polymarket.apiswop.co, all public):
swop_search_markets(free-text via /desktop/markets),swop_get_event_markets,swop_get_event_live_status,swop_get_orderbook,swop_get_prices(live book, preferred over cached outcomePrices),swop_get_price_history,swop_get_taxonomy,swop_get_taxonomy_stats,swop_check_predictions_access(geoblock).
Run
npm install
npm run dev # Streamable HTTP on :8788 (POST /mcp), stateless JSON mode
npm run dev:stdio # stdio transport for local clients
npm run build && npm start
Env: SWOP_API_BASE (default https://apps.apiswop.co), PREDICTIONS_API_BASE
(default https://polymarket.apiswop.co), PORT (default 8788).
Local test with Claude Code:
claude mcp add swop --transport http http://localhost:8788/mcp
Deploy
Stateless ā any host works (Vercel functions, or a small box alongside the
sidecar). Suggested prod URL: mcp.swopme.app (never swop.tech). Give it its
own upstream rate-limit identity before public listing.
Install
Add swop to your client. Pick the one you use.
claude mcp add --transport http swop https://mcp.swopme.co/mcpcodex mcp add swop --url https://mcp.swopme.co/mcp{
"mcpServers": {
"swop": {
"url": "https://mcp.swopme.co/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"swop": {
"type": "http",
"url": "https://mcp.swopme.co/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"swop": {
"url": "https://mcp.swopme.co/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"swop": {
"serverUrl": "https://mcp.swopme.co/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
2 tools
swop exposes 2 tools to a connected agent.
- swop_search_identities
- / `swop_lookup_identity` ā handle ā profile + wallet addresses.
- swop_search_markets
- (free-text via /desktop/markets), `swop_get_event_markets`,
Score
63 / 100
Good
- Documentation22/25
- Maintenance19/25
- Trust6/20
- Capability4/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 0 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 2 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint ā no local install
Version history
| Versions | Published |
|---|---|
| 0.1.1Latest | Aug 31, 2026 |
| 0.1.0 | Aug 28, 2026 |