> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spojit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect the Sentry MCP server

> Connect Sentry's hosted MCP server to Spojit: organization and project scoped URLs and one-click sign-in for issues and errors.

Sentry hosts an MCP server for working with your Sentry organizations, projects, and issues. Connect it to Spojit and a workflow can triage new errors or summarise an issue for a ticket.

<Note>
  Spojit connects to this server through a [custom MCP server](/connectors/remote-mcp-servers/custom) connection, so you add it with **Add custom server** rather than from the connector catalog. Sentry maintains it and decides which tools it offers; see [Sentry's MCP documentation](https://mcp.sentry.dev/) for the current list.
</Note>

## Before you start

* A Sentry account with access to the organization you want to connect. The tools can only see what your Sentry user can see.

## Server URL

Sentry recommends scoping the connection to a project when you can. Scoped connections default tools to that organization or project and hide the discovery tools you no longer need.

| Scope                           | URL                                                             |
| ------------------------------- | --------------------------------------------------------------- |
| Everything your user can access | `https://mcp.sentry.dev/mcp`                                    |
| One organization                | `https://mcp.sentry.dev/mcp/<organization-slug>`                |
| One project                     | `https://mcp.sentry.dev/mcp/<organization-slug>/<project-slug>` |

Find the slugs in your Sentry URLs, for example `https://<organization-slug>.sentry.io/projects/<project-slug>/`.

## Connect in Spojit

<Steps>
  <Step title="Add a custom server">
    Go to **Connections** and click **Add custom server**. Enter a **Name** such as `Sentry` and paste the **Server URL** for the scope you chose.
  </Step>

  <Step title="Keep Auto authentication">
    Leave **Authentication** on **Auto**, choose a visibility, and click **Save & connect**.
  </Step>

  <Step title="Approve access in Sentry">
    Sentry opens its consent page. Sign in, review the requested access, and approve. Spojit marks the connection **Connected** and refreshes the token automatically.
  </Step>
</Steps>

## Use it in a workflow

Add a **Connector** node, pick your Sentry server under **Custom Servers**, and choose **Agent Mode** or **Direct Mode**. See [Use a custom server in a workflow](/connectors/remote-mcp-servers/custom#use-a-custom-server-in-a-workflow).

## Troubleshooting

<AccordionGroup>
  <Accordion title="Tools ask for an organization or project every time">
    Use an organization or project scoped URL. Edit the connection, change the **Server URL**, and save to reconnect.
  </Accordion>

  <Accordion title="An issue or project is missing">
    The tools act as your Sentry user. Confirm that user is a member of the team that owns the project.
  </Accordion>
</AccordionGroup>

## Learn more

* [Sentry MCP server](https://mcp.sentry.dev/)

<Snippet file="start-free.mdx" />
