productivity
Bugsnag MCP Integration for Vercel AI SDK
Connect Bugsnag to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Bugsnag 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.
Bugsnag MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-bugsnag": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=bugsnag",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=bugsnag --write=deny Why Use KosmoKrator Here
Expose only Bugsnag 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.
Bugsnag Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Bugsnag integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__bugsnag__bugsnag_list_projects | bugsnag.bugsnag_list_projects | Read | List Bugsnag projects visible to the authenticated user. Returns project names and IDs that can be used with other tools. |
integration__bugsnag__bugsnag_get_project | bugsnag.bugsnag_get_project | Read | Get details for a single Bugsnag project, including its name, API key, type, and error counts. |
integration__bugsnag__bugsnag_list_errors | bugsnag.bugsnag_list_errors | Read | List errors for a Bugsnag project. Supports filtering by severity and status, and sorting by various fields. |
integration__bugsnag__bugsnag_get_error | bugsnag.bugsnag_get_error | Read | Get details for a specific Bugsnag error, including its message, severity, context, and stack trace. |
integration__bugsnag__bugsnag_list_events | bugsnag.bugsnag_list_events | Read | List events (individual error occurrences) for a Bugsnag project. Optionally filter by a specific error. |
integration__bugsnag__bugsnag_list_collaborators | bugsnag.bugsnag_list_collaborators | Read | List collaborators (team members) for a Bugsnag organization. |
integration__bugsnag__bugsnag_get_current_user | bugsnag.bugsnag_get_current_user | Read | Get the currently authenticated Bugsnag user, including name, email, and associated organizations. |