Connectors

Sentry

Let Lyna AI search your Sentry errors, analyze performance and triage issues, then fix the code they point to.

Connect your Sentry account so Lyna AI can read the real errors your app throws, find where they come from in your code, and fix them.

What it lets you do

  • Search errors.
  • Analyze performance.
  • Triage issues.
  • Read the Sentry documentation.
  • Manage projects.
ItemDetail
What it asks forA sign-in on Sentry's page.
Who pays the providerYou, through your own Sentry plan.
Do actions change real data?Yes. Triaging an issue or managing a project changes your Sentry account.
Where it runsOn Sentry's servers.
Who uses itLyna AI while it builds, in Build mode. Your published app can use it too: Use a connector in your app.

What you need before you start

  • A Sentry account that belongs to the organization, with the role the task needs (see below).
  • For a member, a place on a team that owns the project. The Billing role has no access to issues or projects.
  • Edit access to your Lyna project.

Permissions in Sentry

Every connection signs in with your account, so your organization role sets what it can do. Sentry adds a second limit you control: an address scoped to one organization or one project, which it recommends when possible.

TaskWhat you need
View issues and act on them, such as assigning or resolvingMember or higher, on projects their teams own
Change project settings, or create and remove projectsAdmin, Manager or Owner
Manage all teams and projectsManager or Owner
Stay inside one projectA scoped address (see Ways to connect)

The Admin role cannot be assigned on the Business and Enterprise plans. See Sentry's organization roles.

Ways to connect

On the connector's page. A sign-in on Sentry's own page. Lyna stores it encrypted. Only the owner can sign in again.

Who owns the account? The person who signed in. Every call goes out as that person's Sentry account, whoever typed the request.

Who can use it? Only you, in the projects you link it to, until you change it. On the connector's page, Who can use it also offers Only this project and The whole workspace. See Who can use a connection.

One project. Sentry recommends this when you can. In Connectors, choose Add custom, then Custom server. Give it a name, paste https://mcp.sentry.dev/mcp/YOUR_ORG/YOUR_PROJECT in Server address, keep Sign in under How it signs in, and choose Add and test. Tools then default to that project, and the discovery tools go away.

One organization. Do the same with https://mcp.sentry.dev/mcp/YOUR_ORG.

Set it up

  1. Open the connector

    Open the + menu of the chat and choose Connectors. Find Sentry with the search field or under Developer tools, then open its page.

  2. Connect

    Choose Connect. The New connection page opens and reads "Sign in with your Sentry account to connect." Choose Connect at the bottom of the page. Sharing, just above, sets who can use it.

  3. Sign in

    A new window opens on Sentry's own page. If your browser blocks the window, the page goes to the sign-in in the same tab and brings you back after. Sign in and approve the access.

  4. Read the result

    The page tests the connection and shows the result. Connected means Lyna can use it.

This connector shows no field to fill in: everything you give, you give on Sentry's own page.

Check it works

After you choose Connect, the page tests the connection and shows the result. Run it again at any time with Test connection. Connected proves that Sentry's server answered, accepted your sign-in and listed its tools. A pass does not prove access to every piece of data. It reaches what your Sentry account can see, in every organization you belong to, unless you scope it (see Ways to connect).

To check for real, ask for something you know exists:

  • "List the Sentry projects I can see."

What to ask Lyna AI

Type these in the chat, in Build mode, and adjust the names to yours. Once it is connected, Use Sentry on its page starts a message for you.

What you build or doWhat to typeWhat happens
Fix the top error"What are the most frequent errors in my web project this week? Fix the top one."Lyna AI ranks the errors, reads the top one and changes the code.
Trace a regression"Find the issue behind this error message and tell me which release started it."It searches your issues and answers in the chat.
Find slow pages"Which pages of my app are the slowest according to Sentry?"It reads your performance data and lists the pages.
Triage after a fix"Resolve the checkout issue we just fixed."After your approval, the issue is resolved for the whole team.
Assign work"Assign the login timeout issue to the Web team."After your approval, the assignment shows in Sentry.
Get setup help"Look up in the Sentry docs how to add source maps for this project."It reads the docs and applies them to your code.

Approvals and tool switches

Before a call, Lyna AI shows the tool and what it asks. You choose Deny, Allow once, Always allow this tool or Always allow this connector. A tool its server marks as read-only does not ask. A changed or new tool asks again, and Ask again on the connector's page takes a choice back.

Under What Lyna AI can use, each tool has a switch. Lyna AI stops using a tool you turn off, in your chats in this project.

Stay safe

What a connector answers reaches the AI as data, never as instructions. Read each approval before you accept it.

  • Error reports can contain text your users typed. Lyna passes it to the AI as data, not as instructions.

Limits

  • Every connection uses sign-in.
  • Experimental tools need ?experimental=1 on the address.
  • See Sentry MCP.
  • Connector tools run in Build mode. Plan and Ask do not run them.

Troubleshooting

What you seeWhat it means and what to do
Needs sign-inYour sign-in ended, or you revoked it at Sentry. Choose Connect and sign in again.
The sign-in window does not openYour browser blocked it, so the page goes to the sign-in in the same tab. If nothing happens, allow pop-ups for Lyna and choose Connect again.
No answer from the sign-in window yetIf the window is still open, finish there. If you closed it, choose Connect again.
The sign-in was cancelled.You closed or declined Sentry's page. Choose Connect and approve the access.
The service refused the sign-in.Check that you used the right account and that your organization allows this access, then choose Connect.
The sign-in took too long. Start it again.Choose Connect and sign in again.
The sign-in worked, but the server did not answer.Choose Test connection.
Not tested yetNo test has answered. Choose Test connection.
Connection failedThe page says why next to it. If the server did not answer, choose Test connection.
A call fails with a permission errorConnected does not prove access to every piece of data. Sentry refused the call with the rights of the account you connected. Check Permissions in Sentry above, then try again.
New tools to reviewThe server changed its list of tools, so Lyna stops using it until you decide. Read the list, then choose Approve new tools.
Turned offLyna AI does not use it. Choose Turn on.
It needs a new sign-in. Only the person who connected it can give one.Someone else connected it, and that sign-in ended. Ask that person to choose Connect.
The person who connected it left the workspaceThe connection holds no key or sign-in. Choose Connect to use it again.
Results come from the wrong projectName the organization and the project in your request, or scope the address as above.

Disconnect

Turn off stops Lyna from using the connector and keeps your settings. Remove from this project, under More options, takes it out of this project only, and shows when another project uses it. Delete connection, in the same menu, removes it from every project, with what it stored, and says first how many projects lose it. If Sentry lists Lyna among the authorized applications of your account, you can remove it there too.

Need help?

Ask the team, read what changed, or learn from the blog.