
getsentry/sentry-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
LLMを介してSentryとやり取りするためのMCPサーバーです。
概要
SentryのMCPサービスは主に人間が関与するコーディングエージェント向けに設計されています。ツールの選択や優先順位は開発者のワークフローやデバッグのユースケースに焦点を当てており、すべてのSentry機能に対応する汎用MCPサーバーを提供するわけではありません。 このリモートMCPサーバーは、CursorやClaude Codeなどのコーディングアシスタント向けに最適化された上流のSentry APIへのミドルウェアとして機能します。これはCloudflareのリモートMCP開発の取り組みに基づいています。 本番環境で展開されたサービスを訪れれば、必要な情報はすべて確認できます: もし貢献したい、仕組みを学びたい、またはセルフホストのSentryでこのプログラムを実行したい場合は、以下をご覧ください。 自動サブエージェント委任用のClaude Codeプラグインとしてインストールする方法: これにより、Sentryのエラー、問題、トレース、パフォーマンスについて尋ねた際にClaudeが自動的に委任するsentry-mcpサブエージェントが提供されます。
概要(AI 翻訳)
このリポジトリにはSentry CLI、Sentry MCPサーバー、そして共有が含まれます パッケージ。CLIについては、CLIガイドおよび公開された ドキュメントは 。ドキュメント索引 製品と共有の貢献者ガイダンスの両方をカバーしています。
セントリーMCP
SentryのMCPサービスは主に人間が関与するコーディングエージェント向けに設計されています。ツールの選択や優先順位は開発者のワークフローやデバッグのユースケースに焦点を当てており、すべてのSentry機能に対応する汎用MCPサーバーを提供するわけではありません。
このリモートMCPサーバーは、CursorやClaude Codeなどのコーディングアシスタント向けに最適化された上流のSentry APIへのミドルウェアとして機能します。これはCloudflareのリモートMCP開発の取り組みに基づいています。
始めて
本番環境で展開されたサービスを訪れれば、必要な情報はすべて確認できます:
もし貢献したい、仕組みを学びたい、またはセルフホストのSentryでこのプログラムを実行したい場合は、以下をご覧ください。
クロードコードプラグイン
自動サブエージェント委任用のClaude Codeプラグインとしてインストールする方法:
これにより、Sentryのエラー、問題、トレース、パフォーマンスについて質問した際にClaudeが自動的に委任するsentry-mcpサブエージェントが提供されます。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Sentry Toolkit
This repository contains the Sentry CLI, the Sentry MCP server, and shared packages. For the CLI, see the CLI guide and the published documentation at . The documentation index covers both products and shared contributor guidance.
The independent Docs MCP Worker provides documentation
search and AI-generated answers backed by docs.sentry.io.
Sentry MCP
Sentry’s MCP service is primarily designed for human-in-the-loop coding agents. Our tool selection and priorities are focused on developer workflows and debugging use cases, rather than providing a general-purpose MCP server for all Sentry functionality.
This remote MCP server acts as middleware to the upstream Sentry API, optimized for coding assistants like Cursor, Claude Code, and similar development tools. It’s based on Cloudflare’s work towards remote MCPs.
Getting Started
You’ll find everything you need to know by visiting the deployed service in production:
If you’re looking to contribute, learn how it works, or to run this for self-hosted Sentry, continue below.
Claude Code Plugin
Install as a Claude Code plugin for automatic subagent delegation:
claude plugin marketplace add getsentry/sentry-mcp
claude plugin install sentry-mcp@sentry-mcp
This provides a sentry-mcp subagent that Claude automatically delegates to when you ask about Sentry errors, issues, traces, or performance.
For forward-looking tool variants and features:
claude plugin install sentry-mcp@sentry-mcp-experimental
Stdio vs Remote
While this repository is focused on acting as an MCP service, we also support a stdio transport. This is still a work in progress, but is the easiest way to adapt run the MCP against a self-hosted Sentry install.
Note: The AI-powered search tools (search_errors, search_traces, search_logs, search_issues, etc.) require an LLM provider (OpenAI, Azure OpenAI, Anthropic, or OpenRouter). These tools use natural language processing to translate queries into Sentry’s query syntax. Without a configured provider, these specific tools will be unavailable, but all other tools will function normally.
To utilize the stdio transport, you’ll need to create an User Auth Token in Sentry with the necessary scopes. As of writing this is:
org:read
project:read
project:write
team:read
team:write
event:write
Launch the transport:
npx @sentry/mcp-server@latest --access-token=sentry-user-token
Need to connect to a self-hosted deployment? Add --host (hostname only, e.g. --host=sentry.example.com) when you run the command. For isolated internal deployments that only expose plain HTTP, also add –insecure-http.
インストール
npx @sentry/mcp-server設定
{
"mcpServers": {
"sentry": {
"url": "https://mcp.sentry.dev/mcp",
"headers": {
"Authorization": "Sentry-Bearer ${SENTRY_ACCESS_TOKEN}"
}
}
}
}