GS

getsentry/sentry-mcp-stdio

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

12 stars 12 forks 品質 55 トレンド 8

モデル コンテキストプロトコル (MCP) サーバ(Sentry)

概要

- これは、多くの機能(auth、より良いツーリングなど)をサポートするSentry Remote-MCP Serverによって主任されています。 これは、スタンドアローンMCPサーバーとして教育目的のために存在します。 しかし、すべての可能性では、リモートを使用する必要があります。 [[https://mcp.sentry.dev]でライブ表示できます。 モデルコンテキストプロトコル(MCP)サーバーで、Sentryとやり取りします。 このMCPサーバーは、Sentry APIとやりとりするツールを提供し、AIアシスタントがエラーデータの取得と解析、プロジェクト管理、アプリケーションパフォーマンスの監視を可能にします。 - Node.js (v14以上) - npm または yarn - API アクセスによる Sentry アカウント - 適切な権限を持つ Sentry 認証トークン このMCPは、Cursor、Codeium Windsurf、およびClaude Desktopに対して動作するように検証されています。 ClaudeでこのMCPサーバーを使用するには、Claude設定に次の設定を追加します。 * argsフィールドのディレクトリパスで更新します。 * Sentry認証トークンに置き換えてください.

概要(AI 翻訳)

注意 - これは、多くの機能(auth、より良いツーリングなど)をサポートするSentry Remote-MCP Serverによって主任されています。 これは、スタンドアローンMCPサーバーとして教育目的のために存在します。 しかし、すべての可能性では、リモートを使用する必要があります。 [[https://mcp.sentry.dev]でライブ表示できます。

セントリ MCP サーバー

モデルコンテキストプロトコル(MCP)サーバーで、Sentryとやり取りします。 このMCPサーバーは、Sentry APIとやりとりするツールを提供し、AIアシスタントがエラーデータの取得と解析、プロジェクト管理、アプリケーションパフォーマンスの監視を可能にします。

要件

  • Node.js(v14以上)
  • npmかヤーン
  • APIアクセスによるSentryアカウント
  • 適切な権限を持つSentry認証トークン

セットアップ

  1. 依存関係を取付けて下さい:

##IDE内でこれを使用する

このMCPは、Cursor、Codeium Windsurf、およびClaude Desktopに対して動作するように検証されています。

Claudeで使用

ClaudeでこのMCPサーバーを使用するには、Claude設定に次の設定を追加します。

  • [argsフィールドでディレクトリパスを更新します。
  • Sentry認証トークンで を置換します。

利用可能なツール

リスト プロジェクト

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Note - This has largely been superceded by the Sentry Remote-MCP Server which supports a lot more capabilities (auth, better tooling, etc…). This one exists for educational purposes as a standalone MCP server; but in all likelihood you’ll want to use the remote. You can see it live at https://mcp.sentry.dev

Sentry MCP Server

A Model Context Protocol (MCP) server for interacting with Sentry. This MCP server provides tools to interact with the Sentry API, allowing AI assistants to retrieve and analyze error data, manage projects, and monitor application performance.

Requirements

  • Node.js (v14 or higher)
  • npm or yarn
  • Sentry account with API access
  • Sentry authentication token with appropriate permissions

Setup

  1. Install dependencies:
    npm install
    

Using this within an IDE

This MCP has been verified to work against Cursor, Codeium Windsurf, and Claude Desktop.

Using with Claude

To use this MCP server with Claude, add the following configuration to your Claude settings:

{
    "mcpServers": {
        "sentry": {
            "command": "npx",
            "args": ["ts-node", "/Users//sentry-mcp-ts/index.ts"],
            "env": {
                "SENTRY_AUTH": ""
            }
        }
    }
}
  • Update with your directory path in the args field.
  • Replace `` with your Sentry authentication token.

Available Tools

list_projects

Lists all accessible Sentry projects for a given organization.

Parameters:

  • organization_slug (string, required): The slug of the organization to list projects from
  • view (string, optional): View type, either “summary” or “detailed” (default: “detailed”)
  • format (string, optional): Output format, either “plain” or “markdown” (default: “markdown”)

resolve_short_id

Retrieves details about an issue using its short ID.

Parameters:

  • organization_slug (string, required): The slug of the organization the issue belongs to
  • short_id (string, required): The short ID of the issue to resolve (e.g., PROJECT-123)
  • format (string, optional): Output format, either “plain” or “markdown” (default: “markdown”)

get_sentry_event

Retrieves and analyzes a specific Sentry event from an issue.

Parameters:

  • issue_id_or_url (string, required): Either a full Sentry issue URL or just the numeric issue ID
  • event_id (string, required): The specific event ID to retrieve
  • view (string, optional): View type, either “summary” or “detailed” (default: “detailed”)
  • format (string, optional): Output format, either “plain” or “markdown” (default: “markdown”)

list_error_events_in_project

Lists error events from a specific Sentry project.

Parameters:

  • organization_slug (string, required): The slug of the organization the project belongs to
  • project_slug (string, required): The slug of the project to list events from
GitHub で README 全文を見る

インストール

npx ts-node /Users/<your-user-directory>/sentry-mcp-ts/index.ts
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "sentry": { "command": "npx", "args": ["ts-node", "/Users/<your-user-directory>/sentry-mcp-ts/index.ts"], "env": { "SENTRY_AUTH": "<YOUR_AUTH_TOKEN>" } } } }