social-media
Typefully MCP Integration for OpenAI Agents SDK
Connect Typefully to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Typefully to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Typefully MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-typefully": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=typefully",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=typefully --write=deny Why Use KosmoKrator Here
Expose only Typefully 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.
Typefully Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Typefully integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__typefully__typefully_create_draft | typefully.typefully_create_draft | Write | Create a new draft in Typefully. Supports tweets, threads, and newsletter drafts. Separate individual tweets in a thread with four newlines (\\n\\n\\n\\n). |
integration__typefully__typefully_list_scheduled | typefully.typefully_list_scheduled | Read | List scheduled drafts in Typefully that are queued for publication. Returns draft content, scheduled dates, and metadata. |
integration__typefully__typefully_list_published | typefully.typefully_list_published | Read | List published drafts in Typefully. Returns content, publication dates, engagement metrics, and metadata. |
integration__typefully__typefully_get_draft | typefully.typefully_get_draft | Read | Get details of a specific Typefully draft by its ID. Returns full content, scheduling info, and metadata. |
integration__typefully__typefully_get_current_user | typefully.typefully_get_current_user | Read | Get the authenticated Typefully user's profile information, including handle, name, and account details. |