Skip to main content
Glama

Sentry MCP 服务器

Sentry MCP(现代上下文协议)工具的 TypeScript 实现,允许 AI 代理访问和分析 Sentry 错误数据。🤖

✨ 特点

  • 🎯 检索并分析 Sentry 问题

  • 📊 获取格式化的问题详细信息和元数据

  • 🔬 查看详细的堆栈跟踪

  • 🛠️ 支持工具和提示界面

  • 🛡️ 强大的错误处理

  • 🔄 实时沟通

Related MCP server: Sentry MCP Server

📦安装

pnpm install

🔧 配置

使用您的 Sentry 身份验证令牌在根目录中创建一个.env文件:

SENTRY_AUTH_TOKEN=your_sentry_auth_token
SENTRY_API_BASE=https://sentry.io/api/0/  # Optional, defaults to this value

📚 使用方法

启动服务器🚀

pnpm build && pnpm start

服务器将默认在端口 1337 上启动。

与 MCP 一起使用🛠️

服务器提供两个MCP接口:

  1. 工具接口: get_sentry_issue

    {
      "issue_id_or_url": "12345"
    }
  2. 提示界面: sentry-issue

    {
      "issue_id_or_url": "https://sentry.io/organizations/your-org/issues/12345/"
    }

💡 与 Cursor IDE 集成

Sentry MCP 服务器可以与 Cursor IDE 集成,以增强开发体验:

  1. 🚀 使用pnpm start在本地启动 MCP 服务器

  2. 🔧 配置 Cursor 使用本地 MCP 服务器: 图像

  3. 🎉 直接在您的 IDE 中享受无缝的 Sentry 问题分析!

🤝 贡献

  1. 🔀 Fork 仓库

  2. 🌿 创建你的功能分支

  3. 💾 提交你的更改

  4. 🚀 推送到分支

  5. 📬 创建一个新的 Pull 请求

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FaureAlexis/sentry-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server