Data as of

Sentry MCP for VS Code: Setup & Config

VS Code: Sentry MCP brings production issues, events, and traces into coding-assistant workflows.

What you can do with Sentry in VS Code

Bring Sentry investigation and issue triage directly into a human-guided coding session.

  • Find organizations and project identifiers for follow-up requests.
  • Resolve, reopen, ignore, or assign issues.
  • Search event statistics and retrieve trace resources.

Before you start: Sentry in VS Code

  • Node.js with npx
  • Sentry user token
  • LLM provider credentials for AI-powered search

This is the README stdio configuration. Required token scopes are event:write, project:write, team:read, org:read, team:write, and project:read. Remote access is also documented at https://mcp.sentry.dev/mcp. Use --host for self-hosted Sentry; unsupported skills can be disabled.

Sentry VS Code configuration

  1. Choose VS Code configuration scope

    For Sentry MCP, open Workspace: .vscode/mcp.json. Merge into servers; preserve existing inputs.

  2. Add Sentry MCP to VS Code

    Use the sentry-mcp entry below in servers. Keep Sentry MCP's documented stdio connection fields and your other VS Code entries.

  3. Check Sentry MCP in VS Code

    Sentry MCP: Start in VS Code’s MCP controls; inspect output and trust prompts.

Config file · Workspace: .vscode/mcp.json

JSON
{
  "servers": {
    "sentry-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@sentry/mcp-server"
      ],
      "env": {
        "SENTRY_ACCESS_TOKEN": "<Sentry user auth token with documented scopes>",
        "EMBEDDED_AGENT_PROVIDER": "<Explicit LLM provider for AI-powered search>",
        "OPENAI_API_KEY": "<OpenAI key if selecting OpenAI>"
      }
    }
  }
}

Sentry tools available to VS Code

Sentry's stored tool list documents 9 tools; compare it with VS Code's connected tool list, because the stored list is not a live check.

find_organizations

Look for find_organizations among VS Code's agent-mode tools after starting Sentry through the MCP controls.

find_projects

Look for find_projects among VS Code's agent-mode tools after starting Sentry through the MCP controls.

Find projects within a Sentry organization.

update_issue

Look for update_issue among VS Code's agent-mode tools after starting Sentry through the MCP controls.

Change an issue status or assignment.

search_events

Look for search_events among VS Code's agent-mode tools after starting Sentry through the MCP controls.

Search events and replays, including statistical queries.

analyze_issue_with_seer

Look for analyze_issue_with_seer among VS Code's agent-mode tools after starting Sentry through the MCP controls.

search_issues

Look for search_issues among VS Code's agent-mode tools after starting Sentry through the MCP controls.

Find grouped issues using natural language or Sentry query syntax.

get_sentry_resource

Look for get_sentry_resource among VS Code's agent-mode tools after starting Sentry through the MCP controls.

Retrieve an issue, event, trace, replay, or other supported resource.

search_sentry_tools

Look for search_sentry_tools among VS Code's agent-mode tools after starting Sentry through the MCP controls.

execute_sentry_tool

Look for execute_sentry_tool among VS Code's agent-mode tools after starting Sentry through the MCP controls.

Sentry: full stored tool descriptions

Troubleshooting Sentry in VS Code

  • Make npx @sentry/mcp-server (Node.js/npm) available in the workspace, container, or remote environment hosting Sentry MCP. Start through VS Code's MCP controls; inspect output and trust prompts.
  • For Sentry MCP, keep EMBEDDED_AGENT_PROVIDER, OPENAI_API_KEY, SENTRY_ACCESS_TOKEN out of version control; VS Code documents input variables and secret handling.
  • Sentry MCP uses stdio here: VS Code must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
  • Known limitation: AI-powered search needs an LLM provider.
  • Known limitation: Some self-hosted deployments lack Seer.
  • Known limitation: The README describes stdio support as work in progress.
  • General VS Code troubleshooting lives in the /clients/vscode guide.

Sentry MCP — details. VS Code guide

Frequently asked questions

For Sentry MCP, edit workspace .vscode/mcp.json. VS Code requires servers rather than mcpServers; preserve the displayed type on each entry.