> ## Documentation Index
> Fetch the complete documentation index at: https://docs.provenlog.com/llms.txt
> Use this file to discover all available pages before exploring further.

# plog proxy

> Start the MCP proxy

`plog proxy` spawns an MCP server as a child process, intercepts all JSON-RPC messages, and logs every tool call to the audit trail.

## Usage

```bash theme={null}
plog proxy --command "npx @modelcontextprotocol/server-filesystem /tmp"
plog proxy --command "npx @modelcontextprotocol/server-filesystem /tmp" --agent-id my-agent
```

## Flags

| Flag         | Default                  | Description                               |
| ------------ | ------------------------ | ----------------------------------------- |
| `--command`  | —                        | **Required.** MCP server command to spawn |
| `--agent-id` | `mcp-proxy`              | Agent identifier for audit events         |
| `--labels`   | —                        | Comma-separated `key=value` label pairs   |
| `--db`       | `~/.provenlog/events.db` | Local SQLite database path                |

See [MCP Proxy](/adapters/mcp-proxy) for more details.
