PromptReports
AuthZEN 1.0

Kong and Cloudflare ask PromptCompute.

Once AUTHZEN_API is on, PromptCompute will answer AuthZEN 1.0 evaluation requests from your org's own rules. A gateway in front of your MCP servers or APIs, such as Kong or Cloudflare, sends one before it lets an agent's call through, and gets back allow, deny or pending approval, with the rule that decided.

State: Planned: built behind AUTHZEN_API, which is off

PromptCompute built the endpoints behind the AUTHZEN_API switch, which is off in production. Until it is on, they are not served.

For an agent: the same page as Markdown at https://promptreports.ai/id/authzen.md.

Endpoints

  • POST https://api.promptcompute.ai/access/v1/evaluation for one decision.
  • POST https://api.promptcompute.ai/access/v1/evaluations for up to 20 in one request, with options.evaluations_semantic set to execute_all (the default), deny_on_first_deny or permit_on_first_permit.
  • GET https://api.promptcompute.ai/.well-known/authzen-configuration names both.

The gateway sends the org's PromptCompute API key, with scope approvals:read, as Authorization: Bearer <key>. An X-Request-ID it sends comes back on the answer.

The request

  • action.name is the catalog action key, such as shell.command.run or mcp.tool.call.
  • The action's arguments are context.args, else resource.properties.
  • subject.type agent with an agt_ or pcv_ id acts as that agent. The gateway names the agent and does not prove it, so the rules treat it as unverified, and a paused agent is denied. user names the person.
  • context.amount_cents checks the agent's spending policy cap per purchase, and context.ip is the address a network condition reads.

A gateway asks before an agent merges a pull request through an MCP server:

{
  "subject": {
    "type": "agent",
    "id": "agt_example0001"
  },
  "action": {
    "name": "mcp.tool.call"
  },
  "resource": {
    "type": "mcp_tool",
    "id": "github:merge_pull_request"
  },
  "context": {
    "args": {
      "server": "github",
      "tool": "merge_pull_request",
      "arguments": {
        "pull_number": 42
      }
    }
  }
}

The answer

Allow:

{
  "decision": true,
  "context": {
    "decision_state": "allow",
    "rule": "<the rule that decided>",
    "risk": "<risk>"
  }
}

Pending approval:

{
  "decision": false,
  "context": {
    "reason": "approval_required",
    "decision_state": "pending_approval",
    "rule": "<the rule that decided>",
    "access_request": {
      "endpoint": "https://api.promptcompute.ai/v1/approvals",
      "expires_at": "<when the request would expire>"
    }
  }
}

Deny:

{
  "decision": false,
  "context": {
    "reason": "denied",
    "decision_state": "deny",
    "rule": "<the rule that decided>"
  }
}

The answer comes from the same code that files a real approval request, run in a transaction that is rolled back: policy rules and risk tiers, never automatic actions and the critical classes, the autonomy dial, request conditions, person-only actions and limits. Nothing is filed and nothing is stored. A request in a critical class is answered pending approval whatever the key.

A gateway treats a pending answer as a deny until it files the request with POST /v1/approvals and a new evaluation allows. The pending shape follows the AuthZEN Access Request and Approval Profile draft.

Kong

Kong sits in front of the MCP server or API. Before it forwards an agent's call, it sends the evaluation above with the org's key and forwards the call only when decision is true.

[author: confirm the Kong plugin or setting that calls an outside AuthZEN decision point, and its docs link]

Cloudflare

Cloudflare sits in front of the MCP server or API the same way, and asks the same question before each call.

[author: confirm which Cloudflare product or setting calls an outside AuthZEN decision point, and its docs link]

PromptCompute's own gateway for your MCP servers asks the same rules before each call. It is built behind CUSTOMER_MCP_GATEWAY, which is off.

The OpenID AuthZEN working group's interop decisions run against the same protocol code in PromptCompute's CI. AuthZEN 1.0: https://openid.net/specs/authorization-api-1_0.html

State

An outside gateway such as Kong or Cloudflare asks PromptCompute for an AuthZEN 1.0 decision: Planned: built behind AUTHZEN_API, which is off

The endpoints, fields and answers on this page come from promptcompute.ai apps/api/src/routes/authzen.ts and docs/agent-integrations.md, read on 2026-11-24. No Kong or Cloudflare setup has asked PromptCompute for a decision yet.

One agent policy, a managed file for each coding assistant: the servers, tools and approvals each coding assistant reads from a managed file.