Skip to main content
Glama

Sentry MCP

Official
by getsentry
usage.ts1.73 kB
import type { Scope } from "../permissions"; import type { Skill } from "../skills"; export function buildUsage( packageName: string, defaultScopes: ReadonlyArray<Scope>, allScopes: ReadonlyArray<Scope>, defaultSkills: ReadonlyArray<Skill>, allSkills: ReadonlyArray<Skill>, ): string { return `Usage: ${packageName} --access-token=<token> [--host=<host>] Required: --access-token <token> Sentry User Auth Token with API access Common optional flags: --host <host> Change Sentry host (self-hosted) --sentry-dsn <dsn> Override DSN used for telemetry reporting --openai-base-url <url> Override OpenAI API base URL for embedded agents --openai-model <model> Override OpenAI model (default: gpt-5, reasoning effort: low) --agent Agent mode: only expose use_sentry tool (for AI agents) Session constraints: --organization-slug <slug> Force all calls to an organization --project-slug <slug> Optional project constraint Skill controls (recommended): --skills <list> Specify which skills to grant (default: all skills) All skills: ${allSkills.join(", ")} Scope controls (legacy - deprecated, use skills instead): --scopes <list> Override default scopes --add-scopes <list> Add scopes to defaults --all-scopes Grant every available scope Default scopes: ${defaultScopes.join(", ")} All scopes: ${allScopes.join(", ")} Examples: ${packageName} --access-token=TOKEN ${packageName} --access-token=TOKEN --skills=inspect,triage ${packageName} --access-token=TOKEN --host=sentry.example.com ${packageName} --access-token=TOKEN --openai-model=o1-mini ${packageName} --access-token=TOKEN --openai-base-url=https://proxy.example.com/v1`; }

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