KosmoKrator

automation

Airtop MCP Integration for Vercel AI SDK

Connect Airtop to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

8 functions 5 read 3 write API key auth

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

Airtop MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Airtop Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Airtop integration catalog.

MCP toolSource functionTypeDescription
integration__airtop__airtop_create_session airtop.airtop_create_session Write Create a new cloud browser session in Airtop. A session is a container for one or more browser windows. Returns the session ID needed to create windows and interact with pages.
integration__airtop__airtop_get_session airtop.airtop_get_session Read Get details of an existing Airtop browser session, including its status and associated windows.
integration__airtop__airtop_create_window airtop.airtop_create_window Write Open a new browser window within an existing Airtop session. Optionally specify a starting URL to navigate to immediately.
integration__airtop__airtop_get_window airtop.airtop_get_window Read Get details of a browser window in an Airtop session, including its current URL and status.
integration__airtop__airtop_navigate airtop.airtop_navigate Write Navigate a browser window to a specified URL in an Airtop session. Waits for the page to load before returning.
integration__airtop__airtop_get_page_content airtop.airtop_get_page_content Read Extract the content of the currently loaded page in an Airtop browser window. Returns the page text content, which can be used for analysis, summarization, or data extraction.
integration__airtop__airtop_list_sessions airtop.airtop_list_sessions Read List all active browser sessions in Airtop. Returns session IDs and their current status.
integration__airtop__airtop_get_current_user airtop.airtop_get_current_user Read Get the profile of the currently authenticated Airtop user. Useful for verifying API credentials and checking account details.

Related Airtop Pages