KosmoKrator

data

Browserbase MCP Gateway for AI Agents

Expose Browserbase tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.

Browserbase MCP Gateway

Expose Browserbase to MCP clients with `kosmokrator mcp:serve --integration=browserbase`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server.

Install KosmoKrator
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
Install gateway entry
kosmokrator mcp:gateway:install --integration=browserbase --write=deny --json
MCP configuration
{
  "mcpServers": {
    "kosmokrator-browserbase": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=browserbase",
        "--write=deny"
      ]
    }
  }
}
Serve manually
kosmokrator mcp:serve --integration=browserbase --write=deny

Client Notes

Use one scoped MCP gateway entry, then adapt the config location to the client or framework.

Claude Code Connect local KosmoKrator integrations to Claude Code through one scoped MCP gateway entry. Claude Code can launch the local kosmo binary directly from the project MCP config.
Cursor Expose selected local integrations to Cursor through KosmoKrator without configuring each service as its own MCP server. Use the same KosmoKrator install and integration credentials that power terminal and headless runs.
Codex Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy. Keep write access denied or ask-based unless the workspace is trusted.
OpenAI Agents SDK Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway. Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
Claude Agent SDK Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server. Use a narrow integration list so the agent does not load unrelated tools.
Vercel AI SDK Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts. Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
LangChain Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls. Keep the gateway scoped to the integration and operation class needed by the chain.
LangGraph Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions. Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
CrewAI Expose KosmoKrator integrations to CrewAI workers as scoped local tools. Use per-worker integration scopes to avoid giving every worker every tool.
Generic MCP Clients Connect any stdio-compatible MCP client to local KosmoKrator integration tools. Start with read-only write policy and expand only for trusted projects.

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names.

MCP toolSource functionType
integration__browserbase__browserbase_contexts_create browserbase.browserbase_contexts_create Read read
integration__browserbase__browserbase_contexts_get browserbase.browserbase_contexts_get Read read
integration__browserbase__browserbase_contexts_update browserbase.browserbase_contexts_update Read read
integration__browserbase__browserbase_contexts_delete browserbase.browserbase_contexts_delete Read read
integration__browserbase__browserbase_downloads_list browserbase.browserbase_downloads_list Read read
integration__browserbase__browserbase_downloads_get browserbase.browserbase_downloads_get Read read
integration__browserbase__browserbase_downloads_delete browserbase.browserbase_downloads_delete Read read
integration__browserbase__browserbase_extensions_upload browserbase.browserbase_extensions_upload Read read
integration__browserbase__browserbase_extensions_get browserbase.browserbase_extensions_get Read read
integration__browserbase__browserbase_extensions_delete browserbase.browserbase_extensions_delete Read read
integration__browserbase__browserbase_fetch_create browserbase.browserbase_fetch_create Read read
integration__browserbase__browserbase_functions_list browserbase.browserbase_functions_list Read read
integration__browserbase__browserbase_function_builds_list browserbase.browserbase_function_builds_list Read read
integration__browserbase__browserbase_function_builds_get browserbase.browserbase_function_builds_get Read read
integration__browserbase__browserbase_function_builds_get_logs browserbase.browserbase_function_builds_get_logs Read read
integration__browserbase__browserbase_invocations_get browserbase.browserbase_invocations_get Read read
integration__browserbase__browserbase_invocations_get_logs browserbase.browserbase_invocations_get_logs Read read
integration__browserbase__browserbase_function_versions_get browserbase.browserbase_function_versions_get Read read
integration__browserbase__browserbase_function_versions_list_invocations browserbase.browserbase_function_versions_list_invocations Read read
integration__browserbase__browserbase_functions_get browserbase.browserbase_functions_get Read read
integration__browserbase__browserbase_functions_invoke browserbase.browserbase_functions_invoke Read read
integration__browserbase__browserbase_functions_list_versions browserbase.browserbase_functions_list_versions Read read
integration__browserbase__browserbase_projects_list browserbase.browserbase_projects_list Read read
integration__browserbase__browserbase_projects_get browserbase.browserbase_projects_get Read read
integration__browserbase__browserbase_projects_usage browserbase.browserbase_projects_usage Read read
integration__browserbase__browserbase_search_web browserbase.browserbase_search_web Read read
integration__browserbase__browserbase_sessions_list browserbase.browserbase_sessions_list Read read
integration__browserbase__browserbase_sessions_create browserbase.browserbase_sessions_create Read read
integration__browserbase__browserbase_sessions_get browserbase.browserbase_sessions_get Read read
integration__browserbase__browserbase_sessions_update browserbase.browserbase_sessions_update Read read
integration__browserbase__browserbase_sessions_get_debug browserbase.browserbase_sessions_get_debug Read read
integration__browserbase__browserbase_sessions_get_logs browserbase.browserbase_sessions_get_logs Read read
integration__browserbase__browserbase_sessions_get_recording browserbase.browserbase_sessions_get_recording Read read
integration__browserbase__browserbase_sessions_upload_file browserbase.browserbase_sessions_upload_file Read read

Write Access

Start with --write=deny for read-only MCP clients. Use --write=ask or --write=allow only when the client and workspace are trusted.