MCP Server Policy

SENTRY MCP POLICY

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

getsentry/sentry-mcp 18 read 7 write 25 tools total
sentry error-tracking monitoring debugging

GET STARTED

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

terminal

# Download policy scaffold

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

# Run with Intercept

intercept --policy sentry.yaml -- npx -y @getsentry/sentry-mcp

Server documentation: https://github.com/getsentry/sentry-mcp

READ TOOLS

18

WRITE TOOLS

5

OTHER TOOLS

2

POLICY YAML

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

sentry.yaml
version: "1"
description: "Policy for getsentry/sentry-mcp"
default: "allow"
tools:
    find_dsns:
        rules: []
    find_organizations:
        rules: []
    find_projects:
        rules: []
    find_releases:
        rules: []
    find_teams:
        rules: []
    get_doc:
        rules: []
    get_event_attachment:
        rules: []
    get_issue_details:
        rules: []
    get_issue_tag_values:
        rules: []
    get_sentry_resource:
        rules: []
    get_trace_details:
        rules: []
    list_events:
        rules: []
    list_issue_events:
        rules: []
    list_issues:
        rules: []
    search_docs:
        rules: []
    search_events:
        rules: []
    search_issue_events:
        rules: []
    search_issues:
        rules: []
    create_dsn:
        rules: []
    create_project:
        rules: []
    create_team:
        rules: []
    update_issue:
        rules: []
    update_project:
        rules: []
    analyze_issue_with_seer:
        rules: []
    whoami:
        rules: []

RELATED POLICIES

FREQUENTLY ASKED QUESTIONS

What tools does the Sentry MCP server expose?

The Sentry MCP Server exposes 25 tools across 3 categories: Read, Write, Other. Each tool can be individually controlled with Intercept policies.

How do I enforce policies on Sentry?

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

Is the Sentry 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 SENTRY

Open source. One binary. Zero dependencies.