Does the Sentry MCP server meet a scoped, OAuth-only access requirement?
An engineering team wants AI coding agents to read Sentry errors and triage issues, and the security reviewer needs to know whether that access can be kept to one place and tied to a named person. The hosted Sentry MCP server meets the OAuth sign-in and scoping parts of that requirement through its documented URLs: all connections use OAuth, so the agent acts through the signed-in Sentry user's account, and the endpoint can be narrowed to one organization or one project. What the sources do not document is company SSO enforcement, admin allowlisting of MCP clients or audit logging of agent actions. Those controls must be confirmed with Sentry for the plan in use before the tool is approved.
The sources do not name plan tiers for the Sentry MCP server, so the reviewer cannot assume that any particular Sentry plan or edition includes SSO enforcement, admin controls or audit log access. Ask Sentry in writing which plan the organization is on, whether single sign-on is required for OAuth sign-in to the MCP server, whether an administrator can approve or block connecting clients, and which events are recorded when an agent reads or changes data. Ask for the answers to be tied to the organization's contract. If the answers are not in writing, treat those controls as absent in the risk assessment.
Scoping is only as strong as the URL that engineers paste into their client configuration. Confirm that the approved configuration uses the organization or project path, such as the documented mcp.sentry.dev endpoint with an organization slug and project slug, and that the ?experimental=1 parameter is not present, because it enables forward-looking tool variants. Review the local stdio option separately, since the sentry mcp command started from the Sentry CLI uses the CLI login and inherits whatever access that user holds. Anyone able to edit a shared configuration file can change the scope, so store the approved configuration in a managed location and review it on a schedule.
Which lockdown controls the Sentry MCP server documents
This table compares the controls the Sentry MCP docs describe for the hosted endpoint and the local stdio server started with the sentry mcp command. Read the Status column to separate what is documented and built in from what you must confirm with Sentry before approving rollout. Plan tiers are not listed here, so confirm the plan that includes each feature with Sentry.
| Control | Hosted endpoint (HTTP) | Local stdio server (sentry mcp) |
|---|---|---|
| OAuth sign-in on each connection | Built in: all connections use OAuth and the first connection starts a sign-in to your Sentry account | Built in: uses the Sentry CLI login, so the MCP config holds no token |
| Organization scoping | Documented option: use the org slug in the endpoint path to limit the server to one organization | Documented option: run sentry mcp with an org slug (for example my-org/) to limit to one organization |
| Project scoping | Documented option: add a project slug to the endpoint path; the docs recommend this when possible | Documented option: run sentry mcp with org and project slugs (for example my-org/my-project) |
| Tools default to the scoped org or project | Documented: when scoped, tools default to the constrained organization or project | Confirm with Sentry whether the same default applies when the local server is scoped |
| Discovery tools hidden when scoped | Documented: unnecessary discovery tools are hidden when the server is scoped | Confirm with Sentry before relying on this for the local server |
| Experimental flag off | Documented: leave ?experimental=1 off in a locked-down setup, since it enables forward-looking tool variants | Confirm with Sentry how experimental features are enabled or disabled locally |
| Legacy npx package | Not applicable to the hosted endpoint | Documented: the legacy npx @sentry/mcp-server package can run the server without the Sentry CLI; review it separately from the CLI path |
| SSO with your company identity provider | Not documented in the sources; confirm with Sentry for your plan | Not documented in the sources; confirm with Sentry for your plan |
| Admin allowlisting of MCP clients | Not documented in the sources; confirm with Sentry | Not documented in the sources; confirm with Sentry |
| Audit logs of agent tool calls | Not documented in the sources; confirm with Sentry and review what Sentry's own telemetry records | Not documented in the sources; confirm with Sentry before approving use |
How OAuth and URL scoping limit what an agent reaches
The agent acts as the signed-in Sentry user, so its reach equals that user's Sentry permissions. According to the Sentry MCP docs, all connections use OAuth, and the first connection triggers an authentication flow to the Sentry account. Nothing in that flow creates a separate service identity with its own narrow rights. A developer who can see a project in the Sentry web interface can usually have the agent read it, and an account with broader rights exposes more to every client that user connects. Before rollout, confirm which role your reviewers' accounts hold, and check whether the people who will connect agents already have access to the projects you consider sensitive.
The scope itself is set by the URL path. The hosted server at ` covers everything the user can reach, while an organization path or an organization and project path narrows it. According to the Sentry MCP docs, when the connection is scoped, tools default to the constrained organization or project and unneeded discovery tools are hidden, and the docs recommend scoping to a project when possible. Choose the narrowest path your workflow allows, and record the exact URL in your client configuration standard so developers do not substitute a broader one. The local stdio server started with the Sentry CLI works differently: it uses the CLI login, so no token sits in the client configuration, and its scope is set by the organization or project argument supplied at launch.
The experimental query flag deserves a fixed rule in a locked-down setup. According to the Sentry MCP docs, ?experimental=1 enables forward-looking tool variants and experimental features, so it should stay off. Ask the Sentry team or read the current docs to confirm which tools each mode exposes before you approve a configuration, and re-check after upgrades, because the tool list can change between releases. Document the approved URL forms and the single sign-in account each one uses, then test that a scoped connection cannot list or query projects outside its boundary.
Request flow from client to scoped Sentry tools
The hosted path starts when a developer's AI client calls the endpoint The scope is set in the URL path: an organization slug limits the session to one organization, and an organization plus project slug limits it to one project. The first connection triggers OAuth sign-in to the Sentry account, so the agent acts through that user's permissions. Check that the scope in the URL matches the intended boundary, that ?experimental=1` is absent, and that the local branch is limited with the same slug pattern.
Hosted and local Sentry MCP paths, each limited by scope and sign-in.
Decisions to make before choosing hosted or local and how narrow to scope
Each decision below changes who signs in, where traffic flows and how much an agent can touch. Settle them in writing before the first connection, because they set the blast radius that a security reviewer will need to explain.
Hosted endpoint or local stdio server
The hosted server at uses OAuth, so sign-in happens with Sentry and requests travel to Sentry's hosted service. The local server started with the sentry mcp command uses your CLI login and keeps the server process on the developer's machine. Decide which path is allowed for each team, then confirm with Sentry where the hosted traffic is processed under your contract.
Organization scope or project scope
Scoping to one organization limits tools to that organization, while scoping to one project narrows them further. The docs recommend project scope when possible. A reviewer should ask which projects an agent could reach at the organization level and whether that reach matches the task the team has approved.
Scoping detailsWhether experimental tools are allowed
The ?experimental=1 query parameter turns on forward-looking tool variants and experimental features. Those features may change or behave differently from the stable set, so a locked-down configuration should leave the flag off. Allow it only for a named pilot group with its own review, and record which teams have it.
Whether the legacy npx package is permitted
The legacy @sentry/mcp-server package can run the server through npx without installing the Sentry CLI. That path adds a separate package to your software supply chain and a different update process from the CLI-based setup. Decide whether it is permitted, and if it is, pin and review the version your developers run.
Which Sentry user the agent acts through
Because all connections use OAuth, an agent acts through the account of the signed-in Sentry user, so that person's role and project memberships define what it can reach. An agent connected from a senior engineer's account inherits that access. Ask which user accounts will be used, whether shared or service accounts are allowed, and how access is revoked when someone leaves.
Where client configuration is stored and reviewed
Each client, such as Claude Code, Cursor or VSCode, holds its own MCP configuration that names the endpoint or command and the scope in the URL. A narrowed URL that is later edited to a broader one changes reach without a code review. Decide where these files live, who may change them, and how a reviewer checks the endpoint, scope and experimental flag before rollout.
How the lockdown changes by team, tool and data sensitivity
A single team that owns one Sentry project is the simplest case to lock down. The Sentry MCP docs recommend scoping to a project when possible, and a project-scoped endpoint hides discovery tools and defaults tool calls to that project, which keeps the agent's reach narrow. The hosted server fits this case when the team already signs in to Sentry in the browser, because every connection runs through OAuth and acts as the signed-in user.
- Scope: use the project-level endpoint pattern from the Sentry MCP docs, so the agent starts with one project as its default context.
- Server choice: the hosted HTTP endpoint suits most teams; the local stdio server is an option when the team wants the CLI login to govern access.
- Experimental features: keep the
experimental=1query parameter off so the agent only sees stable tool variants. - Account hygiene: the agent inherits the permissions of the person who signed in, so review that user's Sentry role before rollout.
Before approving this tab, confirm with Sentry which project-level restrictions apply to write actions such as issue triage and project changes, and how the signed-in user's role limits what the agent can do.
When several teams share one Sentry organization, the risk moves from the agent reaching the wrong code to one team's agent reaching another team's projects. An organization-scoped endpoint limits the agent to that organization, but it does not isolate teams from each other inside it. The reviewer should decide whether each team gets its own project-scoped endpoint or whether a shared organization-level connection is acceptable for all of them.
- Scope: prefer one project-scoped endpoint per team; use the organization-scoped endpoint only when the agent genuinely needs cross-project discovery.
- Identity: each developer authenticates as themselves, so issue actions appear under that person's account and are not a shared service identity.
- Shared configuration: agree on one approved client configuration so no team adds the unscoped endpoint by accident.
- Cross-team data: list which projects hold sensitive services and exclude them from any organization-wide connection.
Confirm with Sentry how audit records attribute MCP actions to the signed-in user, since the vendor documentation summarized here does not describe admin-level audit logging for these actions.
Sentry events can contain stack traces, request context, user identifiers and breadcrumbs that include personal or customer data, so a team handling regulated data needs a stricter review than a team handling internal services. The MCP server returns event content to the agent's model context, which makes the agent's client and its data handling part of the review, not only Sentry's. Treat this tab as a data-flow question first and an access question second.
- Data flow: map where the returned event text goes once the AI client receives it, including any vendor-side processing by the client.
- Scope: restrict to the narrowest project that holds non-sensitive services, and keep sensitive projects out of the connection.
- Client approval: allow only clients that your data protection and procurement teams have reviewed.
- Scrubbing: confirm with the team that Sentry data scrubbing settings are configured on the projects involved.
Before approval, ask Sentry for its documented retention and processing terms for data in its own systems and for any compliance commitments that apply to your plan, since those points are not covered by the setup documentation.
A team that runs self-hosted Sentry cannot assume the hosted endpoint is the right path, because the hosted server at the vendor's address connects to Sentry's hosted service. The local stdio server started with the sentry mcp command from the Sentry CLI is the documented route that runs on the engineer's machine, and it uses the CLI login rather than a token in the MCP config. The reviewer should confirm which Sentry instance the CLI and server point to before any scope is applied.
- Endpoint: confirm with Sentry whether the hosted endpoint supports your self-hosted instance before using it.
- Local server: scope it with
sentry mcp my-org/my-projectso the local process reaches one organization or project only. - Legacy package: the
npx @sentry/mcp-serverroute is documented as still usable, so decide which launch method is permitted and block the others. - License review: the repository uses the Functional Source License, Version 1.1, Apache 2.0 Future License, so have legal review the license terms before internal distribution or modification.
Ask Sentry to confirm which versions and configurations of its self-hosted product are supported with the MCP server, because this page does not establish that support.
Where the Sentry MCP server leaves gaps a reviewer must cover
The supplied Sentry documentation describes OAuth sign-in and scoping, but it does not document several controls enterprise reviewers usually expect. The cards below name each gap, the common way teams cover it, and what to confirm with Sentry before approving the connection.
Company SSO enforcement not documented
The Sentry MCP docs say every connection uses OAuth, and the first connection starts a sign-in to the user's Sentry account. The supplied sources do not say whether Sentry can require your identity provider for that sign-in or block personal accounts. Ask Sentry how the OAuth login interacts with your organization's SSO settings, and confirm whether a user outside your identity provider can still authorize the client. Until that is confirmed, treat sign-in as unenforced.
Sentry MCP docsNo documented client allowlist
The sources do not describe an admin list of approved MCP clients or a way to block unapproved ones. Any MCP-compatible client that can reach the endpoint may attempt the OAuth flow. Common mitigations include centrally managed client configuration that distributes only the approved endpoint, and network or egress controls that block the endpoint from unmanaged devices. Confirm with Sentry whether an organization-level client control exists before relying on one.
No documented audit log of tool calls
The supplied sources do not describe an audit trail of the tools an agent runs, such as searches, issue triage or project changes, tied to the signed-in user. Because the agent acts through that user's account, reviewers cannot assume its actions are separable from the user's own activity. Plan logging on both sides: client-side logs of prompts and tool invocations where the client supports them, and whatever audit records Sentry provides for the account. Ask Sentry what it records and how long it keeps it.
Inherited user permissions
Because all connections use OAuth, the agent acts with the permissions of the signed-in Sentry user, and scoping narrows the default tools but does not reduce what that user can access. The docs recommend scoping to a single project when possible, and the scoped URL form defaults tools to the constrained organization or project. A dedicated least-privilege role or a separate Sentry user for agent work limits blast radius more than scope alone. Ask Sentry which role grants each capability the agent might use.
Experimental tools behind a flag
The query parameter ?experimental=1 enables forward-looking tool variants and experimental features. Those features can change more often than the stable tools and may not carry the same review history. Keep the flag off in a locked-down setup, and write the endpoint without it into the managed client configuration. Re-check the flag after each client or server update, since a shared snippet copied from a tutorial may include it.
Sentry MCP llms.txtSource license review for internal use
The repository LICENSE.md is the Functional Source License, Version 1.1, Apache 2.0 Future License (FSL-1.1-Apache-2.0), with copyright held by Functional Software, Inc. dba Sentry. Legal should confirm that the intended internal use, including any self-run or modified copy of the server, is permitted under that license before engineering builds on the source. Using the hosted endpoint or the Sentry CLI is a separate question from running a fork, so review each deployment path on its own.
Read the licenseOrder of work before the Sentry MCP server reaches staff
This sequence turns the official Sentry MCP server from a tool that individual developers can point at any account into a configuration the security team has chosen, tested and can explain. Each step produces a record that the next step depends on.
Confirm plan and SSO options with Sentry
The security or procurement lead asks Sentry which plan the organization is on and whether single sign-on and admin controls apply to MCP connections. The vendor docs for the Sentry MCP server describe OAuth sign-in to a Sentry account but do not document SSO, admin approval or audit logging for MCP access, so these answers must come from Sentry in writing. Done when the answers are filed with the review record and any gaps are listed as open items.
Choose hosted endpoint or local server
The platform lead decides between the hosted HTTP endpoint at the documented base address and the local stdio server started with the Sentry CLI. Hosted access uses OAuth against the signed-in Sentry user, while the local server uses the CLI login and needs no token in the MCP config. Record the choice, the reason, and which client types are approved to use it. Done when the decision is written down and the other option is marked as not approved, or approved with a named owner.
Pick and review the Sentry user the agent acts through
Because every connection acts through the signed-in user's account, the team chooses or creates a Sentry user for agent use and reviews that user's role and project memberships. The reviewer confirms that the role grants only the organizations and projects the agent needs, and that the account is not a shared or administrator login. Done when a named account, its role and its project list are recorded and approved.
Select the narrowest scope, preferably one project
The platform lead chooses the most restrictive URL pattern the workflow allows. The Sentry docs recommend scoping to a single project when possible, and a scoped endpoint defaults tools to that organization or project and hides some discovery tools. Use the organization-level pattern only when a workflow truly spans projects. The same scope applies to the local server through its organization or project argument. Done when the approved endpoint or command string is recorded for each team.
Keep the experimental flag off
The engineering lead confirms that the experimental query parameter is absent from every approved endpoint. The Sentry docs say that setting it enables forward-looking tool variants and experimental features, which a locked-down setup does not need. Check the approved configuration files and any copied examples from documentation. Done when a review of the configuration shows no experimental parameter in any approved client.
Standardize client configuration centrally
Individual developers should not be able to widen the scope by editing their own MCP config. The platform team distributes one approved configuration for each client, such as Claude Code, Cursor or VS Code, through whatever managed settings or repository-level config the organization already controls, and documents who may change it. Confirm which clients support managed configuration before relying on it. Done when a developer machine receives the approved config and a test edit to widen the scope is blocked or reverted by the management process.
Test that the agent sees only scoped projects
The security reviewer runs the agent against a project inside the approved scope and against a project outside it, then checks which organizations and projects the agent can list, search and manage. Results should match the scope and the user's role. Repeat the test after any change to the Sentry user, the endpoint or the client version. Done when the test results, with dates and the tester's name, are attached to the approval record.
Record which logs exist on the client and in Sentry
Before approval, the team lists what each layer records: client-side logs and transcripts kept by the AI tool, local CLI logs for the stdio server, and Sentry's own audit or access records for the user account. The Sentry MCP data privacy page covers what the server itself records. Ask Sentry in writing what is retained and for how long, since the public docs do not settle those terms. Done when a log inventory with owners and retention questions is filed.
What a security reviewer asks to see for Sentry MCP access
This table pairs each control question with the evidence to request and the source that answers it. Read it as a rollout checklist: confirm each row for every approved client configuration, not just the first one tested. Rows the vendor docs do not settle are marked for confirmation with Sentry.
| Control question | Evidence to request | Where it comes from |
|---|---|---|
| How sign-in works | Record that every connection uses OAuth and which Sentry account completes the first sign-in flow | Sentry MCP docs |
| Scope applied | The endpoint path or CLI argument in each approved client config, such as an organization or project slug | Client config files and Sentry MCP docs |
| Tool exposure when scoped | Tool list from a scoped session showing constrained defaults and hidden discovery tools | Sentry MCP docs, verified in your own test |
| Experimental features off | Client configuration showing the experimental query parameter is absent | Client configuration review |
| Sentry role of the signed-in user | Organization member role and project access for each user who connects an agent | Sentry organization settings |
| Source license and version in use | Installed package or server version and the FSL-1.1-Apache-2.0 license text from the repository | Repository LICENSE.md and release records |
| Logs | Client-side agent logs and Sentry audit records for MCP sessions, to be confirmed with Sentry | Client logs; Sentry, to confirm |
Questions buyers and reviewers ask before approving Sentry MCP
Does the Sentry MCP server support company single sign-on?
The Sentry MCP docs state that all connections use OAuth and that the first connection triggers an authentication flow to your Sentry account, but they do not describe SSO, SCIM or enterprise-managed sign-in for the MCP server. Do not assume your identity provider policies apply to the agent connection. Ask Sentry directly, for the plan and region you run, whether the MCP OAuth flow can be routed through your identity provider and whether admins can require or block specific MCP clients. Until that is confirmed in writing, treat each developer's Sentry login as the control point and review how your organization's Sentry sign-in is enforced today.
Can we force the Sentry MCP server to a single project?
Yes, the hosted server accepts scope in the URL. The docs describe for one organization and for one project, and the local server accepts sentry mcp my-org/my-project for the same purpose. When scoped, tools default to that organization or project and some discovery tools are hidden, and the docs recommend project scope where possible. However, the URL is a convenience set by the developer, not an enforced policy. A developer can connect to a broader endpoint, so you must still enforce scope centrally through approved client configurations, code review of MCP config files, and the Sentry role each user holds.
What can an AI agent access through the Sentry MCP server?
The agent acts through the account of the signed-in Sentry user, so it can reach what that person can already see and change in Sentry, limited by the scope in the URL or command. Practically, that covers searching errors, analyzing performance, triaging issues, reading documentation and managing projects, as the docs describe. Before rollout, have your Sentry admins review the roles of the people who will connect agents, because a broad role gives the agent broad reach. Also confirm which tools are available in the exact version and variant you deploy, and keep experimental variants off by leaving the ?experimental=1 parameter out.
What does the Sentry MCP server cost, and who pays?
The sources supplied for this page do not state a price for the MCP server, so confirm with Sentry whether MCP access is included in your current plan or priced separately. The cost components are your Sentry subscription, which determines the features, seats and retention your team has, and any internal or external effort to configure, test and document the rollout. Costs rise with the number of developers, the number of organizations and projects in scope, and the amount of security evidence you need to produce. Ask Sentry for written confirmation of plan requirements, and ask any consultant for a fixed-scope quote tied to the number of clients and environments.
Can our own team configure the Sentry MCP server without outside help?
Yes, a team with Sentry admin access and access to developer machines can usually configure scoped endpoints, approved client settings and local CLI options on its own, and the vendor documents setup for Claude Code, Cursor and VSCode. Independent security testing is a separate piece of work. It covers prompt injection through error data, what happens when a scoped connection is misused, and whether developers can widen scope. Evidence collection for security questionnaires, such as configuration records, access reviews and retest results, is also separate. DeployOpen can perform AI agent rollout security reviews and prepare evidence for customer or internal assessments, but it does not issue audit reports or certifications.
Is self-hosted Sentry covered by the Sentry MCP server?
The supplied sources describe the hosted server at mcp.sentry.dev and a local stdio server started with the sentry mcp command from the Sentry CLI, which uses CLI login. They do not state in detail how the MCP path works against a self-hosted Sentry instance. Our sibling setup guidance covers self-hosted Sentry and the MCP configuration, but you should confirm with Sentry which endpoint, CLI version and authentication path apply to your self-hosted deployment, and whether the scoping options behave the same way there. Record the answer in your architecture file so reviewers can see which path each team uses.
What does the Sentry MCP server license allow our organization to do?
The repository LICENSE.md uses the Functional Source License, Version 1.1, with an Apache 2.0 Future License, abbreviated FSL-1.1-Apache-2.0, and the copyright holder is Functional Software, Inc. dba Sentry. Under FSL, the source is available for use with some restrictions on competing products, and it converts to Apache 2.0 after a set period. Have your legal team read the license text directly, especially if you plan to modify the server, run a fork, or embed it in a product. The license governs the software, not your Sentry subscription terms, which are a separate agreement.
How DeployOpen helps teams test and lock down AI agent access to Sentry
DeployOpen reviews how an AI agent reaches Sentry through the official Sentry MCP server, from OAuth sign-in and organization or project scoping to experimental tool variants. The work ends in a written findings report, fixes and a retest, so the team deciding whether to approve the connection has evidence to review.
How we scope
- Agree in writing which Sentry organizations, projects and client configurations are in scope before testing starts
- Confirm whether each connection uses the hosted endpoint, the local stdio server or the legacy npx package
- Record which Sentry user accounts the agent would act through, since OAuth ties every action to that signed-in user
How we test
- Check that organization and project scoping limits tools to the intended slug and that out-of-scope data stays unreachable
- Confirm the experimental query parameter is off and that no forward-looking tool variants are reachable by the agent
- Test prompt injection through Sentry error messages, stack traces and issue text that an agent may read and act on
How we hand over
- Deliver a findings report with severity, reproduction steps and the specific configuration change behind each finding
- Document the approved client configuration, scope settings and the review steps the team should repeat after changes
- Retest the fixed setup and confirm which items remain open, with the owner for each one
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
- Ongoing support, upgrades and continuous testing are available as a retainer when the Sentry setup or client changes
- Quotes follow from the written scope, so procurement can compare the work against the stated deliverables

