
Swop
io.github.Travisswopv0.1.1更新于 Sep 29, 2026
Swop.id profiles, wallet addresses, and live prediction markets with real-time prices.
安装
在 SourceWeft 中
- 打开 控制台中的 Swop,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"swop": {
"type": "http",
"url": "https://mcp.swopme.co/mcp"
}
}
}README
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
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:
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.
Where this fits
The AI-assistant edge of the platform. Exposes Swop to anything that speaks MCP, reaching the same API every first-party client uses.
The identity rule that matters here: crypto payment is never KYC-gated. An agent can pay a seller in USDC with no verification step. Verification gates the card scope only — never ask a crypto path for identity.
For the cross-repo map, see swop-app-backend/docs/ECOSYSTEM.md.
来源:README.md,提交 6fe7a0b
工具
0版本历史
1- v0.1.1最新Sep 16, 2026