Skip to main content
Glama

Sentry MCP

Official
by getsentry
main.tsx905 B
import "./instrument"; import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import "./index.css"; import App from "./app"; import { AuthProvider } from "./contexts/auth-context"; import * as Sentry from "@sentry/react"; const container = document.getElementById("root"); const root = createRoot(container!, { // Callback called when an error is thrown and not caught by an ErrorBoundary. onUncaughtError: Sentry.reactErrorHandler((error, errorInfo) => { console.warn("Uncaught error", error, errorInfo.componentStack); }), // Callback called when React catches an error in an ErrorBoundary. onCaughtError: Sentry.reactErrorHandler(), // Callback called when React automatically recovers from errors. onRecoverableError: Sentry.reactErrorHandler(), }); root.render( <StrictMode> <AuthProvider> <App /> </AuthProvider> </StrictMode>, );

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/getsentry/sentry-mcp'

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