KosmoKrator

marketing

Buffer MCP Integration for LangGraph

Connect Buffer to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Manual OAuth token auth

Connect Buffer to LangGraph

Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.

Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with --write=deny so LangGraph can inspect read-capable tools without receiving write access by default.

Buffer MCP Config for LangGraph

Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Buffer Tools Visible to LangGraph

LangGraph sees stable MCP tool names generated from the Buffer integration catalog.

MCP toolSource functionTypeDescription
integration__buffer__buffer_list_profiles buffer.buffer_list_profiles Read List all social media profiles connected to the Buffer account. Returns profile IDs, service types (e.g., Twitter, Facebook, LinkedIn), and display names.
integration__buffer__buffer_get_profile buffer.buffer_get_profile Read Get details of a specific social media profile in Buffer by its ID. Returns profile service type, display name, and account metadata.
integration__buffer__buffer_list_pending_updates buffer.buffer_list_pending_updates Read List scheduled (pending) updates for a Buffer profile. Returns update IDs, text content, scheduled times, and status. Supports pagination.
integration__buffer__buffer_create_update buffer.buffer_create_update Write Create and schedule a new social media update in Buffer. Provide the text content, target profile IDs, and optionally a scheduled time or media attachments.
integration__buffer__buffer_list_sent_updates buffer.buffer_list_sent_updates Read List already posted (sent) updates for a Buffer profile. Returns update IDs, text content, sent times, and engagement metrics. Supports pagination.
integration__buffer__buffer_get_update buffer.buffer_get_update Read Get details of a specific Buffer update by its ID. Returns the update text, scheduled or sent time, social profiles, media, and delivery status.
integration__buffer__buffer_get_current_user buffer.buffer_get_current_user Read Get the currently authenticated Buffer user profile. Returns the user name, email, and account info.

Related Buffer Pages