KosmoKrator

other

Radar MCP Integration for LangChain

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

Radar MCP Config for LangChain

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Radar Tools Visible to LangChain

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

MCP toolSource functionTypeDescription
integration__radar__radar_list_geofences radar.radar_list_geofences Read List geofences from Radar with optional filters for tag, group, and pagination.
integration__radar__radar_get_geofence radar.radar_get_geofence Read Retrieve detailed information about a specific geofence by its ID.
integration__radar__radar_create_geofence radar.radar_create_geofence Write Create a new geofence in Radar with a name, type, and geometry.
integration__radar__radar_list_users radar.radar_list_users Read List users from Radar with optional filters for tags and pagination.
integration__radar__radar_get_user radar.radar_get_user Read Retrieve detailed information about a specific Radar user by their ID.
integration__radar__radar_list_events radar.radar_list_events Read List events from Radar with optional filters for type, user, and pagination.
integration__radar__radar_get_current_user radar.radar_get_current_user Read Get the currently authenticated Radar user's account information.

Related Radar Pages