iitc-mcp
Bridge between IITC and MCP agents, enabling AI assistants to interact with Ingress Intel: view map, count portals, track players, and communicate via COMM without manual input.
README
IITC-MCP
Bridge between IITC (Ingress Intel Total Conversion) and MCP (Model Context Protocol) agents. Let your AI assistant see the map, count portals, track players, and talk to COMM — without touching a mouse.

Quick Start
1. Install Userscript
Install IITC first, then add the iitc-mcp userscript in Tampermonkey:
https://github.com/comicchang/iitc-mcp/releases/latest/download/iitc-mcp.user.js
2. Configure MCP Server for Your Agent
CLI entry:
npx github:comicchang/iitc-mcp serve
Add --read-only for read-only mode (14 tools; omits iitc_send_comm and iitc_redeem_code):
npx github:comicchang/iitc-mcp serve --read-only
Codex (~/.codex/config.toml or project-level .codex/config.toml):
[mcp_servers.iitc-mcp]
command = "npx"
args = ["github:comicchang/iitc-mcp", "serve"]
OpenCode (~/.openCode/mcp.json or project-level .openCode/mcp.json):
{
"mcpServers": {
"iitc-mcp": {
"command": "npx",
"args": ["github:comicchang/iitc-mcp", "serve"]
}
}
}
<details> <summary>Oh My Pi local dev config</summary>
"iitc-mcp": {
"type": "stdio",
"command": "/path/to/node_modules/.bin/tsx",
"args": ["/path/to/packages/mcp-server/src/cli.ts", "serve"]
}
</details>
Reload MCP config and you're set — 16 tools auto-register (14 if server started with --read-only).
Open https://intel.ingress.com. Once both the userscript and MCP server are ready, the MCP indicator in IITC Toolbox turns green.
MCP Tools (16 total)
| Tool | Description |
|---|---|
iitc_get_map_state |
Map center, zoom, bounds, selected portal |
iitc_set_map_view |
Set map center and zoom |
iitc_fit_map_bounds |
Fit map to bounding box |
iitc_search_region |
Search named region via Nominatim → fit bounds → wait for data |
iitc_list_portals |
List portals in viewport (paginated) |
iitc_list_links |
List links in viewport (paginated) |
iitc_list_fields |
List control fields in viewport (paginated) |
iitc_get_portal_details |
Portal detail: mods, resonators, link/field GUIDs |
iitc_select_portal |
Select a portal on the map |
iitc_search |
Search portals by name |
iitc_list_comm |
Read COMM messages |
iitc_send_comm |
Send COMM message |
iitc_redeem_code |
Redeem a passcode |
iitc_get_self |
Your own faction, level, AP, XM |
iitc_list_players |
Tracked players with last position (Player Tracker) |
iitc_get_player_trail |
Single player's trail with timestamps |
Usage Examples
Ask your AI assistant in natural language:
Search a region and count portals
搜索静安雕塑公园,统计 portal 状态
iitc_search_region("静安雕塑公园") → 围框 + 等数据加载
iitc_list_portals → 按阵营统绿/蓝/红/白数量
Check a specific portal
青果巷赵宅现在什么颜色,连满 link 了吗
iitc_search("青果巷") → 找到候选 Portal
iitc_get_portal_details(guid) → 阵营/等级/血量/linkGuids
See who's been active nearby
附近最近有谁在动
iitc_list_players → 玩家名/阵营/最近位置/动作
iitc_get_player_trail("playerName") → 完整轨迹
Find high-value targets
区域内有哪些 L7+ Portal,哪些阵营占领的
iitc_search_region("目标区域") → 围框
iitc_list_portals → 按 level 筛选 L7+
Monitor COMM
看看 COMM 最近在聊什么
iitc_list_comm(channel="all") → 最近消息
Architecture
Default mode — embedded broker (one agent = one browser session):
graph LR
US[Userscript] -->|HTTP :27342| S[Server]
S -->|stdio| AGENT[AI Agent]
Shared mode — standalone broker + multiple MCP servers:
graph LR
US[Userscript] -->|HTTP :27342| BR[Bridge Broker]
MCP_A[MCP Server A] -->|/mcp/*| BR
MCP_B[MCP Server B] -->|/mcp/*| BR
AGENT_A[AI Agent A] -->|stdio| MCP_A
AGENT_B[AI Agent B] -->|stdio| MCP_B
iitc-mcp broker # start standalone broker
iitc-mcp serve --broker-url http://127.0.0.1:27342 # connect to shared broker
Commands are queued by ID — simultaneous operations may interfere. In practice, only one agent operates at a time.
Three packages:
packages/protocol— shared Zod schemaspackages/iitc-plugin— userscript (page adapter + transport)packages/mcp-server— Node.js MCP server (broker + HTTP + CLI)
Build & Development
git clone https://github.com/comicchang/iitc-mcp.git
cd iitc-mcp
npm ci --legacy-peer-deps
npm run build && npm test # 163 tests, typecheck, 3 build artifacts
Daily dev commands:
npm run typecheck # strict TypeScript
npm run build # userscript + server
npm run lint # ESLint
npm test # unit tests (163)
npm run test:smoke # no-browser smoke tests
# Start MCP server locally
npx tsx packages/mcp-server/src/cli.ts serve
# Read-only mode
npx tsx packages/mcp-server/src/cli.ts serve --read-only
License
See LICENSE. Fork must preserve the same license. Only Enlightened players may use this software. Resistance and Machina are not welcome. Attempting to bypass these restrictions is prohibited.
Enlightened 💚
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。