Hidden while we check this listing

Our automated checks found a problem, so this listing is out of search, browse and the API until it clears. It comes back on its own once the problem is fixed.

  • The install package comes from a different repo than this listing's
Own this project? Claim it
MCP Audit logo

MCP Audit

by P4ST4S

Proxies MCP traffic to add signed audits, redaction, policies, rate limits, and a local read-only dashboard.

Install MCP Audit

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "p4st4s-mcp-audit": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 14 tools correctly (1mo ago).

Overview

The P4ST4S/mcp-audit MCP server proxies JSON-RPC traffic between an MCP client and an upstream MCP server. It records signed audit entries, redacts configured sensitive keys, applies tool policies and rate limits, and provides a local dashboard. It supports stdio and HTTP upstreams, with optional TLS and mTLS settings for HTTP connections. Reach for it when you need observability or security controls without changing the client or upstream server.

Use cases

  • Audit AI-agent tool calls in regulated environments
  • Redact sensitive fields before storing MCP traffic
  • Block disallowed tools with policy rules
  • Apply per-tool request limits
  • Review signed JSONL or SQLite audit records

Key features

  • Stdio and HTTP MCP proxying
  • JSONL and SQLite audit storage
  • HMAC-SHA256 audit signing
  • JSON key-based redaction
  • Tool policies and rate limits
  • Read-only dashboard and Prometheus metrics

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

20/21 checks healthy over the last 90d

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 0High 2Medium 0Low 0

Scanned 3d ago via OSV.dev · @modelcontextprotocol/server-filesystem (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars8Stargazers on the source repository.
Last commit21d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Audit works

What P4ST4S/mcp-audit MCP server does

The P4ST4S/mcp-audit MCP server is a transparent proxy rather than a domain-specific MCP tool provider. It receives MCP JSON-RPC traffic from a client, forwards that traffic to an upstream server, and records the exchange for review. The proxy covers tool calls, resource reads, prompt requests, and other JSON-RPC methods.

Audit records can be stored as JSONL files or in SQLite. Entries can be signed with HMAC-SHA256 when a secret is configured. Sensitive values can be removed from stored requests and responses using case-insensitive JSON key fragments. The proxy can also enforce allow or deny rules for tools/call requests and apply token-bucket limits per client and tool.

A local read-only dashboard is available by default on port 9090, while Prometheus metrics are exposed on port 9091. These interfaces provide local operational visibility alongside the audit storage.

How it works

Place the P4ST4S/mcp-audit MCP server between the MCP client and the upstream server. In stdio mode, it starts the configured upstream command and communicates with the client over local standard input and output. In HTTP mode, it listens on its configured port and forwards requests to an HTTP upstream URL.

The proxy preserves MCP protocol traffic while applying middleware during forwarding. Rate limiting is enabled by default at 60 requests per minute for each client-and-tool pair. Redaction is also enabled by default. Policy checks are disabled by default, and retries are disabled by default; when enabled, retries are limited to conservative, idempotent HTTP JSON-RPC methods, and tools/call is not retried.

HTTP deployments can specify a custom CA bundle, TLS server-name override, or client certificate and key for mutual TLS. Request headers are stripped by default, with selected headers such as Authorization available through configuration when the upstream requires them.

Setup and configuration

Install a release binary, use the published container image, or build from source with Go. The repository documents the following source installation command:

bash
go install github.com/P4ST4S/mcp-audit/cmd/mcp-audit@latest

A typical local setup supplies an AUDIT_SECRET and starts stdio mode with an upstream command. HTTP mode accepts an upstream URL and can expose the dashboard and metrics endpoints using their default ports. Docker Compose is also documented as an option.

By default, configuration is loaded from config.yaml in the current directory. Command-line flags take precedence over file values, and AUDIT_SECRET takes precedence over audit.secret. Important settings include the transport, upstream, audit backend and paths, signing behavior, redaction patterns, policy rules, rate limits, rotation, and asynchronous audit buffering.

Tools and capabilities

The P4ST4S/mcp-audit MCP server does not add domain-specific tools. Its capabilities are proxy and operational controls:

  • Forward MCP traffic over stdio or HTTP.
  • Write audit data to JSONL or SQLite.
  • Sign audit entries with HMAC-SHA256 when configured.
  • Redact sensitive JSON fields before storage.
  • Apply allow or deny rules to tool calls.
  • Limit requests per client and tool.
  • Rotate JSONL archives by size or time and retain them by count or age.
  • Serve a read-only dashboard and Prometheus metrics.

Limitations and notes

The proxy does not replace or modify the upstream MCP server, and directories may display upstream tools rather than capabilities implemented by the proxy itself. HTTP retry behavior is intentionally narrow and does not retry tool calls. TLS certificate verification can be disabled for local testing, but that setting is not suitable as a general production configuration. The dashboard and metrics endpoints use local default addresses and ports unless changed by the deployment configuration.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Audit

Install from source with `go install github.com/P4ST4S/mcp-audit/cmd/mcp-audit@latest`, download a prebuilt release, or run the documented Docker image.

Yes. The server supports stdio mode for local MCP clients, and the repository includes a Claude Desktop configuration example.

Run the proxy between the client and upstream server, selecting stdio mode for a local command or HTTP mode for an HTTP upstream.

Yes. JSON key-based redaction is enabled by default and uses configurable, case-insensitive key fragments.

It supports JSONL and SQLite storage. The default JSONL path is `./audit.jsonl`, and the default SQLite path is `./audit.db`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Audit AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/p4st4s-mcp-audit?style=directory)](https://allmcps.com/mcp/p4st4s-mcp-audit)
HTML Embed
<a href="https://allmcps.com/mcp/p4st4s-mcp-audit"><img src="https://allmcps.com/api/badge/p4st4s-mcp-audit?style=directory" alt="MCP Audit on AllMCPs" /></a>