KosmoKrator

other

Radar MCP Integration for Vercel AI SDK

Connect Radar to Vercel AI SDK 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Radar MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI SDK 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