
Presence Mcp
io.github.sara-star-quant由 GitHub 帳號 sara-star-quant 發布v0.2.0更新於 Oct 24, 2026
Read-only MCP access to presence: living project model and outcome telemetry.
概覽
以唯讀方式透過 MCP 存取本機 presence 安裝中每個儲存庫的即時專案模型與結果遙測資料。
- 可以做什麼
- 這個 PyPI 啟動器會尋找本機 presence 安裝,並把 stdio 轉送給它的 MCP 伺服器。它為每個儲存庫提供兩個唯讀資源:Markdown 格式的即時 model.md,以及近期提交、回復與驗證宣稱組成的 JSON 陣列。啟動器本身不實作 MCP 協定,只有約 40 行僅使用標準函式庫的 Python 程式碼。
- 適用情境
- 當你已經執行 presence 這個 Claude Code 外掛,並希望從 Claude Desktop、Cursor、Continue 或其他支援 MCP 的用戶端,用單一指令名稱而不是每台機器都不同的絕對路徑存取其專案模型與遙測資料時使用。
- 執行需求
- 需要 Python 3.12 或更新版本,以及本機 presence 安裝(已測試 0.6.0 及更新版本)。啟動器從預設外掛路徑或 PRESENCE_MCP_CLI 環境變數尋找 presence,並可透過 PRESENCE_MCP_PYTHON 使用其他解譯器。CI 涵蓋 Linux 與 macOS;Windows 未測試。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Presence Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
presence-mcp
[PyPI] [Python versions] [License: Apache 2.0] [CI] [MCP Registry]
PyPI launcher that exposes presence's living project model and outcome telemetry as MCP resources for Claude Desktop, Cursor, Continue, and other MCP-aware clients.
presence is a Claude Code plugin. It already ships a stdio MCP server at lib/cli.py mcp and exposes two read-only resources per repository (see What you get). This package is the PyPI shim that lets that server be listed in the official MCP Registry and invoked with a single command name in every per-client config, instead of an absolute path that varies per machine.
The launcher itself speaks no MCP. It locates a local presence install and forwards stdio to python lib/cli.py mcp. About 40 lines of Python, stdlib only.
Quick start
Then point any MCP client at the presence-mcp command. For Claude Desktop, that's:
Full per-client config for Cursor and Continue below. Requires Python 3.12+ and a local presence install.
What you get
Two read-only MCP resources, one per repository you've worked on:
<repo_id> is a 12-char SHA-256 prefix of the repo. The server resolves the current repo from the launcher's working directory; see Working-directory caveat. Resource schema and protocol details: presence's docs/mcp.md.
Per-client configuration
The same presence-mcp command works in every client.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS), or the equivalent on Windows / Linux:
Cursor
.cursor/mcp.json in the project root, or the global Cursor MCP settings:
Continue
~/.continue/config.json:
Verify the install
The launcher accepts JSON-RPC on stdin. Pasting {"jsonrpc":"2.0","id":1,"method":"initialize"} and pressing Enter should yield an initialize response. You can also invoke it as python -m presence_mcp if a console script isn't convenient.
Environment variables
If presence-mcp reports it could not locate presence, install presence at the standard Claude Code plugin path, or set PRESENCE_MCP_CLI.
Working-directory caveat
presence's MCP server resolves the current repo from the launcher's working directory via git rev-parse --show-toplevel. MCP clients that launch the server from a fixed directory will only see one repo. To switch repos, either launch a separate instance per project (set cwd in the client's per-server config), or restart the server from the target project root.
Compatibility
- Python: 3.12 or newer. CI matrix covers 3.12 / 3.13 / 3.14.
- presence: tested with
>= 0.6.0. Older versions back to v0.4.1 (where the MCP server first shipped) may still work but are not exercised by CI. - Platforms: Linux and macOS exercised in CI. Windows is untested in v0.1.0. The launcher uses
subprocess.runwhich is cross-platform, but the default presence install path (~/.claude/plugins/presence/lib/cli.py) needs a real Windows install to confirm. Report issues if you try it.
This launcher is protocol-agnostic: it does not rev when presence ships new MCP resources. It only revs when its own resolution logic, CLI surface, or server.json content changes.
Where to file issues
- Launcher bugs (path detection, install errors, CLI argument forwarding): issues on this repo.
- Resource-content bugs (what
presence://*/modelreturns, telemetry schema, working-directory behavior, anything about the protocol itself): issues on the presence repo.
Disambiguation
presence's MCP server advertises serverInfo.name = "presence-mcp" in its initialize response. That's the server's MCP identity. This package is the PyPI launcher. The names match by intent.
Links
- PyPI: https://pypi.org/project/presence-mcp/
- MCP Registry: https://registry.modelcontextprotocol.io/v0/servers?search=presence-mcp (
io.github.sara-star-quant/presence-mcp) - Upstream (presence): https://github.com/sara-star-quant/presence
License
來源:README.md,提交 c6854d8
工具
0版本歷史
1- v0.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分

