NocoDB CLI Setup NocoDB can be configured headlessly with `kosmokrator integrations:configure nocodb`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure nocodb --set api_token=" $NOCODB_API_TOKEN " --set base_url=" $NOCODB_BASE_URL " --enable --read allow --write ask --json
kosmokrator integrations:doctor nocodb --json
kosmokrator integrations:status --json Credentials
Authentication type: API token api_token. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Call NocoDB Headlessly Use the generic call form when another coding CLI or script needs a stable universal interface.
kosmo integrations:call nocodb.nocodb_list_records '{
"table_id": "example_table_id",
"view_id": "example_view_id",
"limit": 1,
"offset": 1,
"where": "example_where",
"sort": "example_sort",
"fields": "example_fields"
}' --json Use the provider shortcut form for shorter human-facing commands.
kosmo integrations:nocodb nocodb_list_records '{
"table_id": "example_table_id",
"view_id": "example_view_id",
"limit": 1,
"offset": 1,
"where": "example_where",
"sort": "example_sort",
"fields": "example_fields"
}' --json Agent Discovery Commands
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs nocodb --json
kosmo integrations:docs nocodb.nocodb_list_records --json
kosmo integrations:schema nocodb.nocodb_list_records --json
kosmo integrations:search "NocoDB" --json
kosmo integrations:list --json All CLI Functions
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to NocoDB.
nocodb.nocodb_list_records Read read List records from a NocoDB table with optional filtering, sorting, and pagination.
table_id, view_id, limit, offset, where, sort, fields kosmo integrations:call nocodb.nocodb_list_records '{"table_id":"example_table_id","view_id":"example_view_id","limit":1,"offset":1,"where":"example_where","sort":"example_sort","fields":"example_fields"}' --json copy kosmo integrations:nocodb nocodb_list_records '{"table_id":"example_table_id","view_id":"example_view_id","limit":1,"offset":1,"where":"example_where","sort":"example_sort","fields":"example_fields"}' --json copy
nocodb.nocodb_get_record Read read Get a single NocoDB record by ID.
table_id, record_id, fields kosmo integrations:call nocodb.nocodb_get_record '{"table_id":"example_table_id","record_id":"example_record_id","fields":"example_fields"}' --json copy kosmo integrations:nocodb nocodb_get_record '{"table_id":"example_table_id","record_id":"example_record_id","fields":"example_fields"}' --json copy
nocodb.nocodb_create_record Write write Create a new record in a NocoDB table.
table_id, data kosmo integrations:call nocodb.nocodb_create_record '{"table_id":"example_table_id","data":"example_data"}' --json copy kosmo integrations:nocodb nocodb_create_record '{"table_id":"example_table_id","data":"example_data"}' --json copy
nocodb.nocodb_update_record Write write Update an existing NocoDB record.
table_id, record_id, data kosmo integrations:call nocodb.nocodb_update_record '{"table_id":"example_table_id","record_id":"example_record_id","data":"example_data"}' --json copy kosmo integrations:nocodb nocodb_update_record '{"table_id":"example_table_id","record_id":"example_record_id","data":"example_data"}' --json copy
nocodb.nocodb_delete_record Write write Delete a record from a NocoDB table.
table_id, record_id kosmo integrations:call nocodb.nocodb_delete_record '{"table_id":"example_table_id","record_id":"example_record_id"}' --json copy kosmo integrations:nocodb nocodb_delete_record '{"table_id":"example_table_id","record_id":"example_record_id"}' --json copy
nocodb.nocodb_batch_create Write write Create multiple records in a single NocoDB API request.
table_id, records kosmo integrations:call nocodb.nocodb_batch_create '{"table_id":"example_table_id","records":"example_records"}' --json copy kosmo integrations:nocodb nocodb_batch_create '{"table_id":"example_table_id","records":"example_records"}' --json copy
nocodb.nocodb_batch_update Write write Update multiple records in a single NocoDB API request.
table_id, records kosmo integrations:call nocodb.nocodb_batch_update '{"table_id":"example_table_id","records":"example_records"}' --json copy kosmo integrations:nocodb nocodb_batch_update '{"table_id":"example_table_id","records":"example_records"}' --json copy
nocodb.nocodb_batch_delete Write write Delete multiple records in a single NocoDB API request.
table_id, record_ids kosmo integrations:call nocodb.nocodb_batch_delete '{"table_id":"example_table_id","record_ids":"example_record_ids"}' --json copy kosmo integrations:nocodb nocodb_batch_delete '{"table_id":"example_table_id","record_ids":"example_record_ids"}' --json copy
nocodb.nocodb_list_bases Read read List all NocoDB bases the token has access to.
none kosmo integrations:call nocodb.nocodb_list_bases '{}' --json copy kosmo integrations:nocodb nocodb_list_bases '{}' --json copy
nocodb.nocodb_get_base Read read Get details of a single NocoDB base.
base_id kosmo integrations:call nocodb.nocodb_get_base '{"base_id":"example_base_id"}' --json copy kosmo integrations:nocodb nocodb_get_base '{"base_id":"example_base_id"}' --json copy
nocodb.nocodb_list_tables Read read List all tables in a NocoDB base.
base_id kosmo integrations:call nocodb.nocodb_list_tables '{"base_id":"example_base_id"}' --json copy kosmo integrations:nocodb nocodb_list_tables '{"base_id":"example_base_id"}' --json copy
nocodb.nocodb_get_table Read read Get details of a single NocoDB table.
table_id kosmo integrations:call nocodb.nocodb_get_table '{"table_id":"example_table_id"}' --json copy kosmo integrations:nocodb nocodb_get_table '{"table_id":"example_table_id"}' --json copy
nocodb.nocodb_create_table Write write Create a new table in a NocoDB base.
base_id, table_name, columns kosmo integrations:call nocodb.nocodb_create_table '{"base_id":"example_base_id","table_name":"example_table_name","columns":"example_columns"}' --json copy kosmo integrations:nocodb nocodb_create_table '{"base_id":"example_base_id","table_name":"example_table_name","columns":"example_columns"}' --json copy
nocodb.nocodb_list_views Read read List views for a NocoDB table.
table_id kosmo integrations:call nocodb.nocodb_list_views '{"table_id":"example_table_id"}' --json copy kosmo integrations:nocodb nocodb_list_views '{"table_id":"example_table_id"}' --json copy
nocodb.nocodb_count_records Read read Count records in a NocoDB table with optional filtering.
table_id, where kosmo integrations:call nocodb.nocodb_count_records '{"table_id":"example_table_id","where":"example_where"}' --json copy kosmo integrations:nocodb nocodb_count_records '{"table_id":"example_table_id","where":"example_where"}' --json copy Function Schemas Use these parameter tables when building CLI payloads without calling integrations:schema first.
Operation Read read
Schema command kosmo integrations:schema nocodb.nocodb_list_records --json
Operation Read read
Schema command kosmo integrations:schema nocodb.nocodb_get_record --json
Operation Write write
Schema command kosmo integrations:schema nocodb.nocodb_create_record --json
Operation Write write
Schema command kosmo integrations:schema nocodb.nocodb_update_record --json
Operation Write write
Schema command kosmo integrations:schema nocodb.nocodb_delete_record --json
Operation Write write
Schema command kosmo integrations:schema nocodb.nocodb_batch_create --json
Operation Write write
Schema command kosmo integrations:schema nocodb.nocodb_batch_update --json
Operation Write write
Schema command kosmo integrations:schema nocodb.nocodb_batch_delete --json
Operation Read read
Schema command kosmo integrations:schema nocodb.nocodb_list_bases --json
Operation Read read
Schema command kosmo integrations:schema nocodb.nocodb_get_base --json
Operation Read read
Schema command kosmo integrations:schema nocodb.nocodb_list_tables --json
Operation Read read
Schema command kosmo integrations:schema nocodb.nocodb_get_table --json
Operation Write write
Schema command kosmo integrations:schema nocodb.nocodb_create_table --json
Operation Read read
Schema command kosmo integrations:schema nocodb.nocodb_list_views --json
Operation Read read
Schema command kosmo integrations:schema nocodb.nocodb_count_records --json Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.