Connector guide3-minute read19 MCP toolsEnglish · Deutsch · Italiano

如何将 Sorare 连接到 GitHub Copilot — 通过 MCP 的 NFT 幻想足球

使用 AnythingMCP 将 Sorare 的 GraphQL API 连接到 GitHub Copilot Chat。以自然语言查询卡片、球员、阵容、拍卖、钱包和转会市场。Bcrypt 加盐登录和 30 天 JWT 缓存自动处理。

HCBy HelpCode teamUpdated 3 min read Open source on GitHub

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

github copilot · 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 GitHub Copilot 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 登录,点击 Connectors → Sorare,粘贴您的 Sorare 邮箱和密码,生成一个 MCP API 密钥 — 完成。无需 Docker,无需 git clone,无需本地服务器运行。您可以跳过下面的本地安装步骤,直接进入客户端连接部分。

将 Sorare 连接到 GitHub Copilot

GitHub Copilot Chat 现在通过其在 VS Code 和 JetBrains 中的 mcp 配置支持 模型上下文协议 (MCP)。通过 AnythingMCP 将 Sorare 的完整 GraphQL API 作为托管的 MCP 服务器暴露,您可以直接从 Copilot 查询卡片、球员、阵容、二级市场和您的钱包 — 无需离开编辑器。

您可以做什么

  • "Sorare: 我当前的钱包余额是多少,我在这个赛季的 So5 表现如何?"
  • "Sorare: 现在找到 Bukayo Saka 最便宜的 Limited 卡片。"
  • "Sorare: 按球员列出我的 Rare 卡片,按最近的 So5 分数排序。"
  • "Sorare: 显示过去 30 天 Vinícius Júnior Rare 卡片的最近销售价格。"
Watch on YouTube →

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

前提条件

  • https://sorare.com 拥有一个有效的 Sorare 账户 — 我们建议为无头/代理使用 专用的只读账户,且禁用 2FA
  • AnythingMCP 本地运行或可在 cloud.anythingmcp.com 上使用(3 分钟设置)。
  • 启用 MCP 的 GitHub Copilot Chat(VS Code Insiders ≥ 1.95 或支持 MCP 的 JetBrains 插件)。

第 1 步 — 在 cloud.anythingmcp.com 上安装 Sorare 适配器(无代码)

  1. 登录 cloud.anythingmcp.com
  2. 打开 Connectors → Sorare → Install
  3. 粘贴:
    • SORARE_EMAIL — 您的 Sorare 账户邮箱
    • SORARE_PASSWORD — 您的明文密码(在登录前进行 bcrypt 哈希处理;从不以未加密形式存储)
  4. Profile → MCP API Keys → New Key 下生成一个 MCP API 密钥。复制它。

没有 AUD 字段 — 适配器将 JWT 受众硬编码为 anythingmcp

第 2 步 — 将 Sorare 添加到 Copilot(无代码,命令面板)

在 VS Code(Insiders ≥ 1.95,或稳定版支持 MCP)中:

  1. Cmd/Ctrl + Shift + P 打开命令面板。
  2. 输入 MCP: Add Server 并选择 HTTP 选项。
  3. 粘贴:
    • 服务器 URL: https://cloud.anythingmcp.com/mcp
    • 授权头: Bearer YOUR_MCP_API_KEY(来自第 1 步的密钥)
  4. 将服务器命名为 sorare 并确认。

VS Code 会自动重启 Copilot Chat。所有 18 个 Sorare 工具会出现在 Copilot 工具选择器中 — 开始输入提示。

JetBrains? 相同流程 — 打开 Copilot 面板 → MCP 服务器 → 添加服务器 → 粘贴 URL + Bearer 令牌。

高级:手动编辑 settings.json

如果您更愿意直接编辑配置文件,请打开 settings.json(Cmd/Ctrl + Shift + P → "Preferences: Open User Settings (JSON)")并添加:

{
  "mcp.servers": {
    "sorare": {
      "url": "https://cloud.anythingmcp.com/mcp",
      "transport": "http",
      "headers": {
        "Authorization": "Bearer YOUR_MCP_API_KEY"
      }
    }
  }
}

重启 Copilot Chat。18 个 Sorare 工具会自动出现 — Copilot 会根据您的提示选择正确的工具。

可用工具(18)

组别工具
身份 / 钱包sorare_current_user, sorare_wallet_balance, sorare_my_trophies_summary, sorare_user_by_slug
卡片sorare_list_my_cards, sorare_get_card_by_slug, sorare_list_player_cards
球员sorare_search_player, sorare_player_recent_scores, sorare_player_floor_price
市场sorare_live_sale_offers, sorare_token_prices, sorare_get_auction, sorare_get_lineup
通用 GraphQLsorare_graphql_schema_url, sorare_graphql_schema, sorare_graphql_query, sorare_graphql_mutation, sorare_graphql_subscription

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

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

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

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

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

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

令牌轮换

Sorare 的 JWT 有效期约为 30 天。AnythingMCP 会在到期前 24 小时刷新并在任何 401 时重新发放 — Copilot 从不看到过期令牌错误。

常见问题

Copilot 需要与 AnythingMCP 在同一台机器上吗? 不需要。MCP URL 可以是任何可访问的主机;cloud.anythingmcp.com 可以在任何地方使用。

我可以将 Copilot 限定为只读的 Sorare 工具吗? 可以 — 在 AnythingMCP 中,创建一个角色,仅白名单 sorare_get_*sorare_list_*sorare_current_usersorare_wallet_balancesorare_token_pricessorare_player_* 工具,并将您的 MCP API 密钥绑定到该角色。

Copilot 的 MCP 集成在 JetBrains 中也有效吗? 是的 — 在 JetBrains Copilot 设置面板下的 JSON 结构相同。

下一步

Ready to ship

Your Sorare agent is one click away.

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