---
title: "Sentry: ตั้งค่าสำหรับ Claude, Cursor, Codex · DotsAgent"
description: "ค้นหาปัญหา event, trace และ release ใน Sentry และเริ่มการวิเคราะห์หาสาเหตุหลักด้วย Seer ได้ทั้งแบบโฮสต์และแบบรันในเครื่อง ตั้งค่า Sentry ใน MCP client 13 รายการ"
url: https://dotsagent.io/th/mcp/servers/sentry
---

Observability · Sentry

# ตั้งค่า Sentry

ค้นหาปัญหา event, trace และ release ใน Sentry และเริ่มการวิเคราะห์หาสาเหตุหลักด้วย Seer ได้ทั้งแบบโฮสต์และแบบรันในเครื่อง

- **ผู้เผยแพร่**: Sentry อย่างเป็นทางการ
- **Endpoint แบบโฮสต์**: `https://mcp.sentry.dev/mcp`
- **เรียกใช้ในเครื่อง**: `npx @sentry/mcp-server@latest --access-token=SENTRY_ACCESS_TOKEN`
- **Transport**: streamable-http, stdio
- **การยืนยันตัวตน**: OAuth สำหรับ endpoint ที่โฮสต์ หรือ user auth token สำหรับการรันในเครื่อง
- **Environment**: `SENTRY_ACCESS_TOKEN`
- **สิ่งที่เข้าถึงได้**: ส่วนใหญ่เป็นการอ่าน แต่สามารถอัปเดตปัญหาได้
- **ไลเซนส์**: 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/th/mcp/config#add=sentry)

## เซิร์ฟเวอร์อื่นในหมวด observability

- [Datadog](https://dotsagent.io/th/mcp/servers/datadog): ค้นหา log, metric, trace, monitor และ incident ใน Datadog เพิ่ม ?toolsets= ใน URL เพื่อจำกัดเครื่องมือที่ใช้ได้

- [Grafana](https://dotsagent.io/th/mcp/servers/grafana): ค้นหา dashboard, query data source ของ Prometheus และ Loki รวมถึงจัดการ alert และ incident ใน Grafana

- [PagerDuty](https://dotsagent.io/th/mcp/servers/pagerduty): เซิร์ฟเวอร์ที่ PagerDuty โฮสต์สำหรับจัดการ incident, service, schedule และเวร on-call

## แหล่งที่มา

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 agent ไม่มีส่วนเกี่ยวข้องกับผู้ให้บริการที่กล่าวถึง

© 2026 DotsAgent · ตรวจสอบข้อมูลเมื่อ 1 ตุลาคม 2569
