productivity
Split MCP Integration for Claude Agent SDK
Connect Split to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Split to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Split MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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 Claude Agent SDK
Claude Agent 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. |