Skip to main content
Glama

Codex-Sentry-MCP ๐Ÿš€

An MCP (Model Context Protocol) Server that bridges OpenAI Codex directly with the Sentry error tracking system.

This tool empowers AI development assistants (like Codex) to automatically fetch, read, and analyze the latest error logs from Sentry, pinpoint the root causes, and propose or apply bug fixes directly within the code editor.


๐Ÿ”ฅ Key Features

  • Automated Log Retrieval: Instantly fetches the latest error events, stack traces, and issue contexts from Sentry.

  • Smart Bug Analysis: Provides structured error context directly to OpenAI Codex for deep diagnostic analysis.

  • Contextual Code Fixes: Enhances the AI's situational awareness to suggest accurate, automated bug resolutions in your workspace.

  • MCP Compliant: Fully compatible with any Model Context Protocol host or client environment.


Related MCP server: Codemend MCP Server

๐Ÿ› ๏ธ Installation & Setup

Prerequisites

  • Node.js (v18 or higher recommended)

  • A Sentry Account & Auth Token

  • An MCP-compatible client environment

Instructions

  1. Clone the repository:

    git clone [https://github.com/tongleminhanh3-dotcom/codex.git](https://github.com/tongleminhanh3-dotcom/codex.git)
    cd codex-sentry-mcp
    Install dependencies:

Bash npm install Configure your environment variables in a .env file:

SENTRY_AUTH_TOKEN=your_sentry_token_here SENTRY_ORG=your_organization_slug SENTRY_PROJECT=your_project_slug Run the server: Bash npm start

Available Tools

1 tool
get_latest_sentry_errorsB

Fetch the latest unresolved error logs and issues from Sentry

Inputs: limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    TDQS

    B3.4/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no risk of confusing it with other tools.

    Naming Consistency5/5

    With a single tool, naming consistency is moot, but the name follows a clear verb_noun pattern and is descriptive.

    Tool Count3/5

    A single tool is borderline for a server aimed at Sentry error monitoring; it feels thin but is focused on a specific task.

    Completeness2/5

    The server only retrieves errors, lacking common operations like resolving, acknowledging, or filtering errors, leaving significant gaps for typical Sentry workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Integrates Sentry error monitoring with AI-powered analysis to automatically capture frontend JavaScript errors and provide intelligent repair suggestions through multiple AI models including OpenAI, Claude, and Gemini.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Connects AI tools directly to Codemend production error monitoring to list, analyze, and resolve software crashes. It enables users to retrieve AI-generated fixes and automatically open GitHub pull requests to address production issues.
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to retrieve and analyze Sentry issues, including error reports, stacktraces, and debugging information from Sentry.io.
      1
      MIT