KosmoKrator

other

Attio MCP Integration for LangGraph

Connect Attio to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Bearer token auth

Connect Attio to LangGraph

Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.

Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with --write=deny so LangGraph can inspect read-capable tools without receiving write access by default.

Attio MCP Config for LangGraph

Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Attio Tools Visible to LangGraph

LangGraph sees stable MCP tool names generated from the Attio integration catalog.

MCP toolSource functionTypeDescription
integration__attio__attio_list_records attio.attio_list_records Read List records for an object type in Attio (e.g. people, companies, deals). Supports filtering, sorting, and pagination via a POST query endpoint. Use filters to narrow results by attribute values and sorts to control ordering.
integration__attio__attio_get_record attio.attio_get_record Read Get a single record from Attio by its object type and record ID. Returns full record details including all attribute values.
integration__attio__attio_create_record attio.attio_create_record Write Create a new record in Attio for a given object type. Pass attribute values keyed by their attribute slug in the data parameter.
integration__attio__attio_list_objects attio.attio_list_objects Read List all object types defined in the Attio workspace (e.g. people, companies, deals, custom objects). Useful for discovering available objects before querying records.
integration__attio__attio_get_object attio.attio_get_object Read Get details for a specific object type in Attio, including its attributes and their types. Useful for understanding what fields are available before creating or updating records.
integration__attio__attio_list_workspaces attio.attio_list_workspaces Read List all Attio workspaces accessible to the authenticated user. Returns workspace IDs and names useful for understanding the context of the current integration.
integration__attio__attio_get_current_user attio.attio_get_current_user Read Get the currently authenticated Attio user profile. Useful for verifying API connectivity and identifying which workspace the integration is connected to.

Related Attio Pages