Skip to main content

Launcher that exposes the presence Claude Code plugin's MCP server to any MCP-aware client.

Project description

presence-mcp

Launcher for the presence MCP server. presence is a Claude Code plugin that already exposes its living project model and outcome telemetry as MCP resources; this package is the PyPI-distributed shim that bridges that MCP server into the official MCP Registry so any MCP-aware client (Claude Desktop, Cursor, Continue, custom JSON-RPC clients, ...) can connect.

The launcher itself speaks no MCP. It locates a local presence install and runs python lib/cli.py mcp, forwarding stdio. See docs/mcp.md in the presence repo for the protocol details and resource schema.

Install

  1. Install presence as a Claude Code plugin first. This launcher is a frontend, not a replacement.
  2. pip install presence-mcp (or pipx install presence-mcp, or uv tool install presence-mcp). Requires Python 3.12+.
  3. Verify: presence-mcp should accept JSON-RPC on stdin. Pasting {"jsonrpc":"2.0","id":1,"method":"initialize"} and pressing Enter should yield an initialize response from the presence MCP server.

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.
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.

Per-client configuration

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"
    }
  ]
}

Working-directory caveat

presence's MCP server resolves the current repo from the launcher's working directory via git rev-parse --show-toplevel (see presence's docs/mcp.md). 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.

Disambiguation

presence's MCP server advertises serverInfo.name = "presence-mcp" in its initialize response (see presence docs/mcp.md). That's the server's MCP identity. This package is the PyPI launcher. The names match by intent.

Versioning and support

  • 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.
  • Tested with presence >= 0.6.0. Older presence versions may still work (the entrypoint lib/cli.py mcp has existed since v0.4.1) but are not exercised by CI.
  • File launcher-only bugs (path detection, install errors, CLI argument forwarding) on this repo's issues. File resource-content bugs (what presence://*/model returns, telemetry schema, etc.) on the presence repo.
  • Windows: untested in v0.1.0. The launcher uses subprocess.run which 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.

License

MIT. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

presence_mcp-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

presence_mcp-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file presence_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: presence_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for presence_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c24453f1e70a0d6159b454dbd2dc331ed2d81a40dd18881b5852e7367a904268
MD5 d0b43ac243a024ae49aa7a6e919ee7f3
BLAKE2b-256 94df7c5caba60da95e8312b2706ff38d375aa43a340db21acd659713f6f80eb6

See more details on using hashes here.

File details

Details for the file presence_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: presence_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for presence_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d30ec6eabe222630fa0c03ec2ef0ae693cc3a53e4e201084e31dd858997e88e4
MD5 e9a67a0c04ec3b1e342b8f55cc6789a4
BLAKE2b-256 bdc77c9d214dc6dd032603b63a47e0123aa6136da8d32ad7d8516e61acf2888e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page