MCP Server Policy

PLANETSCALE MCP POLICY

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

planetscale-mcp 4 read 1 write 5 tools total
planetscale database mysql serverless-db

GET STARTED

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

terminal

# Download policy scaffold

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

# Run with Intercept

intercept --policy planetscale.yaml -- npx -y @planetscale-mcp

Server documentation: https://github.com/planetscale/mcp-server

READ TOOLS

4

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.

planetscale.yaml
version: "1"
description: "Policy for planetscale-mcp"
default: "allow"
tools:
    execute_read_query:
        rules: []
    get_insights:
        rules: []
    list_cluster_sizes:
        rules: []
    search_documentation:
        rules: []
    execute_write_query:
        rules: []

RELATED POLICIES

FREQUENTLY ASKED QUESTIONS

What tools does the PlanetScale MCP server expose?

The PlanetScale MCP Server exposes 5 tools across 2 categories: Read, Execute. Each tool can be individually controlled with Intercept policies.

How do I enforce policies on PlanetScale?

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

Is the PlanetScale 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 PLANETSCALE

Open source. One binary. Zero dependencies.