# zero MCP server

> Provides a governance and security gateway for MCP traffic, enabling identity validation, policy enforcement, and PII masking in regulated environments.

- Repository: https://github.com/abwaters/mcp-zero
- Page: https://hostedmcp.org/servers/abwaters/mcp-zero
- Transport: —
- Stars: 1
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MCP_POLICY_FILE` | no | no |  |
| `MCP_UPSTREAM_URL` | no | no |  |
| `OKTA_AUDIENCE` | no | no |  |
| `OKTA_ISSUER` | no | no |  |

## FAQ

### What security controls does mcp-zero provide?

It provides identity validation via Okta OAuth2, YAML-based policy enforcement, PII and secret masking using Microsoft Presidio, and structured auditing.

### How do I configure access rules for specific tools?

You can use YAML policy files to define rules scoped to specific servers, tools, users, or groups using a default-deny approach.

### Can I use this for local stdio MCP servers?

Yes, the gateway can manage local processes spawned via stdio transport as defined in your policy configuration.
