Productivity & Projects · Databases & Storage

NocoDB MCP

Manage NocoDB bases, tables, fields, views, records, automations, interfaces, documents and agents through NocoDB's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Aggregate

    Perform aggregations (sum, count, avg, etc.) on table data, optionally split across filter groups (each `filterGroups` entry produces its own result, keyed by its alias). Omit `filterGroups` to aggregate the whole table (or view) once, keyed "all". This does not group-by a field. Each `field` may be a field id or its exact title. Result keys are field titles: one aggregation on a field keys by the bare title ("Amount"), two or more on the same field key as "<title>__<type>" ("Amount__sum") so they do not collide; a repeated field+type pair is computed once. Read a value as result[title] ?? result[`${title}__${type}`].

  • Build interface page config from view

    Build a page config seeded from an existing table view — returns a complete `config` to pass to createInterfacePage or updateInterfacePage. Keys the view cannot supply are defaulted (a kanban's stacking field, a calendar/timeline/gantt date anchor: the first eligible column, or blank when the table has none) — check them before you save. Writes nothing.

  • Count records

    Count Records in a Table

  • Export csv

    Export a table or view as CSV text, with the field order, visibility, filters and sorts of the view. Decimal and Currency carry their stored value, not the field display precision. Returns the CSV inline, so it is capped — narrow the export with a filtered view rather than raising the cap.

  • Export excel

    Export a table or view as an .xlsx workbook and return a download link. The file is written to storage and the link is signed for 3 hours — the bytes are not returned, so this is for handing a spreadsheet to a person, not for reading the data. Use `exportCsv` to read rows, or `queryRecords` to work with them. Capped at `maxRows`, like exportCsv; `truncated` says whether the view held more. For a full export, use a filtered view or the UI.

  • Generate skill guide

    Return a bundle of skill files describing this MCP surface as this credential actually sees it, to write under `.claude/skills/nocodb-mcp`; `SKILL.md` is the entry point. Carries what tool schemas structurally cannot: which tool answers which goal, the invariants that make a call succeed silently without doing anything, the read-back that proves a write landed, and what each error string really means. Call it once at the start of a session, or with `sections: ["scope"]` to refresh just the reachable workspaces and bases.

  • Get agent

    Get an agent by ID: instructions, tools, triggers, delivery and, for a coding agent, its code settings

  • Get agent session

    Where an agent session's turn stands, for chat and coding agents alike. `turn` is idle, running, waiting (a chat turn parked on a person's approval: `pending_tools` names the tools and `url` opens the session, where they approve) or failed (`error` says why). A coding session also has its repo. A chat agent's triggered runs are visible to Creator and above only, a personal agent's to its owner only. Poll getAgentSession until `turn` is not `running`, then read the reply with listAgentMessages.

  • Get app url

    Where a resource lives in the NocoDB web app — the link to hand a person. Returns `url`, or `url_path` alone when the server does not know its public origin; an interface also gets the builder as `edit_url`. Pass `kind` plus the ids it needs: table (tableId), view (tableId, viewId), workflow (workflowId), interface (interfaceId, optional pageId), dashboard (dashboardId), script (scriptId), document (documentId), base (no ids), record (tableId, recordId, optional viewId — opens the record expanded).

  • Get base

    Fetch one base by id, including its sources. Use it to confirm a base exists and is reachable before working inside it.

  • Get base info

    Fetch information about current base

  • Get base schema

    Every table in the base with its fields and views, in one call — the orientation read, in place of one getTableSchema per table. Field options (select choices, relation targets, formulas) are included. Per-view field visibility, filters and sorts are not — read those from the view. Members are not listed; listBaseMembers reports them with the roles enforcement actually resolves. On a large base the result can be too big to read: pass tableIds to limit it to some tables.

  • Get coding session diff

    Everything a coding session changed, as one unified patch, with its branch and commits. Wakes the machine if it is asleep. Cut at file boundaries to about 100000 characters: `omitted_files` names the files left out (the first 200; `omitted_count` counts them all); narrow it with `scope`.

  • Get dashboard

    Get a dashboard by ID, optionally including its widgets

  • Get dashboard data

    Get the computed data for all widgets of a dashboard

  • Get date dependency

    Read the date dependency rule of a table, or of one Gantt view. Returns null when no rule is configured. A rule links a start field, an end field and a link field so moving one record shifts the records that depend on it.

  • Get document

    Get a document page with its content as Markdown. `version` in the response is what updateDocument needs. `content_warnings` names any content the Markdown does not represent — it is still in the page, but writing this Markdown back would drop it.

  • Get execution

    Get one run of an automation, including its node results. A run that failed before any step ran has no failing node result; its reason is in `execution_data.errorMessage`.

  • Get field

    Get a single field (column) by ID. A link field adds `options.record_selection_filter`: the conditions limiting which records can be linked. `dynamic: true` compares against field `value_field_id` of the current record; `available: false` comes with a `reason`.

  • Get field options schema

    Get the exact JSON Schema for a field `options` of the given type — the shape createField, updateField and createTable validate against. Read this before authoring options by hand: `options` is not modelled in those tools, and an unknown key is rejected for every type that takes options.

Page 1 / 5Next