Does the Sentry MCP server set up for teams under company identity controls?
A team that wants AI coding agents to query Sentry should first confirm how each connection signs in. The official Sentry MCP server authenticates every connection with OAuth to a Sentry account, and the first connection triggers that sign-in flow. It can be reached through the hosted HTTP endpoint or run locally as a stdio server from the Sentry CLI. The supplied documentation does not describe SSO with a company identity provider, admin approval of MCP clients or audit logging of agent actions, so do not assume those controls exist. The supplied facts also do not assign plan or edition tiers to the server, so ask Sentry in writing which plan includes which identity and admin features before you approve rollout.
The hosted option uses the base address For Claude Code, the documented command is claude mcp add --transport http sentry with that URL. Cursor and VSCode have their own add-server flows, and any MCP-compatible client can connect over the HTTP transport. Each developer signs in with a personal Sentry account, so access follows that account's Sentry memberships. The local option runs sentry mcp after sentry auth login, which reuses the CLI login and keeps no token in the MCP configuration. Self-hosted Sentry uses sentry auth login --url with your instance address, then a SENTRY_HOST` value in the server's environment. Confirm with Sentry whether a self-hosted instance supports the hosted endpoint, or whether all self-hosted use must go through the local server.
The server code is licensed under the Functional Source License, Version 1.1 with an Apache 2.0 future license (FSL-1.1-Apache-2.0), copyright Functional Software, Inc. dba Sentry. Read the LICENSE.md file in the repository with your legal team before you plan to modify, host or redistribute the server, because an FSL license limits some uses that a standard open-source license permits. Also note that the legacy npx @sentry/mcp-server package can run the server without the CLI, so your standard should name which launch path is approved.
Sentry MCP setup options and what each one supports
This table compares each Sentry MCP setup path against the controls a reviewer usually asks about, marking each as documented, documented with conditions, or not documented on the vendor pages reviewed. Read the status column first, then use the confirm column to build your questions for Sentry and your own environment. The main takeaway is that OAuth sign-in and self-hosted use are documented, while SSO, admin approval and audit logging of MCP activity are not, so those need written confirmation before rollout.
| Capability | Status | What the reader must confirm |
|---|---|---|
| Hosted HTTP endpoint (mcp.sentry.dev/mcp) | Documented | Which Sentry organizations and data regions the hosted endpoint serves, and whether your org admins must enable anything first |
| Local stdio server (sentry mcp after sentry auth login) | Documented with conditions | Who holds the CLI login on each laptop, where the credential is stored, and whether shared build agents can run it |
| Legacy npx @sentry/mcp-server package | Documented with conditions | Whether the legacy package receives the same updates as the CLI path and how your team pins and updates the npm version |
| OAuth sign-in | Documented with conditions | That every connection uses OAuth and the first connection opens an authentication flow to a Sentry account, so confirm which account and role the agent inherits |
| Self-hosted Sentry via SENTRY_HOST | Documented with conditions | That sentry auth login --url points to your instance and SENTRY_HOST is set in the MCP environment, and which Sentry edition and license terms apply to your deployment |
| SSO with a company identity provider | Not documented on these pages | Whether Sentry sign-in for MCP honors your identity provider, enforces MFA, and how it is configured for your plan |
| Admin approval of MCP clients | Not documented on these pages | Whether organization admins can allowlist, block or revoke specific AI clients or tokens, and how revocation takes effect |
| Audit logging of MCP activity | Not documented on these pages | Whether Sentry records MCP tool calls in your audit log, what fields are kept, and how long they are retained |
How the Sentry MCP server authenticates and decides what an agent can reach
Three components decide what an agent can reach: the MCP client on a developer machine (for example Claude Code, Cursor or VSCode), the Sentry MCP server process or endpoint that the client talks to, and the Sentry account that the session is tied to. The hosted option uses the endpoint over the HTTP transport. The Sentry docs say all connections use OAuth and that the first connection triggers an authentication flow to your Sentry account. Treat that sign-in as the point where access is granted, and record which account each developer uses to approve it.
The local option works differently. It runs sentry mcp as a stdio process after sentry auth login, and the docs state that it uses the CLI login, so the MCP client configuration holds no token. That keeps credentials out of editor and agent config files, but it also means anyone who can run the CLI under a logged-in profile on that machine can use the same access. Confirm with Sentry how the CLI stores its login on disk and whether it is protected by the operating system user account, since that storage governs the risk on shared or managed endpoints.
The organizations and projects an agent can reach follow the access of the signed-in account. The supplied docs do not describe where organization or project filters are enforced, whether in the hosted endpoint, in the local server or in the tool calls themselves, so do not assume a scope setting limits the agent. Before rollout, sign in with a test account that has access to one project only, ask the agent to list and read issues from a second project, and confirm the request is refused. Repeat the test for the local option and for each client your teams use.
Design decisions before rollout: hosted endpoint, local CLI or self-hosted
Before any developer connects an agent to Sentry, the team has to settle how the server runs, which Sentry instance it talks to, and who owns each sign-in. The cards below cover those choices, plus the record of approved configurations that keeps them consistent after rollout.
Hosted HTTP or local stdio
The hosted endpoint at runs on Sentry's side, and each client authenticates with OAuth on first connection. The local sentry mcp stdio server runs on the developer's machine and uses the credentials from sentry auth login`, so the MCP config holds no token. The decision sets where the credential lives: with the vendor's OAuth session or in the developer's CLI login on the laptop. Ask who will update the CLI on each machine, since the local option depends on it being current on every device.
Sentry cloud or self-hosted instance
A team on a self-hosted Sentry instance must point the client at it. The docs describe logging in with sentry auth login --url against the instance address, then setting SENTRY_HOST in the MCP server's environment. Confirm that every developer's client uses the same host value, because a mismatch sends queries to the wrong instance or fails silently. Also confirm with Sentry which hosted or self-hosted features your edition supports, since the docs do not map every tool to every deployment.
Legacy npx package or CLI install
The docs say the legacy npx @sentry/mcp-server package can run the server without the Sentry CLI. The CLI route installs through Homebrew, npm install -g sentry, or a curl script. The choice determines version pinning: an npx invocation fetches whatever version resolves at run time unless you pin it, while a CLI install is updated through the CLI's own channel. Record the chosen path and version in the rollout notes, and ask Sentry which path it recommends for new setups.
Who owns each developer's Sentry account
Every connection signs in to a Sentry account through OAuth, so the agent acts with that person's access. Decide whether each developer uses a personal login, a shared team identity (which conflicts with per-person attribution), or a service account. Check which organizations and projects each account can reach, and remove access when someone leaves or changes role. The docs do not describe SSO or admin approval for the MCP connection, so confirm those with Sentry before you rely on them.
Recording approved client configurations
Keep one written record of the approved configuration for each client: Claude Code, Cursor or VSCode, the transport, the endpoint or CLI path, the SENTRY_HOST value if used, and the pinned version. The docs give different setup steps per client, including the claude mcp add --transport http sentry command for Claude Code and the Install MCP Server button or manual URL entry for Cursor. Without a record, developers drift to different transports and hosts, and reviewers cannot tell which setup they approved.
How a developer connection reaches Sentry in each setup path
The hosted path starts at an MCP client such as Claude Code, Cursor or VSCode, which connects to the endpoint at The first connection triggers OAuth sign-in to the Sentry account, which is where the identity check happens. The local path runs sentry mcp as a stdio server after sentry auth login, so the MCP config holds no token. For a self-hosted Sentry, the login points at the host URL and SENTRY_HOST is set in the server's environment. Check which identity the agent acts as, and which Sentry host each path calls.
Hosted and local Sentry MCP paths, with the identity check and self-hosted host branch.
Gaps against an enterprise SSO and admin control baseline
The supplied Sentry MCP documentation covers hosted and local setup, OAuth sign-in and self-hosted configuration, but it does not describe enterprise identity or admin governance for the MCP connection. The cards below list those gaps, the question to put to Sentry for each, and the controls a team can apply on its own side while the answers are pending.
SSO for the MCP connection
The docs say every connection uses OAuth and that the first connection starts an authentication flow to a Sentry account. They do not say whether that sign-in can be routed through your company identity provider using SAML or OIDC, or how it behaves for members of an organization that enforces SSO. Ask Sentry in writing whether MCP sign-in follows the organization's SSO settings and which plans include that. Until the answer is confirmed, treat every MCP login as a personal Sentry account and limit who receives one.
Sentry MCP docsAdmin approval of MCP clients
Nothing in the supplied docs says an organization administrator can approve, block or allowlist which MCP clients may connect to Sentry. Claude Code, Cursor, VSCode and any HTTP-compatible client can all reach the endpoint at the documented address. Confirm with Sentry whether client allowlisting exists at the account or organization level. If it does not, route developers through a standard client configuration that your team maintains and reviews, rather than letting each person add the server ad hoc.
Admin view of connected developers
The docs do not describe an administrator view listing which people have authorized the Sentry MCP server, when they connected and from which client. Without that view, offboarding can miss an active OAuth connection. Ask Sentry whether authorized MCP sessions can be listed and revoked centrally. As a fallback, keep an internal register of who received Sentry access and tie it to your identity lifecycle process so that removing a user also removes their Sentry membership.
Audit logs of MCP tool calls
The Sentry MCP docs do not describe a per-call audit trail showing which tool an agent ran, against which organization or project, and on whose behalf. Confirm with Sentry which events exist in the Sentry audit log for MCP activity and whether they are exposed to customers. Where the environment allows, add logging at the developer's client or at the network egress point to the endpoint, so your security team can reconstruct activity that the vendor log may not show.
Retention of MCP records
The supplied docs do not state how long any MCP-related record is kept, whether at Sentry or in a client, or how those terms differ by plan. Ask Sentry for its written retention terms for audit events and for any telemetry generated by the server, and confirm the deletion path if you end the service. For the local stdio option, the records sit on the developer machine, so set retention and access rules for those endpoints as part of your standard device policy.
Self-hosted Sentry and licensing
For self-hosted Sentry the docs describe logging in with a self-hosted URL and setting SENTRY_HOST in the server environment, and the server code is published under FSL-1.1-Apache-2.0. The docs do not say which identity controls apply to self-hosted installs or whether the license terms affect internal use. Confirm the license reading with your legal team against the LICENSE.md file, and confirm with Sentry which SSO and audit features are present in your self-hosted version before relying on them.
Read the licenseHow the answer changes by Sentry deployment and team size
A small team using hosted Sentry usually connects each developer's client directly to the hosted endpoint. The Sentry MCP docs give the base address as and state that all connections use OAuth, with the first connection starting a sign-in flow to the developer's Sentry account. For Claude Code, the docs give the command claude mcp add --transport http sentry` with that URL. Cursor and VSCode have their own setup steps in the same docs.
- Endpoint and transport: Confirm the client uses the HTTP transport against the documented hosted address, not a copy of that address from an unofficial source.
- Sign-in: Each developer authenticates through OAuth to their own Sentry account, so the access they get is the access that account already has.
- Client coverage: The docs cover Claude Code, Cursor and VSCode. Any other MCP-compatible client can use the HTTP endpoint, but confirm its behavior with that client's vendor.
- Not documented here: SSO enforcement, admin approval of the client and audit logs for these connections are not covered by the supplied docs, so ask Sentry directly.
Before approving this path, check that each developer's Sentry account has only the organization and project access the agent's work requires.
An organization with several teams and many projects uses the same hosted endpoint, but the risk grows because one OAuth connection can reach every project the signed-in user can see. The supplied docs confirm OAuth sign-in and the hosted address, but they do not describe organization or project scoping controls on this page. Those controls belong to the separate scoping review, so this tab focuses on what the rollout must confirm across teams.
- Shared endpoint, separate identities: Every team member signs in with their own account, which keeps access tied to individuals rather than a shared credential.
- Project boundaries: Map which teams own which Sentry projects, then confirm with Sentry how the connection respects those boundaries for each signed-in user.
- Client variation: Teams may use different clients (Claude Code, Cursor, VSCode or others). Record the client and version each team uses so the review covers what actually connects.
- Operational ownership: Name who reviews new team connections and who revokes access when someone changes roles or leaves.
- Unverified controls: Ask Sentry whether admins can see or restrict which users have connected, and what the connection records.
Before expanding beyond a pilot group, write down the projects that contain regulated or sensitive error data and confirm which of them the connection can reach.
For a self-hosted Sentry instance, the supplied docs describe logging in with the Sentry CLI against your own server, then pointing the MCP server at that host. The documented pattern is sentry auth login --url followed by setting SENTRY_HOST in the MCP server's environment. The CLI itself installs with brew, npm install -g sentry or a curl script, and the local stdio server is started with the sentry mcp` command.
- Login target: Confirm the
--urlvalue matches your internal Sentry host exactly, and that developers cannot be pointed at a different instance by mistake. - Environment variable: Check that
SENTRY_HOSTis set in the environment of the MCP server process, not only in a shell session that others may share. - No token in the MCP config: The docs say the CLI login means the MCP config needs no token, which reduces secrets sitting in client files. Confirm where the CLI stores its login on each machine.
- Legacy package: The docs mention the legacy
npx @sentry/mcp-serverpackage as an alternative without the CLI. Decide which path is approved, since the two should not be mixed without review. - Licensing: The server code is under FSL-1.1-Apache-2.0 per the repository's LICENSE.md. Have legal confirm that license fits your internal use.
Before rollout, test the login against a non-production self-hosted instance and confirm the local machine is the only place the session lives.
Organizations in regulated sectors or networks without outbound internet access need to know which parts of the setup depend on reaching external services. The supplied docs describe the hosted endpoint at ` and OAuth sign-in against a Sentry account, which means the hosted path requires outbound connectivity and a Sentry account. The local CLI path with a self-hosted host is the option that stays inside your own network, but the supplied docs do not say which installation sources the CLI or the MCP package need, so confirm that first.
- Installation sources: Confirm how the CLI and any npm package are obtained and mirrored into an isolated network, and whether the install scripts need outbound access.
- Network path: Confirm the self-hosted Sentry host is reachable from developer machines and that no traffic is routed to the hosted endpoint.
- Compliance scope: The supplied docs do not state how the server handles HIPAA, GDPR or similar obligations. Ask Sentry for written terms and confirm them with your compliance team.
- Telemetry and logs: Confirm what the server and CLI record locally and whether any data is sent to Sentry or other parties.
- Change control: Pin the CLI and server versions you approve, since updates may change behavior.
Before any regulated data is visible to an agent, have the security and compliance owners sign off on the network path, the sign-in method and the telemetry review.
Rollout order for a team that needs the Sentry MCP server approved
This sequence moves a team from the question of which Sentry edition and sign-in options apply to a documented, tested and recorded decision that a security reviewer can approve or restrict. Each step closes with a check that must pass before the next one starts.
Confirm the Sentry edition and identity options
The security or IT lead asks Sentry which plan or edition the organization runs, whether it is Sentry's hosted service or a self-hosted instance, and how staff sign in to it. Ask Sentry directly what sign-in methods, SSO and admin controls apply to your plan, because the MCP docs state that all connections use OAuth but do not describe SSO, admin approval or audit logging. Done when the written answers are on file and the reviewer knows which controls are confirmed and which are not.
Decide the hosted or local path
Choose between the hosted endpoint at the documented base address, which connects over HTTP and authenticates with OAuth on first use, and the local stdio server started with the sentry mcp command after the Sentry CLI login. Record which path each team uses, and note that the legacy npx package is an option only if the team is not installing the CLI. Done when each path has a named owner and the reviewer has confirmed where the connection terminates for that path.
Define the organizations and projects in scope
Agree in writing which Sentry organizations and projects the accounts used by AI agents may reach, and confirm with the Sentry admin that each account has access only to those. Because the connection acts with the signed-in user's permissions, the access list should match the people who will use the agent. Done when the access list is approved and a named admin has confirmed the account memberships match it.
Set one approved client configuration
Write one configuration for each approved client, such as Claude Code, Cursor or VS Code, using the documented commands or settings and the hosted endpoint or local command chosen earlier. Store it in a shared, reviewed location so staff do not edit it by hand, and keep secrets out of it, since the local path uses the CLI login rather than a token. Done when a reviewer has checked each file against the documentation and no token or credential appears in any config.
Test the first OAuth connection and what it reads
Run the first connection with a test account and complete the OAuth sign-in in the browser. Then ask the agent to list the organizations and projects it can see, and confirm that the results match the approved scope and nothing outside it. Note which tools appear in the client, including any experimental variants, and whether any of them write to Sentry. Done when the test log shows only in-scope data and the reviewer has the list of available tools.
Verify self-hosted host settings if used
For a self-hosted Sentry instance, log in with the CLI against your own URL, then confirm that the SENTRY_HOST value in the MCP server environment points to that instance and not to the hosted service. Run one read-only query and check which host received it, using your own network logs where possible. Done when the host is confirmed, the reviewer has the exact environment setting, and any mismatch is fixed before rollout.
Record the decision and the open gaps
Write a short decision record that names the approved edition, sign-in method, path, scope, client configuration and test evidence. List the open gaps the vendor docs did not answer, including SSO, admin approval, audit logging, retention and per-plan data terms, with an owner and a question to send to Sentry for each. Done when the security reviewer signs off on the record, and the gaps are tracked until Sentry's written answers close them.
Evidence a security reviewer asks for and where it comes from
This table lists what a security reviewer asks about the Sentry MCP server and where each answer can be found. Read the status column first: rows marked as needing written confirmation from Sentry have no documentation we could point to, so do not record them as approved until Sentry answers in writing. Rows marked documented still need your own client configuration records to show how your team actually connected.
| What the reviewer asks | Where the answer comes from | Status |
|---|---|---|
| OAuth sign-in per connection | Sentry MCP docs state all connections use OAuth and that the first connection starts an authentication flow to the user's Sentry account | Documented, confirm per user in your own rollout |
| Account-level scoping to one organization or project | Sentry MCP docs and your Sentry account settings; check what the signed-in user can reach, since the server acts with that user's access | Partly documented, needs written confirmation from Sentry |
| License of the server code | LICENSE.md in the getsentry/sentry-mcp repository: FSL-1.1-Apache-2.0, copyright Functional Software, Inc. dba Sentry | Documented |
| Self-hosted Sentry host configuration | Sentry MCP docs: sentry auth login with the --url flag, then SENTRY_HOST in the MCP server environment; your own host and config files | Documented for setup, confirm your license terms with Sentry |
| Client setup records | Your team's Claude Code, Cursor or VSCode configuration files and the endpoint recorded in them | Your evidence to produce |
| MCP-level audit logs of tool calls | No audit log feature is described in the supplied Sentry MCP documentation; check the repository and your Sentry audit settings | Needs written confirmation from Sentry |
| SSO or admin approval of MCP clients | Not described in the Sentry MCP docs reviewed for this page; ask Sentry how its account settings apply to MCP access | Needs written confirmation from Sentry |
Questions buyers ask before approving the Sentry MCP server
Does the Sentry MCP server support SSO with our company identity provider?
The supplied Sentry documentation says every connection to the hosted server uses OAuth, and the first connection starts a sign-in flow to your Sentry account. That documentation does not describe SSO with a company identity provider, SAML or SCIM provisioning, so do not assume it. Ask Sentry whether your organization's identity provider can be enforced for MCP sign-in, and confirm how that applies to the local CLI login, which uses your CLI session instead of the hosted OAuth flow. Record the answer in your approval file before rollout.
Which Sentry plan or edition includes the MCP server?
The documentation reviewed for this page does not assign the MCP server to specific Sentry plans or tiers, so no plan is confirmed here. Ask your Sentry account contact which plan your organization is on, whether the hosted endpoint and the local CLI server are available on it, and whether any admin controls differ by tier. Get that answer in writing, because approval should rest on the plan you actually buy and not on a feature list from a different tier.
Can we run self-hosted Sentry with the MCP server, and what does the license allow internally?
The docs describe self-hosted use: you run sentry auth login --url and then set SENTRY_HOST` in the MCP server's environment. The server code is licensed under the Functional Source License, Version 1.1, with an Apache 2.0 future license, abbreviated FSL-1.1-Apache-2.0. Under that license, internal use by your own staff is generally the core use case, but the license text, not this summary, governs whether a specific use such as offering a competing hosted service is permitted. Have legal counsel read the LICENSE file before you adopt or modify the code.
What drives the cost of rolling out the Sentry MCP server?
Three components usually matter. First, the Sentry subscription and any seats or usage charges that your plan applies, which you confirm with Sentry. Second, your internal effort to configure each client, set up sign-in, and decide which organization or project the agent may reach. Third, any infrastructure you run yourself, such as a self-hosted Sentry instance or a machine for the local stdio server. The server itself is distributed as open source under the license noted above, so the main recurring costs come from the Sentry plan and from your own operations. Ask Sentry for a written quote that states seats, usage terms and renewal conditions.
What can our team configure itself, and when do we need outside help?
Your team can usually configure the hosted endpoint for Claude Code, Cursor or VSCode, and the docs give client steps for each. Connecting through the local CLI needs the Sentry CLI installed and a login. Self-hosted Sentry needs a login against your instance URL and a correct SENTRY_HOST value. Outside help becomes worth considering when you must test the setup against prompt injection, review which tool variants and project scopes an agent can reach, or assemble evidence for a security review. DeployOpen plans and runs security testing of AI agent setups and can prepare that evidence, under a fixed scope agreed in writing before work starts.
How long does a configuration review of the Sentry MCP server take?
No duration is documented for this review, so treat any timeline you hear as unverified until it is scoped. What drives the time is the number of clients and users, whether you use the hosted endpoint, the local CLI or a self-hosted instance, how many organizations and projects must be scoped, and how many answers you still need from Sentry about SSO, plan terms and data retention. A review moves faster when those questions are answered first. DeployOpen agrees timelines in writing as part of a fixed-scope engagement, so request the schedule in the written scope before work begins.
Is the hosted Sentry MCP endpoint the same as the local stdio server for security review?
They are different access paths, so review each one separately. The hosted server runs at and connects over HTTP after OAuth sign-in. The local server runs sentry mcp as a stdio process on the developer's machine after sentry auth login, and the config needs no token. The legacy npx @sentry/mcp-server` package can also run the server without the CLI. Your review should record which path each team uses, where credentials are held, and which Sentry account and scope each path reaches.
How DeployOpen helps teams review the Sentry MCP setup
DeployOpen reviews how a team connects AI coding agents to Sentry through the official Sentry MCP server, covering the hosted endpoint, the local CLI option and self-hosted Sentry. The work follows a written scope and ends with documentation the team's security and platform owners can review.
How we scope
- Agree in writing which connection paths apply: hosted HTTP endpoint, local stdio server or the legacy npx package.
- Confirm which AI clients are in scope, such as Claude Code, Cursor or VSCode, and who may connect them.
- Define whether self-hosted Sentry is in scope and which Sentry organizations and projects the agents may reach.
How we build
- Review the OAuth sign-in path and the account permissions the first connection grants inside Sentry.
- Check the client configuration files and environment settings so no unintended token or host is stored.
- Test the setup in a non-production Sentry organization before any staff connection is approved.
How we hand over
- Deliver a written configuration record covering endpoint, sign-in method, client settings and self-hosted host values.
- Document which license terms apply to the server code and what the team should confirm with Sentry.
- Provide a list of open questions, such as SSO, admin approval and audit log availability, for the vendor to answer.
How we support
- Offer ongoing support and periodic retesting as a retainer when the Sentry MCP setup or client list changes.
- Re-review the configuration after Sentry Projects, organizations or the MCP server release notes change.
- Support questionnaire answers and evidence requests from internal security and procurement reviewers.

