KosmoKrator

messaging

LINE Messaging MCP Gateway for AI Agents

Expose LINE Messaging tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.

5 functions 3 read 2 write Bearer token auth

LINE Messaging MCP Gateway

Expose LINE Messaging to MCP clients with `kosmokrator mcp:serve --integration=line`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.

curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
kosmokrator mcp:gateway:install --integration=line --write=deny --json
{
  "mcpServers": {
    "kosmokrator-line": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=line",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__line__line_send_message line.line_send_message Write write
integration__line__line_broadcast_message line.line_broadcast_message Write write
integration__line__line_get_profile line.line_get_profile Read read
integration__line__line_list_friends line.line_list_friends Read read
integration__line__line_get_current_user line.line_get_current_user Read read

Write Access

Start with --write=deny for read-only MCP clients. Use --write=ask or --write=allow only when the client and workspace are trusted.