mcp-sentry-ts
The Sentry MCP Server is designed for interacting with Sentry through a Model Context Protocol server. It provides tools to retrieve and analyze error data from Sentry, manage projects, and monitor application performance. The server requires specific Node.js and Sentry configurations for setup and operation.
Sentry MCP Server
A Model Context Protocol (MCP) server for interacting with Sentry, providing tools to retrieve and analyze error data, manage projects, and monitor application performance. It requires Node.js, npm or yarn, and a Sentry account with API access. This MCP server facilitates integration with AI assistants like Claude for retrieving project lists, issue details, and more from Sentry.
Requirements
- Node.js (v14 or higher)
- npm or yarn
- Sentry account with API access
- Sentry authentication token with proper permissions
Setup
- Install dependencies
Available Tools
- list_projects: Lists accessible Sentry projects.
- resolve_short_id: Retrieves details about issues via their short ID.
- get_sentry_event: Analyzes specific Sentry events.
- list_error_events_in_project: Lists error events from projects.
- create_project: Creates new Sentry projects and retrieves client keys.
- list_project_issues: Lists issues from Sentry projects.
- list_issue_events: Lists events for specific issues.
- get_sentry_issue: Analyzes Sentry issues.
- list_organization_replays: Lists replays from Sentry organizations.
Authentication
Requires Sentry authentication token.
Error Handling
Includes comprehensive error handling, logging errors to the console for debugging.