Retrieves and analyzes Sentry.io issues, including error reports, stack traces and debug information.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add sentry --env YOUR_SENTRY_TOKEN='<YOUR_SENTRY_TOKEN>' --env YOUR_PROJECT_SLUG='<YOUR_PROJECT_SLUG>' --env YOUR_ORGANIZATION_SLUG='<YOUR_ORGANIZATION_SLUG>' -- uvx mcp-sentry --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG~/.codex/config.toml
[mcp_servers.sentry]
command = "uvx"
args = ["mcp-sentry", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG"]
env = { YOUR_SENTRY_TOKEN = "<YOUR_SENTRY_TOKEN>", YOUR_PROJECT_SLUG = "<YOUR_PROJECT_SLUG>", YOUR_ORGANIZATION_SLUG = "<YOUR_ORGANIZATION_SLUG>" }
# codex mcp add sentry --env YOUR_SENTRY_TOKEN='<YOUR_SENTRY_TOKEN>' --env YOUR_PROJECT_SLUG='<YOUR_PROJECT_SLUG>' --env YOUR_ORGANIZATION_SLUG='<YOUR_ORGANIZATION_SLUG>' -- uvx mcp-sentry --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG~/.cursor/mcp.json
{
"mcpServers": {
"sentry": {
"command": "uvx",
"args": [
"mcp-sentry",
"--auth-token",
"YOUR_SENTRY_TOKEN",
"--project-slug",
"YOUR_PROJECT_SLUG",
"--organization-slug",
"YOUR_ORGANIZATION_SLUG"
],
"env": {
"YOUR_SENTRY_TOKEN": "<YOUR_SENTRY_TOKEN>",
"YOUR_PROJECT_SLUG": "<YOUR_PROJECT_SLUG>",
"YOUR_ORGANIZATION_SLUG": "<YOUR_ORGANIZATION_SLUG>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"sentry": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-sentry",
"--auth-token",
"YOUR_SENTRY_TOKEN",
"--project-slug",
"YOUR_PROJECT_SLUG",
"--organization-slug",
"YOUR_ORGANIZATION_SLUG"
],
"env": {
"YOUR_SENTRY_TOKEN": "<YOUR_SENTRY_TOKEN>",
"YOUR_PROJECT_SLUG": "<YOUR_PROJECT_SLUG>",
"YOUR_ORGANIZATION_SLUG": "<YOUR_ORGANIZATION_SLUG>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sentry": {
"command": "uvx",
"args": [
"mcp-sentry",
"--auth-token",
"YOUR_SENTRY_TOKEN",
"--project-slug",
"YOUR_PROJECT_SLUG",
"--organization-slug",
"YOUR_ORGANIZATION_SLUG"
],
"env": {
"YOUR_SENTRY_TOKEN": "<YOUR_SENTRY_TOKEN>",
"YOUR_PROJECT_SLUG": "<YOUR_PROJECT_SLUG>",
"YOUR_ORGANIZATION_SLUG": "<YOUR_ORGANIZATION_SLUG>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sentry": {
"command": "uvx",
"args": [
"mcp-sentry",
"--auth-token",
"YOUR_SENTRY_TOKEN",
"--project-slug",
"YOUR_PROJECT_SLUG",
"--organization-slug",
"YOUR_ORGANIZATION_SLUG"
],
"env": {
"YOUR_SENTRY_TOKEN": "<YOUR_SENTRY_TOKEN>",
"YOUR_PROJECT_SLUG": "<YOUR_PROJECT_SLUG>",
"YOUR_ORGANIZATION_SLUG": "<YOUR_ORGANIZATION_SLUG>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"sentry": {
"command": "uvx",
"args": [
"mcp-sentry",
"--auth-token",
"YOUR_SENTRY_TOKEN",
"--project-slug",
"YOUR_PROJECT_SLUG",
"--organization-slug",
"YOUR_ORGANIZATION_SLUG"
],
"env": {
"YOUR_SENTRY_TOKEN": "<YOUR_SENTRY_TOKEN>",
"YOUR_PROJECT_SLUG": "<YOUR_PROJECT_SLUG>",
"YOUR_ORGANIZATION_SLUG": "<YOUR_ORGANIZATION_SLUG>"
}
}
}
}Environment variables
YOUR_SENTRY_TOKENYOUR_PROJECT_SLUGYOUR_ORGANIZATION_SLUG
Replace the placeholders with your own credentials and keep them out of version control.