productivity
Teamwork MCP Integration for LangGraph
Connect Teamwork to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Teamwork 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.
Teamwork MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"mcpServers": {
"kosmokrator-teamwork": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=teamwork",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=teamwork --write=deny Why Use KosmoKrator Here
Expose only Teamwork 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.
Teamwork Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the Teamwork integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__teamwork__teamwork_create_task | teamwork.teamwork_create_task | Write | Create a new task in Teamwork. |
integration__teamwork__teamwork_get_current_user | teamwork.teamwork_get_current_user | Read | Get the currently authenticated Teamwork user. |
integration__teamwork__teamwork_get_project | teamwork.teamwork_get_project | Read | Get detailed information about a Teamwork project. |
integration__teamwork__teamwork_get_task | teamwork.teamwork_get_task | Read | Get detailed information about a Teamwork task. |
integration__teamwork__teamwork_list_projects | teamwork.teamwork_list_projects | Read | List projects in Teamwork with optional filters. |
integration__teamwork__teamwork_list_tasks | teamwork.teamwork_list_tasks | Read | List tasks in Teamwork with optional filters. |
integration__teamwork__teamwork_list_timers | teamwork.teamwork_list_timers | Read | List time timers for the authenticated user in Teamwork. |