KosmoKrator

productivity

Grist MCP, CLI, and Lua Integration for AI Agents

Grist integration docs for AI agents: MCP gateway setup, Grist CLI commands, Lua API reference, credentials, and function schemas.

Grist for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
grist.grist_list_workspaces Read read 1 List all workspaces in a Grist organization.
grist.grist_get_workspace Read read 1 Get details for a single Grist workspace, including its documents.
grist.grist_list_docs Read read 1 List all documents in a Grist organization.
grist.grist_get_doc Read read 1 Get details for a single Grist document by ID.
grist.grist_list_tables Read read 1 List all tables in a Grist document.
grist.grist_get_table Read read 2 Get a single table from a Grist document.
grist.grist_list_records Read read 5 List records from a Grist table with optional filtering, sorting, and limiting.
grist.grist_get_record Read read 2 Get full column data for a Grist table (raw cell values per column).
grist.grist_create_records Write write 3 Create one or more records in a Grist table.
grist.grist_update_records Write write 3 Update one or more existing records in a Grist table.
grist.grist_delete_records Write write 3 Delete records from a Grist table by row IDs.
grist.grist_create_column Write write 6 Create a new column in a Grist table.
grist.grist_list_columns Read read 2 List all columns in a Grist table.