Sentry MCP by usefulapi

Read issues, events, releases and queries; resolve or assign issues in Sentry.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
99%
Calidad de los nombres
80%
Riesgo de envenenamiento
80%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (2)

  • HIGHTool poisoning patterns detected
  • LOWTool description contains role marker that could confuse chat modelsen sentry_update_issue

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~2,605Tokens (definiciones de herramientas)
~1.8 KBTamaño de respuesta típico
Impacto significativo en la atención (2.04% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "sentry": {
      "url": "https://sentry.usefulapi.io/mcp"
    }
  }
}

Puntos de conexión remotos

https://sentry.usefulapi.io/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (12)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢sentry_list_organizations(cursor, per_page)

List the organizations this token can access, with their slugs. Start here to get the organization slug the other tools need. Sentry API: GET /organizations/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "cursor": {
      "description": "next_cursor from the previous page; omit for the first page.",
      "type": "string"
    },
    "per_page": {
      "description": "Results per page (max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢sentry_list_projects(org, cursor, per_page, query)

List the projects of an organization, with slug, id, platform and team. Sentry API: GET /organizations/{org}/projects/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "org": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Organization slug, from sentry_list_organizations."
    },
    "cursor": {
      "description": "next_cursor from the previous page; omit for the first page.",
      "type": "string"
    },
    "per_page": {
      "description": "Results per page (max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "query": {
      "description": "Filter by name or slug.",
      "type": "string"
    }
  },
  "required": [
    "org"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢sentry_get_project(org, project)

Get one project with its platform, teams and settings. Sentry API: GET /projects/{org}/{project}/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "org": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Organization slug, from sentry_list_organizations."
    },
    "project": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Project slug or numeric id, from sentry_list_projects."
    }
  },
  "required": [
    "org",
    "project"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢sentry_list_teams(org, cursor, per_page, query)

List the teams of an organization. Sentry API: GET /organizations/{org}/teams/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "org": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Organization slug, from sentry_list_organizations."
    },
    "cursor": {
      "description": "next_cursor from the previous page; omit for the first page.",
      "type": "string"
    },
    "per_page": {
      "description": "Results per page (max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "query": {
      "description": "Filter by name or slug.",
      "type": "string"
    }
  },
  "required": [
    "org"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢sentry_list_issues(org, query, project, environment, statsPeriod, ...)

List the issues (grouped errors) of an organization. Filter with the Sentry search query, for example is:unresolved. Sort: date (default), new, freq, user, trends or inbox. Sentry API: GET /organizations/{org}/issues/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "org": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Organization slug, from sentry_list_organizations."
    },
    "query": {
      "description": "Sentry search query, for example 'is:unresolved level:error'.",
      "type": "string"
    },
    "project": {
      "description": "Numeric project ids to include, from sentry_list_projects.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "environment": {
      "description": "Environment name, for example production.",
      "type": "string"
    },
    "statsPeriod": {
      "description": "Relative time window, for example 24h or 14d.",
      "type": "string"
    },
    "sort": {
      "description": "Sort order: date, new, freq, user, trends or inbox.",
      "type": "string"
    },
    "limit": {
      "description": "Results per page (max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "next_cursor from the previous page; omit for the first page.",
      "type": "string"
    }
  },
  "required": [
    "org"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢sentry_get_issue(org, issue_id, environment)

Get one issue with its title, culprit, status, assignee, counts and first and last seen times. Sentry API: GET /organizations/{org}/issues/{issue_id}/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "org": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Organization slug, from sentry_list_organizations."
    },
    "issue_id": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Issue id (numeric), from sentry_list_issues."
    },
    "environment": {
      "description": "Environment name, for example production.",
      "type": "string"
    }
  },
  "required": [
    "org",
    "issue_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢sentry_list_issue_events(org, issue_id, full, environment, statsPeriod, ...)

List the events (single occurrences) of one issue. Set full to true to include the stack trace and tags. Sentry API: GET /organizations/{org}/issues/{issue_id}/events/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "org": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Organization slug, from sentry_list_organizations."
    },
    "issue_id": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Issue id (numeric), from sentry_list_issues."
    },
    "full": {
      "description": "Include the full event payload (stack trace, tags, context).",
      "type": "boolean"
    },
    "environment": {
      "description": "Environment name, for example production.",
      "type": "string"
    },
    "statsPeriod": {
      "description": "Relative time window, for example 24h or 14d.",
      "type": "string"
    },
    "query": {
      "description": "Sentry search query, for example 'is:unresolved level:error'.",
      "type": "string"
    },
    "per_page": {
      "description": "Results per page (max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "next_cursor from the previous page; omit for the first page.",
      "type": "string"
    }
  },
  "required": [
    "org",
    "issue_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢sentry_get_event(org, project, event_id)

Get one event by id with its stack trace, tags, contexts and breadcrumbs. Sentry API: GET /projects/{org}/{project}/events/{event_id}/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "org": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Organization slug, from sentry_list_organizations."
    },
    "project": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Project slug or numeric id, from sentry_list_projects."
    },
    "event_id": {
      "type": "string",
      "pattern": "^[0-9a-fA-F]{32}$",
      "description": "Event id (32 hex characters), from sentry_list_issue_events."
    }
  },
  "required": [
    "org",
    "project",
    "event_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢sentry_query_events(org, field, dataset, query, project, ...)

Run an explore query that returns a table of aggregated events, for example count per issue or p95 duration per transaction. dataset: errors (default), logs, spans, profile_functions, tracemetrics or uptime_results. Sentry API: GET /organizations/{org}/events/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "org": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Organization slug, from sentry_list_organizations."
    },
    "field": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Columns, for example issue, count(), p95(span.duration)."
    },
    "dataset": {
      "description": "Data set to query (default errors).",
      "type": "string",
      "enum": [
        "errors",
        "logs",
        "spans",
        "profile_functions",
        "tracemetrics",
        "uptime_results"
      ]
    },
    "query": {
      "description": "Sentry search query, for example 'is:unresolved level:error'.",
      "type": "string"
    },
    "project": {
      "description": "Numeric project ids to include.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "environment": {
      "description": "Environment name, for example production.",
      "type": "string"
    },
    "statsPeriod": {
      "description": "Relative time window, for example 24h or 14d.",
      "type": "string"
    },
    "sort": {
      "description": "A column from field, prefixed with - for descending.",
      "type": "string"
    },
    "per_page": {
      "description": "Results per page (max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "next_cursor from the previous page; omit for the first page.",
      "type": "string"
    }
  },
  "required": [
    "org",
    "field"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢sentry_list_releases(org, project, environment, query, per_page, ...)

List releases of an organization, newest first, with version, dates, commit count and new issues. Sentry API: GET /organizations/{org}/releases/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "org": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Organization slug, from sentry_list_organizations."
    },
    "project": {
      "description": "Numeric project id to filter by, from sentry_list_projects.",
      "type": "string"
    },
    "environment": {
      "description": "Environment name, for example production.",
      "type": "string"
    },
    "query": {
      "description": "Case-insensitive substring of the release version, for example 1.4.2.",
      "type": "string"
    },
    "per_page": {
      "description": "Results per page (max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "next_cursor from the previous page; omit for the first page.",
      "type": "string"
    }
  },
  "required": [
    "org"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢sentry_get_release(org, version)

Get one release by version with its commit count and new issue count. Sentry API: GET /organizations/{org}/releases/{version}/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "org": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Organization slug, from sentry_list_organizations."
    },
    "version": {
      "type": "string",
      "minLength": 1,
      "description": "Release version string, from sentry_list_releases."
    }
  },
  "required": [
    "org",
    "version"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡sentry_update_issue(org, issue_id, status, assigned_to, is_bookmarked)

Change an issue's status (resolved, unresolved, ignored, resolvedInNextRelease or muted), its assignee (for example user:123 or team:45) or its bookmark. Only the fields you pass change. Sentry API: PUT /organizations/{org}/issues/{issue_id}/.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "org": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Organization slug, from sentry_list_organizations."
    },
    "issue_id": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Issue id (numeric), from sentry_list_issues."
    },
    "status": {
      "description": "New status.",
      "type": "string",
      "enum": [
        "resolved",
        "unresolved",
        "ignored",
        "resolvedInNextRelease",
        "muted"
      ]
    },
    "assigned_to": {
      "description": "Actor to assign, for example user:123 or team:45.",
      "type": "string"
    },
    "is_bookmarked": {
      "description": "Bookmark the issue or remove the bookmark.",
      "type": "boolean"
    }
  },
  "required": [
    "org",
    "issue_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada12 herramientas