---
title: "Sentry：Claude、Cursor、Codex の設定 · DotsAgent"
description: "Sentryのissue、イベント、トレース、リリースを検索し、Seerによる根本原因分析を開始できます。ホスト型とローカル実行に対応しています。 Sentry を13種類の MCP クライアントで設定できます。"
url: https://dotsagent.io/ja/mcp/servers/sentry
---

オブザーバビリティ · Sentry

# Sentry を設定

Sentryのissue、イベント、トレース、リリースを検索し、Seerによる根本原因分析を開始できます。ホスト型とローカル実行に対応しています。

- **提供元**: Sentry 公式
- **ホスト版エンドポイント**: `https://mcp.sentry.dev/mcp`
- **ローカルで実行**: `npx @sentry/mcp-server@latest --access-token=SENTRY_ACCESS_TOKEN`
- **トランスポート**: streamable-http, stdio
- **認証**: ホスト型endpointではOAuth、ローカル実行ではユーザー認証用tokenを使用します。
- **環境変数**: `SENTRY_ACCESS_TOKEN`
- **アクセス対象**: 主に読み取りに対応しています。issueの更新もできます。
- **ライセンス**: FSL-1.1-Apache-2.0
- **ソース**: [github.com/getsentry/toolkit](https://github.com/getsentry/toolkit)
- **ステータス**: 稼働中

## インストール

このサーバーはベンダーがホストしているため、URLを追加するだけで利用でき、マシン上では何も実行されません。認証が必要な場合は、上の行に手順が記載されています。OAuthサーバーでは、初回接続時に認証を求められます。

### Claude Code

`shell`

```
claude mcp add --transport http --scope project sentry https://mcp.sentry.dev/mcp
```

### Cursor

`.cursor/mcp.json`

```
{
  "mcpServers": {
    "sentry": {
      "url": "https://mcp.sentry.dev/mcp"
    }
  }
}
```

### Codex

`~/.codex/config.toml`

```
[mcp_servers.sentry]
url = "https://mcp.sentry.dev/mcp"
```

### 代わりにローカルで実行（Cursor）

`.cursor/mcp.json`

```
{
  "mcpServers": {
    "sentry": {
      "command": "npx",
      "args": [
        "@sentry/mcp-server@latest",
        "--access-token=SENTRY_ACCESS_TOKEN"
      ]
    }
  }
}
```

[他のクライアントの設定 →](https://dotsagent.io/ja/mcp/config#add=sentry)

## オブザーバビリティの他のサーバー

- [Datadog](https://dotsagent.io/ja/mcp/servers/datadog): Datadogのログ、メトリクス、トレース、モニター、インシデントをクエリできます。URLに?toolsets=を追加すると、利用するツールを制限できます。

- [Grafana](https://dotsagent.io/ja/mcp/servers/grafana): Grafanaでダッシュボードを検索し、PrometheusやLokiのデータソースをクエリして、アラートやインシデントを管理できます。

- [PagerDuty](https://dotsagent.io/ja/mcp/servers/pagerduty): インシデント、サービス、スケジュール、オンコールローテーションに対応するPagerDutyのホスト型サーバーです。

## 情報源

1. [github.com](https://github.com/getsentry/toolkit)/getsentry/toolkit
2. [raw.githubusercontent.com](https://raw.githubusercontent.com/getsentry/toolkit/HEAD/LICENSE.md)/getsentry/toolkit/HEAD/LICENSE.md

AIエージェント開発者向けの独立したリファレンスです。ここに記載されているいずれのベンダーとも提携していません。

© 2026 DotsAgent · 確認日: 2026年10月1日
