KosmoKrator

data

Google Data Manager MCP Integration for LangChain

Connect Google Data Manager to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

6 functions 2 read 4 write oauth2 auth

Connect Google Data Manager 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.

Google Data Manager MCP Config for LangChain

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

Expose only Google Data Manager 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.

Google Data Manager Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Google Data Manager integration catalog.

MCP toolSource functionTypeDescription
integration__google_data_manager__google_data_manager_diagnostics google_data_manager.google_data_manager_diagnostics Read Show safe configuration diagnostics.
integration__google_data_manager__google_data_manager_ingest_events google_data_manager.google_data_manager_ingest_events Write Upload conversion event resources to destinations.
integration__google_data_manager__google_data_manager_ingest_audience_members google_data_manager.google_data_manager_ingest_audience_members Write Upload audience member resources to destinations.
integration__google_data_manager__google_data_manager_remove_audience_members google_data_manager.google_data_manager_remove_audience_members Write Remove audience members from destinations.
integration__google_data_manager__google_data_manager_retrieve_request_status google_data_manager.google_data_manager_retrieve_request_status Read Poll request processing status by request ID.
integration__google_data_manager__google_data_manager_raw_request google_data_manager.google_data_manager_raw_request Write Low-level Data Manager API request for new endpoints.

Related Google Data Manager Pages