monitoring
Sentry MCP Integration for Vercel AI SDK
Connect Sentry to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Sentry to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Sentry MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-sentry": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=sentry",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=sentry --write=deny Why Use KosmoKrator Here
Expose only Sentry instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Sentry Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Sentry integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__sentry__sentry_list_projects | sentry.sentry_list_projects | Read | List all Sentry projects accessible to the authenticated user. Returns project slugs, organization slugs, and platforms for use in other Sentry tools. |
integration__sentry__sentry_get_project | sentry.sentry_get_project | Read | Get detailed information about a specific Sentry project, including its slug, platform, team assignments, and error statistics. |
integration__sentry__sentry_list_issues | sentry.sentry_list_issues | Read | List issues (errors) for a specific Sentry project. Supports filtering by status, query, sorting, and time range. Returns issue IDs, titles, counts, and severity. |
integration__sentry__sentry_get_issue | sentry.sentry_get_issue | Read | Get detailed information about a specific Sentry issue, including the error message, stacktrace, tags, event count, and affected users. |
integration__sentry__sentry_list_releases | sentry.sentry_list_releases | Read | List releases for a specific Sentry project. Returns version strings, deployment dates, authors, and commit information. |
integration__sentry__sentry_create_issue | sentry.sentry_create_issue | Write | Create a new issue (user report or crash report) in a Sentry project. Requires the error message and optional metadata like stacktrace, tags, and user context. |
integration__sentry__sentry_get_current_user | sentry.sentry_get_current_user | Read | Get the currently authenticated Sentry user. Returns user name, email, and organization memberships. Useful for verifying the connection and identifying which Sentry account is being used. |