automation
Airtop MCP Integration for LangChain
Connect Airtop to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Airtop 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.
Airtop MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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
Expose only Airtop instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Airtop Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Airtop integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |