parapetai-mcp
MCP server for Claude Code (and other MCP clients) that talks to a Parapet control plane: device-code login in your browser, then provision governed agents and pull the exact quickstart config a codebase needs — without hand-editing env vars.
pipx install parapetai-mcp
parapetai-mcp init # installs all packaged parapet-* skills into .claude/skills/
claude mcp add parapet -e PARAPETAI_CONTROL_PLANE_URL=https://app.parapet.run -- parapetai-mcp serve
pipx, not pip — this is a CLI tool (a [project.scripts] entry point), not a
library anything imports, and most Python installs on macOS/Linux now ship as
PEP 668 "externally managed" (Homebrew's Python does), which makes a bare
pip install parapetai-mcp fail rather than risk corrupting packages the
system relies on. pipx installs CLI tools into their own isolated venv and
puts the entry point on PATH — no venv to activate, no --break-system-packages
flag needed. No pipx available? python3 -m pip install --user pipx && pipx ensurepath (or brew install pipx on macOS), then re-run the command
above. uv tool install parapetai-mcp is an equivalent one-liner if uv is
already on the machine.
Then in Claude Code: "add Parapet to this project."
Tools
| Tool | What it does |
|---|---|
parapet_login_start |
Start device-code login — returns a URL/code to approve, plus a manual fallback |
parapet_login_wait |
Poll until that login is approved, and store the credential |
parapet_whoami |
Who you're authenticated as, and which agents already exist |
parapet_provision_agent |
Provision a new governed agent (agent_id + one-time secret) |
parapet_get_quickstart |
The install command / env var names this deployment expects |
parapet_list_agents |
Read-only agent listing |
parapet_push_policy_file |
Write a Cedar policy file into an agent's bundle (owner/admin role required) |
parapet_check_prerequisites |
Local check (no control-plane call) for Python 3.12+/pipx/uv, with OS-correct install commands for what's missing |
parapet_audit_codebase |
Local, static AST scan (no control-plane call) of an existing Python codebase for ungoverned model/tool calls, scored high/medium/low, saved as a Markdown report |
A parapet_getting_started prompt is also registered — clients that
list MCP prompts (e.g. Claude Code's /mcp menu) can pick it as a
first-run menu: build an example governed-agent app, or do something else
with the tools above. It's discoverable, not auto-fired on connect — no
MCP mechanism forces a prompt onto the first turn.
This server itself never edits your project's source files — it only
talks to the control plane, with two exceptions that stay purely local:
parapet_check_prerequisites only ever reads local machine state, never
sending anything anywhere, and parapet_audit_codebase only ever reads
your source and writes one report file (.parapet/audit/report.md by
default) — actually instrumenting flagged code is a separate, explicit
step (the parapet-audit-fix skill, driven by Claude Code's own file
tools, not this server). Seven packaged skills tell Claude Code how to use
these tools and where to write the resulting config — parapet-maf for
a Microsoft Agent Framework project, parapet-adk for a Google ADK one,
parapet-langgraph for a LangGraph/LangChain one (the frameworks put
governance in different places, so the instrumentation steps genuinely
differ; Claude Code picks whichever matches your project),
parapet-quickdemo for generating a runnable governed-vs-ungoverned
example from scratch in a new or empty project (templates for all three
frameworks),
parapet-install-prereqs for detecting and (with your per-step
approval) installing Python/pipx/uv when one of the others needs them,
and parapet-audit / parapet-audit-fix for scanning an existing
codebase for ungoverned model/tool calls and then, as a separate step,
wrapping the flagged sites in GovernedAgent/GovernedRunner.
Point at a different control plane (e.g. a local make dev instance) with
PARAPETAI_CONTROL_PLANE_URL (default https://app.parapet.run, the hosted
control plane).
Release files for parapetai-mcp 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| parapetai_mcp-0.7.0.tar.gz | 84.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| parapetai_mcp-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 207.1 kB
Release files / parapetai_mcp-0.7.0.tar.gz
| Download URL | parapetai_mcp-0.7.0.tar.gz |
|---|---|
| Size | 84.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35cfe2615fb87d918ea349a39569de3552dccac366017ae5b0d16d317568af11
|
|
BLAKE2b-256 checksum How to use checksums |
c718b14339228d9e07f4b424f5406f9837725f05deecbb461a40c931d36d2be9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / parapetai_mcp-0.7.0-py3-none-any.whl
| Download URL | parapetai_mcp-0.7.0-py3-none-any.whl |
|---|---|
| Size | 122.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd7860189c32ce50c2e498c61174385404a9e041dd767adf556032f6755dbc56
|
|
BLAKE2b-256 checksum How to use checksums |
ed4bf64f951c9137e0e2d84c88591cf43e0d22e5234eae3d3c4d608736602a3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency log