Connector guide2-minute read19 MCP toolsEnglish · Deutsch · Italiano

如何将 Sorare 连接到 OpenClaw — 自托管 AI + NFT 梦幻足球

使用 OpenClaw 的本地 AI 助手通过 AnythingMCP 查询 Sorare 的 GraphQL API。支持 Bearer 认证的可流式传输 HTTP MCP 传输,bcrypt 登录和 30 天令牌缓存。

HCBy HelpCode teamUpdated 2 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

openclaw · Sorare connector
Pull my current Sorare lineup and tell me where I'm weakest this gameweek.
AI
Callingsorare_get_lineupplayer_recent_scores
Your Common Rivals lineup is solid up top, but the MF slot (Saúl) is your weakness — recent 5-game L5 = 34.2, well under your team average of 51.
sorare_current_usersorare_list_my_cardssorare_player_floor_pricesorare_live_sale_offerssorare_get_auction+ more
  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Source-available BSL-1.1
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

What you'll be able to ask

Real prompts that work after a 4-minute setup.

Drop these into OpenClaw once the connector is installed. Tools listed below each prompt are auto-called by the agent.

Pull my current Sorare lineup and tell me where I'm weakest this game week.
sorare_get_lineupplayer_recent_scores
List every rare Vinícius Júnior card minted in season 2024.
sorare_search_playerlist_player_cards
What's the floor price right now for limited Bukayo Saka cards?
sorare_player_floor_pricetoken_prices
Find auctions ending in the next 90 minutes for Liverpool players.
sorare_live_sale_offerssorare_get_auction

No install? Use cloud.anythingmcp.com directly.

Sign in, install the Sorare Fantasy Football in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.

Open Cloud

Sorare

💡 不想安装?直接使用 cloud.anythingmcp.com 登录,点击 连接器 → Sorare,粘贴您的 Sorare 邮箱和密码,生成 MCP API 密钥 — 完成。无需 Docker,无需 git clone,无需本地服务器。您可以跳过下面的本地安装步骤,直接进入客户端连接部分。

将 Sorare 连接到 OpenClaw

OpenClaw 是一个开源的个人 AI 助手,能够在本地运行并通过其 CLI 支持 MCP 服务器。将其与 AnythingMCP 结合,您就拥有了一个自托管的端到端私有设置,可以从自己的机器查询 Sorare — 您的密码和发出的 JWT 永远不会离开您的网络。

您可以做什么

  • "列出我所有的英超球员卡。"
  • "显示今晚结束的独特 Mbappé 卡的拍卖。"
  • "给我看我上一个 So5 阵容的得分。"
Watch on YouTube →

🔒 该视频通过 两次点击同意模式 嵌入 — 在您按下播放之前,什么都不会发送到 Google。

前提条件

  • 安装 OpenClaw (docs.openclaw.ai/getting-started)。
  • AnythingMCP 在 http://localhost:4000 本地运行。
  • Sorare 账户凭据(只读,禁用 2FA 以便无头使用)。

第一步 — 获取您的 Sorare 访问权限

与其他客户端相同:

  1. 登录 https://sorare.com。
  2. 使用(或创建)一个没有 2FA 的只读账户。

第二步 — 安装 Sorare 适配器

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

打开 http://localhost:3000/connectors/store,点击 Sorare,输入 SORARE_EMAILSORARE_PASSWORD。在 个人资料 → MCP API 密钥 中生成一个 MCP API 密钥。

第三步 — 在 OpenClaw 中注册 MCP 服务器

OpenClaw 在其配置中将 MCP 服务器存储在 mcp.servers 下。通过 CLI 添加它:

openclaw mcp set sorare '{
  "url": "http://localhost:4000/mcp",
  "transport": "streamable-http",
  "connectionTimeoutMs": 10000,
  "headers": {
    "Authorization": "Bearer YOUR_MCP_API_KEY"
  }
}'

使用 openclaw mcp list 验证。OpenClaw 将自动发现 7 个 Sorare 工具,并使其可用于其代理运行时。

可用工具

工具描述
sorare_current_user认证的个人资料
sorare_get_card_by_slug卡片详情
sorare_search_player搜索球员
sorare_list_player_cards球员卡片
sorare_list_my_cards您的卡片
sorare_get_lineupSo5 阵容
sorare_transfer_market活动拍卖

超越 18 个工具 — 您的 AI 可以调用 任何 Sorare GraphQL 操作

这些专用工具覆盖了最常见的入口点,但每个 GraphQL 连接器还附带 sorare_graphql_schemasorare_graphql_querysorare_graphql_mutationsorare_graphql_subscription — 自动注入的逃生口,让您的 AI 组合 任何 Sorare 的模式支持的操作。

这就是固定工具列表与真正代理之间的区别。询问:

"找到 3 张可能在下一个比赛周得分且低于其 30 天平均值 30 %+ 的限量卡。仅限前 5 大联赛。"

…您的 AI 将遍历 Sorare GraphQL 模式,扫描 topPerformers,与 liveSingleSaleOffers 进行地板价格连接,交叉引用 tokenPrices 以获取 30 天平均值,并向您提供一个购买清单和保留计划。所有这些都来自一个提示,无需您手动处理 GraphQL。

👉 在 Sorare 发布公告 中查看完整的聊天会话 — 一个真实的 Claude 往返,独立构建 €100 购买策略。

令牌轮换

AnythingMCP 在 connector_auth_cache 中加密 Sorare JWT,在到期前 24 小时刷新,并在任何 401 时重新登录。令牌的有效期约为 30 天。无需定时任务,无需手动刷新。

常见问题

OpenClaw 需要与 AnythingMCP 在同一台机器上吗? 不 — http://localhost:4000/mcp 只是默认值。使用任何可访问的 URL(建议使用 TLS + Bearer 认证)。

OpenClaw 将 MCP 服务器配置存储在哪里? 在全局 OpenClaw 配置的 mcp.servers 下 — 通过 openclaw mcp set / list / remove 管理。

我可以通过一个 MCP 服务器条目运行多个适配器吗? 可以 — 您在 AnythingMCP 中安装的每个适配器都会自动成为同一 /mcp 端点上的工具。

下一步

Ready to ship

Your Sorare agent is one click away.

Install the connector, paste the key, prompt OpenClaw. Free for 7 days, no credit card.