MCP Server Policy

PRISMA MCP POLICY

Enforce policies on every tool call to the Prisma MCP Server. 17 tools listed, categorised, and ready for rules.

prisma 6 read 11 write 17 tools total
prisma database orm postgres migrations

GET STARTED

Download this policy scaffold and add your rules. Intercept enforces them on every tool call before it reaches Prisma.

terminal

# Download policy scaffold

curl -o prisma.yaml https://raw.githubusercontent.com/policylayer/intercept/main/policies/prisma.yaml

# Run with Intercept

intercept --policy prisma.yaml -- npx -y @prisma

Server documentation: https://github.com/prisma/mcp

READ TOOLS

6

WRITE TOOLS

7

DESTRUCTIVE TOOLS

3

EXECUTE TOOLS

1

POLICY YAML

This scaffold lists every tool with empty rules. Add conditions — rate limits, argument validation, deny rules — then deploy with Intercept.

prisma.yaml
version: "1"
description: "Policy for prisma"
default: "allow"
tools:
    migrate-status:
        rules: []
    Prisma-Postgres-account-status:
        rules: []
    ListDatabasesTool:
        rules: []
    ListBackupsTool:
        rules: []
    ListConnectionStringsTool:
        rules: []
    IntrospectSchemaTool:
        rules: []
    migrate-dev:
        rules: []
    Create-Prisma-Postgres-Database:
        rules: []
    CreateBackupTool:
        rules: []
    CreateConnectionStringTool:
        rules: []
    CreateRecoveryTool:
        rules: []
    Prisma-Login:
        rules: []
    Prisma-Studio:
        rules: []
    migrate-reset:
        rules: []
    DeleteDatabaseTool:
        rules: []
    DeleteConnectionStringTool:
        rules: []
    ExecuteSqlQueryTool:
        rules: []

RELATED POLICIES

FREQUENTLY ASKED QUESTIONS

What tools does the Prisma MCP server expose?

The Prisma MCP Server exposes 17 tools across 4 categories: Read, Write, Destructive, Execute. Each tool can be individually controlled with Intercept policies.

How do I enforce policies on Prisma?

Download the policy scaffold, add rules (rate limits, argument validation, deny rules), then run Intercept as a proxy in front of the Prisma MCP server. Every tool call is evaluated against your YAML policy before execution.

Is the Prisma policy free to use?

Yes. All Intercept policies are open source under the Apache 2.0 licence. Download, modify, and deploy without restrictions.

ENFORCE POLICIES ON PRISMA

Open source. One binary. Zero dependencies.