communication
Whereby MCP Integration for Vercel AI SDK
Connect Whereby to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Whereby 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.
Whereby MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-whereby": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=whereby",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=whereby --write=deny Why Use KosmoKrator Here
Expose only Whereby 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.
Whereby Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Whereby integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__whereby__whereby_list_rooms | whereby.whereby_list_rooms | Read | List Whereby rooms with optional pagination and filtering. |
integration__whereby__whereby_get_room | whereby.whereby_get_room | Read | Get detailed information about a specific Whereby room, including meeting URL, configuration, and host details. |
integration__whereby__whereby_create_room | whereby.whereby_create_room | Write | Create a new Whereby video meeting room with optional configuration such as room mode, time limits, and participant settings. |
integration__whereby__whereby_delete_room | whereby.whereby_delete_room | Write | Delete a Whereby room by its name. This action is permanent and cannot be undone. |
integration__whereby__whereby_list_meetings | whereby.whereby_list_meetings | Read | List past Whereby meetings with optional pagination and date filtering. |
integration__whereby__whereby_get_meeting | whereby.whereby_get_meeting | Read | Get detailed information about a specific past Whereby meeting, including participants, duration, and recording status. |
integration__whereby__whereby_get_current_user | whereby.whereby_get_current_user | Read | Get the profile information of the currently authenticated Whereby user, including account details and plan information. |