KosmoKrator

productivity

Motion MCP Integration for Claude Agent SDK

Connect Motion to Claude Agent 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 Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Motion MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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 Claude Agent SDK

Claude Agent 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