Skip to main content
Glama

Sentry MCP

Official
by getsentry
context.ts769 B
import type { ServerContext } from "../types"; import type { Scope } from "../permissions"; /** * Create a test context with default values for testing tools */ export function createTestContext( overrides: Partial<ServerContext> = {}, ): ServerContext { return { accessToken: "test-access-token", constraints: {}, grantedScopes: new Set<Scope>([ "org:read", "project:write", "team:write", "event:write", ]), ...overrides, }; } /** * Create a test context with specific constraints */ export function createTestContextWithConstraints( constraints: ServerContext["constraints"], overrides: Partial<ServerContext> = {}, ): ServerContext { return createTestContext({ constraints, ...overrides, }); }

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