Eos Fitting MCP Server
MCP server that wraps the Eos EVE Online fitting engine. Agents propose fit changes; this server applies them, recalculates, and returns a FitReport.
README
Pyfa MCP
MCP server that wraps the Eos EVE Online fitting engine (same stack as Pyfa). Agents propose fit changes; this server applies them, recalculates, and returns a FitReport. It never suggests modules — it only evaluates.
Install (uvx)
Once published to PyPI:
uvx pyfa-mcp
Until then, from a checkout (submodules required so Eos is bundled into the install):
git clone --recurse-submodules git@github.com:theonlysinjin/eve-fit-mcp.git
cd eve-fit-mcp
uvx --from . pyfa-mcp
Or from git directly (after submodules are fetchable in the build):
uvx --from git+https://github.com/theonlysinjin/eve-fit-mcp.git pyfa-mcp
Cursor MCP config (uvx)
{
"mcpServers": {
"pyfa-mcp": {
"command": "uvx",
"args": ["--from", "/path/to/eve-fit-mcp", "pyfa-mcp"]
}
}
}
After PyPI:
{
"mcpServers": {
"pyfa-mcp": {
"command": "uvx",
"args": ["pyfa-mcp"]
}
}
}
Staticdata downloads on first run into ~/.cache/pyfa-mcp/ (or call refresh_static_data). First Eos cache build can take a few minutes.
Requirements
- Python 3.10+ (pulled in by uvx)
- Network on first run for staticdata (or set
EOS_PHOBOS_PATH) - Dev checkouts: git submodules
eos,phobos,pyfa(pyfa/staticdataused when present)
Staticdata (auto / refresh)
EOS_PHOBOS_PATHif set- In-tree
pyfa/staticdata(submodule) ~/.cache/pyfa-mcp/staticdata(orEOS_DATA_DIR)- Download from GitHub release
staticdata
Environment
| Variable | Required | Description |
|---|---|---|
EOS_PHOBOS_PATH |
no | Dump root; auto-resolved if omitted |
EOS_CACHE_PATH |
no | Eos cache file (default under data dir) |
EOS_DATA_DIR |
no | Download/cache root (default ~/.cache/pyfa-mcp) |
EOS_STATICDATA_URL |
no | Override release asset URL |
EOS_SOURCE_ALIAS |
no | Default tq |
EOS_PACKAGE_PATH |
no | Only needed for editable/dev without wheel-bundled eos |
EOS_MAX_FITS |
no | Max in-memory fits (default 100) |
EOS_FIT_TTL |
no | Optional fit TTL in seconds |
Dev install
git clone --recurse-submodules git@github.com:theonlysinjin/eve-fit-mcp.git
cd eve-fit-mcp
uv venv .venv && source .venv/bin/activate
uv pip install -e ".[dev]"
pytest
pyfa-mcp # or: python -m pyfa_mcp
Prebuilt binary
See binary-latest (pyfa-mcp-linux-x64, macOS, Windows). Point Cursor at the binary; staticdata still auto-downloads.
Creating AGENTS.md (fitting projects)
Put an AGENTS.md in the project where you design fits (not in this MCP repo):
# Fit with Pyfa MCP
You design EVE Online fits by proposing changes; the **pyfa-mcp** MCP evaluates them. It never suggests modules — you do.
Use the **eve-online-esi** MCP when the fit should reflect a real character’s skills. Prefer a cached map under `users/<Name>/skills.json`; refresh from ESI when asked or when the file is missing/stale.
## Skills (player maps)
**Apply (fitting):** load `users/<Name>/skills.json` → `set_skills(fit_id, data["skills"])`. Keys are skill type IDs; values are `active_skill_level` (0–5). Theorycraft: skip and use `apply_all_skills_5`.
**Refresh (update cache):**
1. `add_character` if needed (SSO; tokens stay local). Re-auth on 401 / missing character.
2. `GetCharactersCharacterIdSkills` with `character_id` (+ `X-Compatibility-Date`).
3. Write `users/<Name>/skills.json` as `{ character_id, name, updated_at, total_sp?, unallocated_sp?, skills: { str(skill_id): active_skill_level } }`.
## Startup
1. Confirm the goal in one line: role, constraints (EHP, DPS, tank type, cap stable?), and skills (player map via `users/…/skills.json`, or theorycraft).
2. If using a player map: load (or refresh) skills as above.
3. `create_fit(ship_type_id)` then either `set_skills` (from file) or `apply_all_skills_5`.
4. Rough in a full fit with type IDs: highs → mids → lows → rigs → drones/fighters → implants if needed.
5. Read the FitReport. Fix hard blockers first (`validation_errors`, CPU/PG/slots), then optimize toward the goal.
6. Iterate: **one** change per turn (`equip_module` / `replace_module` / `set_module_state` / `set_charge` / …). Compare reports. Use `clone_fit` for A/B forks.
## Rules
- Type IDs only — never invent them.
- Soft failures (CPU, skills, slots) still apply; hard errors (bad ID, wrong rack) do not mutate.
- Racks: `high` / `mid` / `low`. States: `offline` | `online` | `active` | `overload`.
- Stop when constraints are met or gains flatten. Summarize the final fit + key stats.
## FitReport priorities
`validation_errors` → `resources` / `slots` → `combat` (dps, ehp, RPS) → `mobility` → `fit` snapshot.
Tools (v1)
Session: create_fit, clone_fit, delete_fit, list_fits, get_fit, reset_fit
Skills: set_skills, set_skill, clear_skills, apply_all_skills_5
Hull: set_ship, set_stance, equip_module, replace_module, remove_module, set_module_state, set_charge, add_rig / remove_rig, add_subsystem / remove_subsystem, add_drone / remove_drone / set_drone_state, add_fighter / remove_fighter / set_fighter_state, add_implant / remove_implant, add_booster / remove_booster, set_effect_beacon
Eval: get_stats, validate_fit
Data: refresh_static_data
Non-goals
- Autofitting / “make this better”
- ESI login, skill sync, market prices
- wx/GUI / Pyfa desktop integration
- Full EFT/DNA import in v1
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。