mcp-server-policy

v0.4.1
@transcend-io/mcp-server-policy Checked 1 day ago Published 1 day ago

Transcend MCP Server — Policy Engine tools.

Transcend MCP Server for Policy Engine. Provides tools to author OPA Rego policies, inspect bundle versions, publish inert revisions, and explicitly set them live. Requires Node.js ≥ 22.12 (see engines in package.json). Operations mirror transcend policy CLI commands. Use a single credential with Activate Policy scope — it includes Manage and View.

Summary extracted from the README.

@transcend-io/mcp-server-policy

Beta — this package is under active development. APIs may change without notice.

Transcend MCP Server for Policy Engine. Provides tools to author OPA Rego policies, inspect bundle versions, publish inert revisions, and explicitly set them live.

Requires Node.js ≥ 22.12 (see engines in package.json).

Tools

Tool Description
policy_get_templates Embedded starter templates for policy bundles (no network)
policy_list_bundles List bundles, version history, presigned download URLs
policy_publish Upload an inert version from a workspace directory
policy_set_live Activate or deactivate a version (explicit go-live step)

Operations mirror transcend policy CLI commands. Use a single credential with Activate Policy scope — it includes Manage and View.

Install

npm install -g @transcend-io/mcp-server-policy

Usage

TRANSCEND_OAUTH_CLIENT_ID=your-client-id \
TRANSCEND_OAUTH_CLIENT_SECRET=your-client-secret \
TRANSCEND_OAUTH_REDIRECT_PORT=your-client-redirect-port \
transcend-mcp-policy

OAuth scopes: ActivatePolicyEngineBundles (covers all policy tools). See src/scopes.ts.

Full setup: MCP root README.