other
Attio MCP Integration for LangChain
Connect Attio to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Attio 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.
Attio MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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
Expose only Attio 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.
Attio Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Attio integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |