KosmoKrator

productivity

Teamwork MCP Integration for Vercel AI SDK

Connect Teamwork to Vercel AI 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 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.

Teamwork MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI SDK 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