KosmoKrator

communication

Missive MCP Integration for LangChain

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

6 functions 4 read 2 write Bearer token auth

Connect Missive to LangChain

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

Missive MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Missive Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Missive integration catalog.

MCP toolSource functionTypeDescription
integration__missive__missive_list_conversations missive.missive_list_conversations Read List conversations from Missive. Supports filtering by inbox, assignee, and state. Returns paginated results.
integration__missive__missive_get_conversation missive.missive_get_conversation Read Get a single Missive conversation by ID, including messages and metadata.
integration__missive__missive_create_comment missive.missive_create_comment Write Create a comment on a Missive conversation. Use this to add internal notes or replies.
integration__missive__missive_list_tasks missive.missive_list_tasks Read List tasks from Missive. Supports filtering by state and assignee. Returns paginated results.
integration__missive__missive_create_task missive.missive_create_task Write Create a new task in Missive. Requires a title. Optionally set description, assignee, and due date.
integration__missive__missive_get_current_user missive.missive_get_current_user Read Get the profile of the currently authenticated Missive user, including name, email, and organization info.

Related Missive Pages