Skip to main content

ProtoWall

CLI and MCP server for managing ProtoWall projects, invites, and access.

Install

pip install protowall

Or from source:

git clone https://github.com/protowall/cli.git
cd cli
pip install .

API Key

Create an API key at protowall.app/dashboard and set it:

export PROTOWALL_API_KEY="pw_sk_your_key_here"

CLI

protowall projects                          # List projects
protowall project <slug>                    # Get project detail
protowall project create <name> <url>       # Create project
protowall project delete <slug>             # Delete project
protowall invites <slug>                    # List invites
protowall invite <slug> <email>             # Send invite
protowall revoke <slug> <invite-id>         # Revoke access
protowall audit <slug>                      # View audit log
protowall usage <slug> [7d|30d]             # Project usage analytics (Pro)
protowall reviewer <slug> <invite-id> [7d|30d]   # Per-reviewer engagement (Pro)
protowall sessions <slug> <invite-id>       # List sessions + cached AI summaries (Pro, read-only)
protowall summarize-session <slug> <invite-id> <session-start>   # Generate session summary (Pro, uses cap)
protowall previews <slug> [--open]          # List project previews (Pro)
protowall preview create <slug> <suffix> <url> [--label=...] [--ref=...]   # Create preview (Pro)
protowall preview update <slug> <preview-id> [--url=...] [--label=...] [--ref=...]   # Update preview (Pro)
protowall preview close <slug> <preview-id> # Soft-close preview (Pro)
protowall requests <slug> [pending|approved|declined]   # List access requests
protowall request approve <slug> <request-id>   # Approve a request (creates Invite)
protowall request decline <slug> <request-id>   # Decline a request (silent)
protowall rotate-secret <slug>              # Rotate origin secret

All commands output JSON for easy piping:

protowall projects | jq '.[0].slug'

MCP Server

Add to your agent's MCP config:

Claude Code (~/.claude/settings.json or project .claude/settings.json):

{
  "mcpServers": {
    "protowall": {
      "command": "protowall-mcp",
      "env": {
        "PROTOWALL_API_KEY": "pw_sk_your_key_here"
      }
    }
  }
}

Cursor (.cursor/mcp.json in your project root):

{
  "mcpServers": {
    "protowall": {
      "command": "protowall-mcp",
      "env": {
        "PROTOWALL_API_KEY": "pw_sk_your_key_here"
      }
    }
  }
}

Available Tools

Tool Description
list_projects List all projects you own
create_project Create a new project with an NDA wall
send_invite Invite a reviewer by email
revoke_access Revoke a reviewer's access immediately
get_audit_log View audit events for a project
rotate_secret Rotate the origin secret
get_project_usage Project-wide engagement rollup over 7 or 30 days (Pro)
get_reviewer_engagement Per-reviewer engagement rollup with top paths and timeline (Pro)
list_reviewer_sessions List a reviewer's sessions with cached AI summaries (Pro, read-only — no cap consumed)
summarize_reviewer_session Generate or fetch a cached AI summary for one session (Pro, counts against monthly cap)
list_previews List a project's parallel previews — per-PR / per-branch / per-experiment URLs (Pro)
create_preview Spin up a new preview at {slug}-{suffix}.proxy.protowall.app (Pro)
update_preview Update destination URL, label, or external_ref on an open preview (Pro)
close_preview Soft-close a preview when its PR merges or experiment ends (Pro)
list_access_requests List access requests strangers have submitted on the no-access page
approve_access_request Approve a pending request — creates an Invite and sends the standard email
decline_access_request Decline a pending request silently (no email back to requester)

Once configured, ask your agent things like:

  • "Create a ProtoWall project for my prototype at https://my-app.onrender.com"
  • "Invite reviewer@example.com to my-project"
  • "Show the audit log for my-project"
  • "Who looked at my-project this week and what did they spend time on?"
  • "Pull the engagement breakdown for the reviewer with invite id cvw80…"
  • "Summarize what acme@corp.com did during their most recent session on my-project"
  • "Spin up a preview of my-project for PR #42 at https://my-app-pr-42.preview.run"
  • "List my open previews of my-project, then close the one for the merged redesign branch"
  • "Show pending access requests on my-project and approve the one from acme@corp.com"

Design notes

Session summaries are dashboard-write, API-read

summarize_reviewer_session is idempotent — it returns a cached summary if one exists, otherwise it generates a fresh one (which counts against the builder's monthly cap of 50). It does NOT force-regenerate an active summary, and there is no clear or regenerate command on the CLI / MCP / API.

Those two operations are deliberately dashboard-only. The reasoning:

  1. The monthly cap stays a meaningful boundary. Without a clear endpoint, no agent automation can quietly cycle summaries to "find the best framing" and burn through a builder's slots.
  2. Cleaner product split. The cached AI summary is a UX convenience for dashboard users. Agents that want a custom narrative have raw events and durations available via list_reviewer_sessions and get_reviewer_engagement — bring your own model and your own budget.

If list_reviewer_sessions returns a session with summary: null, that can mean either "never generated" OR "generated then cleared." Either way, the right next step from an agent's perspective is the same: call summarize_reviewer_session to get an active one (or compose your own narrative from the raw events).

Environment Variables

Variable Required Default
PROTOWALL_API_KEY Yes —
PROTOWALL_API_URL No https://protowall.app

Metadata

Release files for protowall 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for protowall 0.4.0
File Size Uploaded Provenance Actions
protowall-0.4.0.tar.gz 12.3 kB Without provenance Details for protowall-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for protowall 0.4.0
File Interpreter ABI Platform Actions
protowall-0.4.0-py3-none-any.whl Python 3 none any Details for protowall-0.4.0-py3-none-any.whl

Total release size: 24.6 kB

Release files / protowall-0.4.0.tar.gz

Download URL protowall-0.4.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5fac51bb48eaf3e3faac303a51a09d163535f7719977247fbb80ed1c78cdfc12
BLAKE2b-256 checksum
How to use checksums
c042beaba35e7e368c8f8bec48362bfb7f11b42d2241ab0afc41c57b9c4b0ecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / protowall-0.4.0-py3-none-any.whl

Download URL protowall-0.4.0-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
685f82eebfffe99c9c1762694c534cd6560af6cbbfe707c9fc86402750a6c95d
BLAKE2b-256 checksum
How to use checksums
3c8bfcf18aa23a1985522e84fae7d2a46cae1fc846d00d526ec9a73c2117ca29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for protowall 0.4.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page