Sentry MCP Server
以下は、 mcp-sentry-customプロジェクトの README.md を改訂・洗練させたバージョンです。明瞭性、正確性、そしてプロフェッショナル性を重視し、適切なフォーマットで作成されています。標準的な Markdown の慣例に従い、内容を論理的なセクションに整理しています。
mcp-sentry-custom: Sentry MCP サーバー
概要
mcp-sentry-customは、 Sentry.ioまたはセルフホスト型 Sentry インスタンスから問題を取得・分析するために設計された Model Context Protocol (MCP) サーバーです。このサーバーは、Sentry アカウントから直接エラーレポート、スタックトレース、その他のデバッグ情報を調べるためのツールを提供します。
Related MCP server: Sentry MCP Server
特徴
ツール
get_sentry_issue説明: ID または URL で特定の Sentry 問題を取得して分析します。
入力:
issue_id_or_url(文字列): 分析する Sentry 問題 ID または完全な URL。
返品: 次のような詳細な問題情報:
タイトル
問題ID
状態
レベル
初回表示タイムスタンプ
最終閲覧タイムスタンプ
イベント数
フルスタックトレース
get_list_issues説明: 特定のプロジェクトの Sentry の問題のリストを取得して分析します。
入力:
project_slug(文字列): Sentry プロジェクト スラッグ。organization_slug(文字列): Sentry 組織スラッグ。
返品: 問題の詳細を含むリスト。これには以下が含まれます:
タイトル
問題ID
状態
レベル
初回表示タイムスタンプ
最終閲覧タイムスタンプ
イベント数
基本的な発行情報
プロンプト
sentry-issue説明: 会話のコンテキストで使用するために、Sentry からフォーマットされた問題の詳細を取得します。
入力:
issue_id_or_url(文字列): Sentry の問題 ID または URL。
戻り値: フォーマットされた問題の詳細。
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用のmcp-sentry-customを自動的にインストールするには:
npx -y @smithery/cli install @javaDer/mcp-sentry-custom --client claudeuvの使用(推奨)
uvを使用する場合、特別なインストールは必要ありません。 uvxでmcp-sentry-custom直接実行できます。
uvx mcp-sentry-custom --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG --sentry-url YOUR_SENTRY_URLpipの使用
あるいは、 pip経由でmcp-sentry-customをインストールします。
pip install mcp-sentry-customまたは、 uvの場合:
uv pip install -e .インストール後、スクリプトとして実行します。
python -m mcp_sentry構成
Claude Desktopでの使用
claude_desktop_config.jsonに以下を追加します。
uvxの使用
{
"mcpServers": {
"sentry": {
"command": "uvx",
"args": [
"mcp-sentry-custom",
"--auth-token", "YOUR_SENTRY_TOKEN",
"--project-slug", "YOUR_PROJECT_SLUG",
"--organization-slug", "YOUR_ORGANIZATION_SLUG",
"--sentry-url", "YOUR_SENTRY_URL"
]
}
}
}Dockerの使用
{
"mcpServers": {
"sentry": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"mcp/sentry",
"--auth-token", "YOUR_SENTRY_TOKEN",
"--project-slug", "YOUR_PROJECT_SLUG",
"--organization-slug", "YOUR_ORGANIZATION_SLUG",
"--sentry-url", "YOUR_SENTRY_URL"
]
}
}
}pipを使ったインストール
{
"mcpServers": {
"sentry": {
"command": "python",
"args": [
"-m", "mcp_sentry",
"--auth-token", "YOUR_SENTRY_TOKEN",
"--project-slug", "YOUR_PROJECT_SLUG",
"--organization-slug", "YOUR_ORGANIZATION_SLUG",
"--sentry-url", "YOUR_SENTRY_URL"
]
}
}
}Zedでの使用
Zed のsettings.jsonに以下を追加します。
uvxの使用
{
"context_servers": {
"mcp-sentry-custom": {
"command": {
"path": "uvx",
"args": [
"mcp-sentry-custom",
"--auth-token", "YOUR_SENTRY_TOKEN",
"--project-slug", "YOUR_PROJECT_SLUG",
"--organization-slug", "YOUR_ORGANIZATION_SLUG",
"--sentry-url", "YOUR_SENTRY_URL"
]
}
}
}
}pipを使ったインストール
{
"context_servers": {
"mcp-sentry-custom": {
"command": "python",
"args": [
"-m", "mcp_sentry",
"--auth-token", "YOUR_SENTRY_TOKEN",
"--project-slug", "YOUR_PROJECT_SLUG",
"--organization-slug", "YOUR_ORGANIZATION_SLUG",
"--sentry-url", "YOUR_SENTRY_URL"
]
}
}
}カスタムパスによるpipインストールの使用
{
"context_servers": {
"mcp-sentry-custom": {
"command": "python",
"args": [
"-m", "mcp_sentry",
"--auth-token", "YOUR_SENTRY_TOKEN",
"--project-slug", "YOUR_PROJECT_SLUG",
"--organization-slug", "YOUR_ORGANIZATION_SLUG",
"--sentry-url", "YOUR_SENTRY_URL"
],
"env": {
"PYTHONPATH": "path/to/mcp-sentry-custom/src"
}
}
}
}デバッグ
MCP インスペクターを使用してサーバーをデバッグします。
uvxインストールの場合
npx @modelcontextprotocol/inspector uvx mcp-sentry-custom --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG --sentry-url YOUR_SENTRY_URL地域開発のために
パッケージを特定のディレクトリにインストールした場合、または開発中の場合:
cd path/to/mcp-sentry-custom/src
npx @modelcontextprotocol/inspector uv run mcp-sentry-custom --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG --sentry-url YOUR_SENTRY_URLまたは、カスタム ディレクトリを使用する場合:
npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-sentry-custom/src run mcp_sentry --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG --sentry-url YOUR_SENTRY_URLフォーク元
このプロジェクトは以下からフォークされました:
https://github.com/modelcontextprotocol/servers/tree/main/src/sentry
ライセンス
このMCPサーバーはMITライセンスに基づいてライセンスされています。MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。
変更に関する注記
フォーマット: 読みやすさを考慮して、適切な Markdown の見出し、リスト、コード ブロックを使用しました。
一貫性: 用語を標準化し (例:
mcp_sentryとmcp-sentry-custom)、冗長な<TEXT>と<JSON>タグを削除しました。明確さ: 「概要」や「機能」などのセクションを簡潔かつ正確に書き直しました。
完全性: 不完全な文を修正し、すべての構成例が適切に構成されていることを確認しました。
プロフェッショナルな口調: よりフォーマルで洗練された印象を与えるように表現を調整しました。
さらに改良が必要な場合はお知らせください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
- AgentCatOAuthcom.agentcat
Analytics and debugging for your MCP server — explore usage and sessions, then root-cause errors.
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Related MCP Servers
- FlicenseBqualityDmaintenanceA Model Context Protocol server that retrieves and analyzes Sentry.io issues, allowing users to inspect error reports, stacktraces, and debugging information from their Sentry account.222-
- FlicenseBqualityFmaintenanceA Model Context Protocol server that enables AI assistants to interact with Sentry for error tracking and monitoring, allowing retrieval and analysis of error data, project management, and performance monitoring through the Sentry API.1121-
- FlicenseNot gradedqualityNot gradedmaintenanceA stateless FastMCP server that enables interaction with multiple Sentry instances, including US, EU, and self-hosted versions, through a single deployment. It provides tools for searching issues, events, and traces, allowing users to monitor and debug applications using natural language.20-
- AlicenseAqualityCmaintenanceMCP server for self-hosted Sentry instances, providing tools to query and triage issues and events, inspect stack frames, manage releases, and access raw Sentry API.24129MIT