FC 26 MCP
FC 26 MCP
适用于 EA SPORTS FC 26 的 MCP 服务器。兼容 Claude、Codex、Pi、Cursor、Cline、Windsurf 以及任何支持 模型上下文协议 的智能体。
包含两个服务器:
fc26-mcp-file— 解析和编辑原始Squads*文件(FBCHUNKS/T3DB 格式)。fc26-mcp-live— 在游戏运行时,通过 xAranaktu 的 Live Editor Lua API 控制 FC 26。
安装
从 PyPI 安装:
pip install fc26-mcp从 GitHub 安装:
pip install git+https://github.com/INSANE0777/Fc26-live-editor-mcp.git从源码安装:
git clone https://github.com/INSANE0777/Fc26-live-editor-mcp.git
cd fc26-mcp
pip install -e .Related MCP server: MCP Partidos de Fútbol
GUI 编辑器
一个桌面 GUI(tkinter,无需额外依赖),用于打开阵容文件并在界面中完全编辑——无需 MCP 客户端或 Live Editor:
fc26-mcp-gui # open via file dialog
fc26-mcp-gui "path/to/Squads..." # open a specific squad file directly功能:
在全部 78 个数据库表中浏览/搜索/编辑/删除行(每个表有筛选框)
按名称或 ID 搜索球员,显示当前俱乐部和租借状态
一键转会——选择球员 + 目标球队,应用于所有俱乐部链接(国家队链接自动保留)
终止租借——删除
playerloans行保存前自动备份,外加手动备份按钮
未保存更改指示器;保存将写回同一文件(或副本)
注意:阵容文件的 dcplayernames 表不完整(约 22000 名球员中仅约 6000 条),因此许多球员名称显示为 ?——可按球员 ID 搜索这些球员。
路径
包使用占位路径。请通过命令行标志或环境变量设置实际路径:
内容 | 标志 | 环境变量 | 示例 |
阵容文件 |
|
|
|
Live Editor 桥接文件夹 |
|
|
|
Live Editor 脚本文件夹 |
| — |
|
快速开始
1. 阵容文件 MCP
fc26-mcp-file --squad-file "C:\Path\To\SquadsFile"自动使用捆绑的 FC 26 元数据。可通过 --meta-file 覆盖。
2. Live Editor MCP 桥接
启动 FC 26 并注入 Live Editor。
加载生涯模式。
一次性将 Lua 桥接安装到 Live Editor:
fc26-mcp-live --install-lua "C:\Path\To\Your\FC 26 LE\lua\scripts"在 Live Editor 中,进入 Features → Lua Engine 并运行
le_bridge.lua。启动 MCP 服务器:
fc26-mcp-live --bridge-root "C:\Path\To\Your\FC 26 LE\le_bridge"工具
文件解析器
list_clubssearch_playersget_player_clubplan_transfersapply_transfers
Live Editor 桥接(28个工具)
核心:
le_ping、le_list_clubs、le_search_players、le_get_player_club转会/租借:
le_transfer_player、le_loan_player、le_release_player、le_terminate_loan名单:
le_add_to_transfer_list、le_add_to_loan_list、le_remove_from_lists、le_is_transfer_listed、le_is_loan_listed球员状态:
le_set_player_sharpness、le_set_player_morale、le_set_player_form、le_set_player_fitness预算:
le_get_transfer_budget、le_set_transfer_budget数据库编辑器:
le_get_db_tables、le_get_db_fields、le_get_db_rows、le_edit_db_field、le_insert_db_row、le_delete_db_row统计数据:
le_get_players_stats、le_get_player_stats高级用户:
le_execute_lua
详细 Live Editor 文档请参阅 README_LE_BRIDGE.md。
MCP 客户端配置
使用 mcp_config.json 作为模板,或手动添加这些服务器:
{
"mcpServers": {
"fc26-file": {
"command": "fc26-mcp-file",
"args": [
"--squad-file",
"C:\Path\To\SquadsFile"
]
},
"fc26-live": {
"command": "fc26-mcp-live",
"args": [
"--bridge-root",
"C:\Path\To\Your\FC 26 LE\le_bridge"
]
}
}
}Claude Desktop
打开 claude_desktop_config.json 并添加上面的服务器区块。
Cursor
打开 Cursor Settings → MCP → Add MCP Server,粘贴命令和参数。
Cline / Roo Code
将 JSON 添加到 MCP 设置文件中。
Pi
Pi 会从 mcp_config.json 或您的工作区设置中检测 stdio MCP 服务器。
环境变量
变量 | 用途 |
| 用于 |
| 覆盖捆绑的 FC 26 元数据 XML |
| 用于 |
安全
编辑前务必备份您的阵容文件和生涯模式存档。
生涯模式工具仅在生涯模式下有效。
le_execute_lua可以运行任意代码——请谨慎使用。
许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceAn open-source MCP server that connects to the SoccerDataAPI to deliver up-to-date football match information via natural language interactions.39MIT
- Alicense-qualityDmaintenanceA Python-based MCP server that extracts football match data from multiple global sources like ESPN and BBC Sport using intelligent web scraping. It enables AI assistants to retrieve scheduled matches, real-time scores, and broadcasting details with advanced filtering for high-profile games.MIT
- AlicenseBqualityAmaintenanceMCP servers for KiCad schematic, PCB, symbol, footprint, and project automation, enabling AI-assisted electronic design via tools for read/write, analysis, and exports.1095MIT
- Alicense-qualityBmaintenanceProvides MCP servers for AI-driven video editing. Enables offline editing of CapCut drafts and remote control of Adobe Premiere Pro via UXP plugin, with shared media analysis for beat detection and transcription.MIT
Related MCP Connectors
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
MCP server for Google Veo AI video generation
MCP server for Grok Imagine AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/INSANE0777/Fc26-live-editor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server