mcp opa authz for Zed
io.github.kanywst/mcp-opa-authz
Authorization answers from real policy code: evaluate Rego locally, or ask an AuthZEN 1.0 PDP.
client:Zed
transport:stdio
runtime:oci
Install mcp opa authz in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"mcp-opa-authz": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/kanywst/mcp-opa-authz:0.3.0"
],
"env": {
"AUTHZEN_PDP_URL": "<AUTHZEN_PDP_URL>",
"AUTHZEN_PDP_TOKEN": "<AUTHZEN_PDP_TOKEN>",
"AUTHZEN_PDP_TIMEOUT": "<AUTHZEN_PDP_TIMEOUT>",
"MCP_OPA_EVAL_TIMEOUT": "<MCP_OPA_EVAL_TIMEOUT>",
"MCP_OPA_ALLOW_NETWORK_BUILTINS": "<MCP_OPA_ALLOW_NETWORK_BUILTINS>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs