Launcher that exposes the presence Claude Code plugin's MCP server to any MCP-aware client.
Project description
presence-mcp
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
pip install presence-mcp
Then point any MCP client at the presence-mcp command. For Claude Desktop, that's:
{
"mcpServers": {
"presence": {
"command": "presence-mcp"
}
}
}
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:
| URI | Content | MIME type |
|---|---|---|
presence://<repo_id>/model |
Living model.md (Markdown) |
text/markdown |
presence://<repo_id>/telemetry |
Recent commit / revert / verification claims (JSON array) | application/json |
<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:
{
"mcpServers": {
"presence": {
"command": "presence-mcp"
}
}
}
Cursor
.cursor/mcp.json in the project root, or the global Cursor MCP settings:
{
"mcpServers": {
"presence": {
"command": "presence-mcp"
}
}
}
Continue
~/.continue/config.json:
{
"mcpServers": [
{
"name": "presence",
"command": "presence-mcp"
}
]
}
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
| Variable | Purpose |
|---|---|
PRESENCE_MCP_CLI |
Absolute path to presence's lib/cli.py. Overrides the default ~/.claude/plugins/presence/lib/cli.py lookup. If set but the path is missing, the launcher errors out instead of falling back, so typos surface. |
PRESENCE_MCP_PYTHON |
Python interpreter to run presence with. Defaults to sys.executable of the launcher itself. Useful when presence is installed under a different Python (for example, a project venv). |
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file presence_mcp-0.2.0.tar.gz.
File metadata
- Download URL: presence_mcp-0.2.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1819cc61d2625e2169003c6c1de122378648c0e0b2b32c4a81d9417400bccdf
|
|
| MD5 |
f8c778dde7ac57c0681db320a560c996
|
|
| BLAKE2b-256 |
5f908212327136160773a190d5983ce408a6cec1e3ec70bd1e794aea6a29327d
|
Provenance
The following attestation bundles were made for presence_mcp-0.2.0.tar.gz:
Publisher:
release.yml on sara-star-quant/presence-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
presence_mcp-0.2.0.tar.gz -
Subject digest:
b1819cc61d2625e2169003c6c1de122378648c0e0b2b32c4a81d9417400bccdf - Sigstore transparency entry: 1859837008
- Sigstore integration time:
-
Permalink:
sara-star-quant/presence-mcp@c6854d871fa798c270d3ef4e53140f4ed2e859b6 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/sara-star-quant
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c6854d871fa798c270d3ef4e53140f4ed2e859b6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file presence_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: presence_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73922d230fabb5a85f5b0e94b24a1e9563a8388154ac77ba4a3af23a77a2577a
|
|
| MD5 |
6c4035db2ff89af0592e6725fc10d7d9
|
|
| BLAKE2b-256 |
5e20748f3376530fdd0e15b41638d05b311edfcc1de69c10d335205cfae0c9e3
|
Provenance
The following attestation bundles were made for presence_mcp-0.2.0-py3-none-any.whl:
Publisher:
release.yml on sara-star-quant/presence-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
presence_mcp-0.2.0-py3-none-any.whl -
Subject digest:
73922d230fabb5a85f5b0e94b24a1e9563a8388154ac77ba4a3af23a77a2577a - Sigstore transparency entry: 1859837041
- Sigstore integration time:
-
Permalink:
sara-star-quant/presence-mcp@c6854d871fa798c270d3ef4e53140f4ed2e859b6 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/sara-star-quant
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c6854d871fa798c270d3ef4e53140f4ed2e859b6 -
Trigger Event:
push
-
Statement type: