Sentry MCP Server for Cloudflare Workers
Get started with Sentry in your AI application. Choose your preferred language below.
npm install primrose-mcp
Sign up and create an API key in your dashboard
Use listTools() to discover Sentry tools and callTool() to execute them
import { Primrose } from 'primrose-mcp';
// Initialize the client
const primrose = new Primrose({
apiKey: 'prm_xxxxx',
provider: 'anthropic' // or: openai, google, amazon, meta, mistral
});
// List available Sentry tools
const tools = await primrose.listTools({ mcpServer: 'sentry' });
console.log(tools);
// Call a Sentry tool
const result = await primrose.callTool('sentry_sentry_list_project_events', {
cursor: 'your-value',
orgSlug: 'your-value',
projectSlug: 'your-value'
});
console.log(result);This server uses API KEY authentication.
View Full Auth Guide