KosmoKrator

productivity

Motion MCP Integration for Vercel AI SDK

Connect Motion to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Bearer token auth

Connect Motion 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.

Motion MCP Config for Vercel AI SDK

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

{
  "mcpServers": {
    "kosmokrator-motion": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=motion",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=motion --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Motion 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.

Motion Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Motion integration catalog.

MCP toolSource functionTypeDescription
integration__motion__motion_list_tasks motion.motion_list_tasks Read List tasks from Motion with optional filters. Filter by status, project, or assignee. Supports cursor-based pagination.
integration__motion__motion_get_task motion.motion_get_task Read Get details of a specific task in Motion by its ID. Returns the task name, description, status, assignee, due date, priority, and project.
integration__motion__motion_create_task motion.motion_create_task Write Create a new task in Motion. Requires a task name. Optionally specify a project, assignee, due date, priority, and description. Motion will auto-schedule the task based on priorities and deadlines.
integration__motion__motion_list_projects motion.motion_list_projects Read List all projects in Motion. Returns project IDs, names, and other metadata. Use project IDs to filter tasks or create tasks in specific projects.
integration__motion__motion_get_project motion.motion_get_project Read Get details of a specific project in Motion by its ID. Returns the project name, description, status, and other metadata.
integration__motion__motion_list_schedules motion.motion_list_schedules Read List schedules from Motion within a date range. Returns scheduled tasks and events for the authenticated user.
integration__motion__motion_get_current_user motion.motion_get_current_user Read Get the profile of the currently authenticated Motion user. Returns user ID, name, email, and other account details.

Related Motion Pages