Connector guide1-minute read19 MCP toolsEN · DE · IT

Sorare 到 MCP — 将 NFT 幻想足球引入任何 AI 代理

使用 AnythingMCP 将 Sorare 的 GraphQL API 公开为 MCP 服务器。支持 bcrypt 加盐登录、30 天 JWT 缓存,以及 18 个现成工具(5 个 GraphQL 内置 + 13 个专用)用于卡片、球员、阵容和转会市场。

HCBy HelpCode teamUpdated 1 min read Open source on GitHub

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

any mcp client · 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
    Open source AGPL-3.0
  • 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 any MCP client 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

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Sorare Fantasy Football in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

使用 AnythingMCP 将 Sorare 的 GraphQL API 公开为 MCP 服务器。支持 bcrypt 加盐登录、30 天 JWT 缓存,以及 18 个现成工具(5 个 GraphQL 内置 + 13 个专用)用于卡片、球员、阵容和转会市场。

试试这样问

Sorare Fantasy Football 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Sorare Fantasy Football · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

Sorare

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

Sorare 在模型上下文协议中的应用

Sorare 是最大的授权 NFT 幻想体育游戏,全面支持球员、卡片、拍卖和 So5 阵容的 GraphQL。AnythingMCP 将该 GraphQL API 封装为 MCP 服务器,使任何代理 — Claude、ChatGPT、OpenClaw、Cursor 以及你自己的代理 — 都可以使用自然语言读取和处理 Sorare 数据。

Sorare 适配器内置提供。无需维护 SDK,无需编写令牌处理代码:引擎在你第一次调用工具时执行盐提取 + bcrypt + 登录握手,缓存结果 JWT 30 天,并在任何 401 上透明地重新发放。

为什么没有 AnythingMCP 的 Sorare 使用起来很麻烦

步骤Sorare 的要求
1GET /api/v1/users/{email} 以检索每个账户的 bcrypt 盐
2bcrypt.hashSync(plainPassword, salt) 客户端处理
3GraphQL signIn 变更,使用 bcrypt 哈希
4存储 JWT(约 30 天有效期),并在每次调用时传递 Authorization: Bearer <jwt> + JWT-AUD: <aud>

这就是整个 LOGIN_TOKEN 身份验证配置,仅在适配器规范中声明一次。无需维护客户端代码。

Watch on YouTube →

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

安装

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

打开 http://localhost:3000/connectors/store,选择 Sorare,并粘贴 SORARE_EMAILSORARE_PASSWORD。JWT 的 aud 声明由适配器设置为固定值(anythingmcp),因此你无需选择一个。

Profile → MCP API Keys 生成一个 MCP API 密钥,并将你的代理指向 http://localhost:4000/mcp

可用工具

工具返回内容
sorare_current_user经过身份验证的用户的 slug、邮箱、昵称
sorare_get_card_by_slug卡片元数据、所有者、当前拍卖
sorare_search_player按名称 + 俱乐部 + 国家搜索球员
sorare_list_player_cards为球员铸造的最近卡片
sorare_list_my_cards经过身份验证的用户拥有的卡片
sorare_get_lineupSo5 阵容得分、排名、奖励、出场次数
sorare_transfer_market按稀有度 / 最大价格过滤的活跃拍卖

令牌生命周期

JWT 存储在 connector_auth_cache 中(AES-256-GCM 加密),在其距离 expiredAt 24 小时内主动刷新,并在首次 401 时替换。你可以使用 DELETE FROM connector_auth_cache WHERE connector_id = '<id>' 撤销它 — 下一次工具调用将重新登录。

下一步

这份指南对你有帮助吗?

Ready to ship

Your Sorare agent is one click away.

Install the connector, paste the key, prompt any MCP client. Free for 7 days, no credit card.

相关指南

connectors

用 AI 击败 Sorare 市场 — 发现低估卡片,构建胜利阵容

不再刷 Sorare 应用。让 Claude、ChatGPT、Copilot 或 Gemini 扫描实时转会市场,比较地板价,交叉检查球员状态,每天早上自动推荐买入卡片。一个 MCP 连接器,所有客户端。

connectors

如何将 Sorare 连接到 ChatGPT — GPT 的幻想足球

通过 AnythingMCP 内置的 MCP 连接器将 Sorare 的 NFT 幻想足球数据引入 ChatGPT。Bcrypt 登录和 30 天的 JWT 缓存为你处理。

connectors

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

使用 AnythingMCP 将 Sorare 的 GraphQL API 连接到 Claude。以自然语言查询卡片、球员、阵容和转会市场。Bcrypt 登录 + 30 天令牌缓存自动处理。

connectors

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

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

connectors

如何将 Sorare 连接到 Cursor — 通过 MCP

使用 AnythingMCP 将 Sorare 的 GraphQL API 连接到 Claude。以自然语言查询卡片、球员、阵容和转会市场。Bcrypt 登录 + 30 天令牌缓存自动处理。

connectors

如何将 Sorare 连接到 Gemini — 通过 MCP

使用 AnythingMCP 将 Sorare 的 GraphQL API 连接到 Claude。以自然语言查询卡片、球员、阵容和转会市场。Bcrypt 登录 + 30 天令牌缓存自动处理。