productivity
Split MCP Integration for Vercel AI SDK
Connect Split to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Split 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.
Split MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-split": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=split",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=split --write=deny Why Use KosmoKrator Here
Expose only Split 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.
Split Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Split integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__split__split_list_splits | split.split_list_splits | Read | List feature splits in a Split workspace. Returns split names, descriptions, traffic type, and creation date. |
integration__split__split_get_split | split.split_get_split | Read | Get detailed information about a specific Split feature split, including its definition and traffic allocation. |
integration__split__split_create_split | split.split_create_split | Write | Create a new feature split in a Split workspace. Specify a name, traffic type, and optional description. |
integration__split__split_list_environments | split.split_list_environments | Read | List all environments for a Split workspace. Returns environment IDs, names, and their status. |
integration__split__split_get_environment | split.split_get_environment | Read | Get detailed information about a specific Split environment, including its name, type, and status. |
integration__split__split_list_workspaces | split.split_list_workspaces | Read | List all Split workspaces. Returns workspace IDs, names, and the number of environments. |
integration__split__split_get_current_user | split.split_get_current_user | Read | Get information about the currently authenticated Split user. Useful for verifying API credentials. |