cartograph-mcp
Exposes a focused widget workflow for agents, enabling search, inspect, install, create, validate, checkin, and configuration of Cartograph widgets without mirroring the full CLI.
README
cartograph-mcp
mcp-name: io.github.benteigland11/cartograph
Tired of vibe coding the same solutions over and over? Time to stop spending money on redundant tokens and start spending it on innovative solutions.
This MCP server is for Cartograph that exposes the daily widget workflow for agents without mirroring the entire CLI. On installation of the MCP the CLI will be installed automatically. Once you have it, Search, inspect, install, create, validate, check in, custom rules, and configure Cartograph defaults through a compact agent-facing surface, then fall back to the CLI for the full administrative and recovery surface.
It is highly recommended to use the plugins for the skills that go with this MCP. It will give your agent what it needs to explain a lot of the configuration and give you a very powerful workflow tool.
Why this exists
I personally have spent hours and hours working on solutions I'm proud of, only to hit a wall trying to get the same one done. The reality was prompting was never good enough, I needed a way to know my llama.cpp server client integration was going to be the same everytime I used it. I also needed to know that when I found an improvement, that improvement would stick.
If you are sick and tired of wasting money and time on redoing things you've done before, like a mouse on a wheel then get your agents to start using Cartograph.
The Cartograph CLI is the source of truth, but agents do better when the common path is small and explicit.
This MCP keeps the top-level tool surface focused on daily driving:
- finding reusable widgets
- inspecting and installing them
- managing installed widget copies
- creating new widgets
- validating and checking them back in
- adjusting the core Cartograph defaults that affect normal workflow
Everything else stays in the CLI. That keeps the MCP easier to teach, easier to test, and less likely to drift into a second full interface.
Quick start
pip install cartograph-mcp
Claude Desktop example:
{
"mcpServers": {
"cartograph": {
"command": "cartograph-mcp"
}
}
}
The package depends on cartograph-cli and shells out to it as the source of truth for the full command surface.
Common CLI setup commands:
# Claude Code
claude mcp add cartograph --scope user -- cartograph-mcp
# Codex
codex mcp add cartograph -- cartograph-mcp
# Gemini CLI
gemini mcp add cartograph cartograph-mcp
# Cursor
cursor --add-mcp '{"name":"cartograph","command":"cartograph-mcp"}'
Claude Code expects an explicit scope flag such as --scope user.
Tool surface
The MCP intentionally exposes a small workflow-oriented surface:
registry_widgetActions:search,inspect,install,rateinstalled_widgetActions:upgrade,uninstallwidget_statuscreate_widgetvalidate_widgetcheckin_widgetcartograph_configcartograph_rules
These are not a 1:1 mirror of the CLI. They are grouped around agent intent:
- registry-facing work
- installed-widget mutation
- project health/status
- widget authoring
- workflow configuration
- custom validation rules
Example workflow
1. Search the registry before writing logic.
2. Inspect the widget you want to reuse.
3. Install it into the project.
4. If no existing widget fits, create one.
5. Validate it with the full dry-run pipeline.
6. Check it in with a reason once it is ready.
In Cartograph terms:
registry_widgethandles discovery and installinstalled_widgethandles already-installed widget paths likecg/backend_retry_pythonvalidate_widgetis the dry run forcheckin_widgetcartograph_configmanages the defaults that change how your day-to-day loop behavescartograph_rulesmanages custom rules that run during validate and checkin
Philosophy
This MCP is deliberately not the whole CLI.
The common path belongs in MCP. The official full surface belongs in cartograph.
For uncommon, administrative, or recovery operations, use:
cartograph --help
cartograph <command> --help
That includes things like rollback/delete, cloud operations, auth, setup, rules, doctor, export/import, and other non-daily commands.
Configuration
cartograph_config exposes the workflow defaults that matter most to agents:
auto-publishvisibilitygovernancecloudshow-unavailablepublish-registry
Reading and writing config is done through the CLI's --json path so MCP can consume it safely.
Testing
This package is tested in two layers:
- command-contract tests that mock the CLI runner and assert the exact commands the MCP builds
- isolated integration tests that run the real Cartograph CLI in a temporary environment
The integration suite isolates:
HOMEXDG_CONFIG_HOMEXDG_DATA_HOMEXDG_CACHE_HOMEWIDGET_LIBRARY_PATH- project working directory
That means validate/checkin/install flows are exercised without touching the real widget library or user config on the machine running tests.
Development
pip install -e .
pytest -q
The repo includes:
ci.ymlfor normal test/build validation on pushes and pull requestspypi-publish.ymlfor automated release publishing after a successful version-bump CI run
For the full product story and complete CLI surface, see Cartograph.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。