marketing
Later MCP Integration for Vercel AI SDK
Connect Later to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Later 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.
Later MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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
Expose only Later instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Later Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Later integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |