Skip to main content

mcpwarden-ui

Local dashboard for mcpwarden-gate — the MCP security gateway.

Visualise audit logs, edit policy, approve (or deny) tool calls in real time, and query the gateway from within your AI client via mcpwarden-mcp.


Install

pip install "mcpwarden-gate[ui]"
# or separately:
pip install mcpwarden-ui

Requires Python 3.11+ and mcpwarden-gate>=1.1.


Usage

# Read-only dashboard (audit log viewer + policy page)
mcpwarden-ui --policy gateway.toml

# With live approval inbox (approval = "inbox" in gateway.toml)
mcpwarden-ui --policy gateway.toml --inbox

# Point at an existing audit log without a policy file
mcpwarden-ui --log audit.jsonl

Opens at http://127.0.0.1:8421 with a one-time bearer-token link printed to stdout. No data leaves your machine.

Docker

docker run --rm -p 8421:8421 \
  -v "$PWD/gateway.toml:/policy/gateway.toml:ro" \
  -v "$PWD/audit.jsonl:/logs/audit.jsonl:ro" \
  ghcr.io/a043-studios/mcpwarden-gate:latest \
  mcpwarden-ui --policy /policy/gateway.toml --log /logs/audit.jsonl --host 0.0.0.0

Dashboard pages

Page Description
Overview Session counts, call timeline, top tools, egress targets, recent sessions
Live feed Real-time stream of every gateway decision
Sessions Sortable table of all sessions; click for full timeline
Blocks Per-control block counts, tools, and exact reasons
Egress targets All destination hosts, with allowlist status
Approvals Grant/deny stats per control
Quarantine Tools blocked by pinning (changed or unreviewed)
Policy Full loaded policy; edit in-browser when started with --policy
Inbox Live approval requests (requires --inbox)
MCP servers Catalog of all configured MCP servers with tool annotations

mcpwarden-mcp — dashboard as MCP server

mcpwarden-mcp exposes audit and policy data as MCP resources so your AI client can query session history without opening a browser.

mcpwarden-mcp --policy gateway.toml --log audit.jsonl

Add it alongside the gateway in your client config — see ../docs/Integrations.md for Claude Desktop, VS Code, and Cursor examples.


Rebuilding the frontend (contributors only)

The compiled frontend (ui/src/mcpwarden_ui/static/) is committed. Users do not need Node.js.

If you edit the frontend source:

cd ui/frontend
npm ci
npm run build:install   # rebuilds and copies into ../src/mcpwarden_ui/static/

Metadata

Release files for mcpwarden-ui 1.1.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 mcpwarden-ui 1.1.0
File Size Uploaded Provenance Actions
mcpwarden_ui-1.1.0.tar.gz 653.7 kB Without provenance Details for mcpwarden_ui-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcpwarden-ui 1.1.0
File Interpreter ABI Platform Actions
mcpwarden_ui-1.1.0-py3-none-any.whl Python 3 none any Details for mcpwarden_ui-1.1.0-py3-none-any.whl

Total release size: 1.2 MB

Release files / mcpwarden_ui-1.1.0.tar.gz

Download URL mcpwarden_ui-1.1.0.tar.gz
Size 653.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a4267ad7c46bd02f0c2519ee718636530961ed38d70301cc260e75b80db1662d
BLAKE2b-256 checksum
How to use checksums
7f29ba1c478205e78e480cde64e6b620260c80ea0084d026e4b708f2c64083c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / mcpwarden_ui-1.1.0-py3-none-any.whl

Download URL mcpwarden_ui-1.1.0-py3-none-any.whl
Size 559.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48cc3a4ce2c4104b880ed810bb008fcaab5acb2172789e325b7a548f7d770819
BLAKE2b-256 checksum
How to use checksums
d8bff95a65d23bebed00c917c7306dacf8d5edefc1a05ff24a8e97f1caf9a46c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for mcpwarden-ui 1.1.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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

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