productivity
Split MCP Integration for LangGraph
Connect Split to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Split to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
Split MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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 LangGraph
LangGraph 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. |