Cartograph
io.github.benteigland11由 GitHub 账号 benteigland11 发布v0.1.3更新于 Oct 24, 2026
Local-first reusable implementation registry for AI agents and versioned widgets.
概览
Cartograph 是一个本地 MCP 服务器,让助手在本地优先的注册表中搜索、查看、安装、创建和校验可复用 widget。
- 可以做什么
- 搜索、查看、安装和评价注册表中的 widget,并升级或卸载项目中已安装的 widget 副本。查看项目和 widget 状态。创建新 widget,并用试运行流程校验后再附理由签入。读取和修改 Cartograph 工作流默认项,如 auto-publish、visibility、governance 和 publish-registry。管理在校验和签入时运行的自定义规则。
- 适用场景
- 当你希望助手复用已验证的实现、而不是反复重写相同逻辑,并让改进在各项目间保持一致时使用。它适合日常 widget 工作流;管理、恢复、云端和认证类操作仍交给 Cartograph CLI。
- 运行要求
- 需要本地 Python 环境:从 PyPI 安装 cartograph-mcp 包,它会同时安装其所调用的 Cartograph CLI。在 MCP 客户端中配置为 stdio 服务器(例如命令 cartograph-mcp)。未声明认证、环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 Cartograph,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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. It targets the MCP 2.0 SDK contract and returns the standard ListToolsResult envelope from tools/list. 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
Claude Desktop example:
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 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
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:
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
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.
来源:README.md,提交 993f7dd
工具
0版本历史
1- v0.1.3最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。