Skip to content

Add SENTRY_DSN authentication to Sentry MCP server configuration#664

Merged
lpcox merged 2 commits intomainfrom
copilot/add-sentry-authentication
Feb 4, 2026
Merged

Add SENTRY_DSN authentication to Sentry MCP server configuration#664
lpcox merged 2 commits intomainfrom
copilot/add-sentry-authentication

Conversation

Copy link
Contributor

Copilot AI commented Feb 4, 2026

The nightly stress test detected that the Sentry MCP server requires SENTRY_DSN for authentication but the workflow configuration was missing this environment variable.

Changes

Added environment variable configuration to the sentry MCP server in .github/workflows/nightly-mcp-stress-test.md:

sentry:
  type: stdio
  container: "mcp/sentry"
  env:
    SENTRY_DSN: "${{ secrets.SENTRY_DSN }}"

This follows the same pattern as other authenticated servers (e.g., github server with GITHUB_PERSONAL_ACCESS_TOKEN).

Required Follow-up

Repository administrators must add SENTRY_DSN secret containing a valid Sentry DSN from Project Settings > Client Keys.

Original prompt

This section details on the original issue you should resolve

<issue_title>[mcp-stress-test] Sentry MCP Server requires SENTRY_DSN authentication</issue_title>
<issue_description># MCP Server Authentication Required: Sentry

The nightly stress test detected that the Sentry MCP server requires authentication to function properly.

Test Details

  • Test Session: stress-test-20260204-180602
  • Test Date: 2026-02-04T18:06:02Z
  • Server Container: mcp/sentry

Required Authentication Token

Environment Variable: SENTRY_DSN

Token Type: DSN (Data Source Name)

How to Obtain:

  1. Visit: (sentry.io/redacted)
  2. Create account or sign in to existing organization
  3. Create a new project or use existing one
  4. Copy the DSN from Project Settings > Client Keys
  5. Add to repository secrets as SENTRY_DSN

Suggested Configuration

Add the following to your MCP Gateway configuration:

{
  "sentry": {
    "type": "stdio",
    "container": "mcp/sentry",
    "env": {
      "SENTRY_DSN": "${SENTRY_DSN}"
    }
  }
}

Next Steps

  • Create Sentry project and obtain DSN
  • Add SENTRY_DSN to repository secrets
  • Update stress test configuration
  • Verify server works in next nightly test

Generated by Nightly MCP Stress Test
Test Session: stress-test-20260204-180602

AI generated by Nightly MCP Server Stress Test

<agent_instructions>Fix this configuration in the mcp stress test agentic workflow</agent_instructions>

Comments on the Issue (you are @copilot in this section)

Custom agent used: agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Copilot AI changed the title [WIP] Add SENTRY_DSN authentication for Sentry MCP server Add SENTRY_DSN authentication to Sentry MCP server configuration Feb 4, 2026
Copilot AI requested a review from lpcox February 4, 2026 18:24
@lpcox lpcox marked this pull request as ready for review February 4, 2026 18:47
Copilot AI review requested due to automatic review settings February 4, 2026 18:47
@lpcox lpcox merged commit 567c951 into main Feb 4, 2026
@lpcox lpcox deleted the copilot/add-sentry-authentication branch February 4, 2026 18:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds authentication configuration for the Sentry MCP server in the nightly stress test workflow by introducing the required SENTRY_DSN environment variable, fixing an authentication issue detected during automated testing.

Changes:

  • Added SENTRY_DSN environment variable configuration to the sentry MCP server using GitHub secrets

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[mcp-stress-test] Sentry MCP Server requires SENTRY_DSN authentication

2 participants