KosmoKrator

marketing

Later MCP Integration for Claude Agent SDK

Connect Later to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Manual OAuth token auth

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

Later MCP Config for Claude Agent SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Later Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Later integration catalog.

MCP toolSource functionTypeDescription
integration__later__later_list_profiles later.later_list_profiles Read List all social media profiles connected to the Later account. Returns profile IDs, platform types, and display names.
integration__later__later_get_profile later.later_get_profile Read Get details of a specific social media profile in Later by its ID. Returns profile platform type, display name, and account metadata.
integration__later__later_list_posts later.later_list_posts Read List scheduled and published posts in Later. Optionally filter by profile ID, status (scheduled, published, draft), and paginate results.
integration__later__later_create_post later.later_create_post Write Create and schedule a new social media post in Later. Provide the caption text, target profile IDs, and optionally a scheduled time or media URL.
integration__later__later_list_media later.later_list_media Read List media items in the Later media library. Returns media IDs, URLs, types, and metadata. Optionally filter by media type.
integration__later__later_get_media later.later_get_media Read Get details of a specific media item in Later by its ID. Returns the media URL, type, dimensions, and metadata.
integration__later__later_get_current_user later.later_get_current_user Read Get the currently authenticated Later user profile. Returns the user name, email, and account info.

Related Later Pages