KosmoKrator

productivity

AddEvent MCP Integration for LangChain

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

7 functions 6 read 1 write Bearer token auth

Connect AddEvent 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.

AddEvent MCP Config for LangChain

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

AddEvent Tools Visible to LangChain

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

MCP toolSource functionTypeDescription
integration__addevent__addevent_list_events addevent.addevent_list_events Read List calendar events from AddEvent. Supports pagination with limit and page parameters, and optional filtering by category ID.
integration__addevent__addevent_get_event addevent.addevent_get_event Read Get details for a specific AddEvent calendar event by ID.
integration__addevent__addevent_create_event addevent.addevent_create_event Write Create a new calendar event in AddEvent. Requires a title, start date, and end date. Optionally add a location, description, and category.
integration__addevent__addevent_list_categories addevent.addevent_list_categories Read List all event categories in AddEvent. Use category IDs to organize and filter events.
integration__addevent__addevent_list_groups addevent.addevent_list_groups Read List event groups from AddEvent. Groups are collections of related events. Supports pagination with limit and page parameters.
integration__addevent__addevent_get_group addevent.addevent_get_group Read Get details for a specific AddEvent event group by ID.
integration__addevent__addevent_get_current_user addevent.addevent_get_current_user Read Get the profile of the currently authenticated AddEvent user. Useful for verifying credentials and displaying account information.

Related AddEvent Pages