IntegrateIntegrate
Integrations

Sentry Integration

Monitor Sentry errors, issues, releases, and projects

The Sentry integration provides access to monitor Sentry errors, issues, releases, and projects through the Integrate MCP server.

Installation

The Sentry integration is included with the SDK:

import { sentryIntegration } from "integrate-sdk/server";

Setup

1. Create a Sentry OAuth App

  1. Go to Sentry Developer Portal
  2. Create a new OAuth application
  3. Configure your redirect URI
  4. Note your Client ID and Client Secret

2. Configure the Integration on Your Server

Add the Sentry integration to your server configuration. The integration automatically reads SENTRY_CLIENT_ID and SENTRY_CLIENT_SECRET from your environment variables:

import { createMCPServer, sentryIntegration } from "integrate-sdk/server";

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    sentryIntegration({
      scopes: ["org:read", "project:read", "team:read", "member:read", "event:read", "event:write", "project:releases"], // Optional
    }),
  ],
});

You can override the environment variables by passing explicit values:

sentryIntegration({
  clientId: process.env.CUSTOM_SENTRY_ID,
  clientSecret: process.env.CUSTOM_SENTRY_SECRET,
      scopes: ["org:read", "project:read", "team:read", "member:read", "event:read", "event:write", "project:releases"], // Optional
});

3. Client-Side Usage

The default client automatically includes all integrations. You can use it directly:

import { client } from "integrate-sdk";

await client.authorize("sentry");
const result = await client.sentry.getOrganization({
  org_slug: "value",
});

console.log(result);

If you're using a custom client, add the integration to the integrations array:

import { createMCPClient, sentryIntegration } from "integrate-sdk";

const customClient = createMCPClient({
  integrations: [sentryIntegration()],
});

Configuration Options

Prop

Type

Default Scopes

These defaults are applied unless you override scopes in the integration config:

  • org:read
  • project:read
  • team:read
  • member:read
  • event:read
  • event:write
  • project:releases

Tools

sentry_get_organization

Get organization

Prop

Type

sentry_list_org_projects

List org projects

Prop

Type

sentry_list_org_members

List org members

Prop

Type

sentry_get_project

Get project

Prop

Type

sentry_list_issues

List issues

Prop

Type

sentry_get_issue

Get issue

Prop

Type

sentry_update_issue

Update issue

Prop

Type

sentry_list_issue_events

List issue events

Prop

Type

sentry_list_project_events

List project events

Prop

Type

sentry_list_releases

List releases

Prop

Type

sentry_get_release

Get release

Prop

Type

sentry_create_release

Create release

Prop

Type

sentry_list_release_commits

List release commits

Prop

Type

sentry_resolve_short_id

Resolve short id

Prop

Type

Notes

  • Category: Engineering
  • Authentication mode: OAuth

On this page