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 分
請在儲存庫或註冊中心條目中宣告授權條款。