developer
Svix MCP Integration for Vercel AI SDK
Connect Svix to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Svix 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.
Svix MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-svix": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=svix",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=svix --write=deny Why Use KosmoKrator Here
Expose only Svix 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.
Svix Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Svix integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__svix__svix_list_applications | svix.svix_list_applications | Read | List all Svix applications. Returns application IDs, names, and UIDs that you can use to manage endpoints and messages. |
integration__svix__svix_get_application | svix.svix_get_application | Read | Get details of a specific Svix application by its ID, including name, UID, and created timestamp. |
integration__svix__svix_create_application | svix.svix_create_application | Write | Create a new Svix application. Each application represents a webhook sender with its own set of endpoints. |
integration__svix__svix_list_messages | svix.svix_list_messages | Read | List messages for a Svix application. Returns message IDs, event types, payloads, and delivery status. |
integration__svix__svix_list_endpoints | svix.svix_list_endpoints | Read | List webhook endpoints for a Svix application. Returns endpoint IDs, URLs, and descriptions. |
integration__svix__svix_create_endpoint | svix.svix_create_endpoint | Write | Create a new webhook endpoint for a Svix application. Webhook events will be delivered to the specified URL. |
integration__svix__svix_get_current_user | svix.svix_get_current_user | Read | Get the current authenticated Svix user and dashboard usage information. |