KosmoKrator

productivity

Teamwork MCP Integration for OpenAI Agents SDK

Connect Teamwork to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API token auth

Connect Teamwork to OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

Teamwork MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "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

Scoped tools

Expose only Teamwork instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Teamwork Tools Visible to OpenAI Agents

OpenAI Agents sees stable MCP tool names generated from the Teamwork integration catalog.

MCP toolSource functionTypeDescription
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.

Related Teamwork Pages