Views with NocoDB MCP
An MCP client can create and configure the views of your NocoDB tables, with their filters, sorts, share links, form field conditions, folders and row colors.
These 33 tools are in the Views section of Tools & Permissions. A tool needs the access level in its row: Read, Read & write, or Read, write & delete.
How the assistant works with views
Create and configure views. Replace their filters. Manage sorts.
Manage record color conditions and rules.
Read, set, and remove the rule that links a start field, an end field, and a link field. With this rule, when you move one record, the records that depend on it move too.
Manage project, view, and workflow folders. List shared views.
Tools
Views
| Tool | What it does | Access level |
|---|---|---|
listViews | List views of a table. | Read |
getView | Get a single view by ID. | Read |
createView | Create a new view on a table. | Read & write |
updateView | Update an existing view. | Read & write |
deleteView | Delete a view from a table. | Read, write & delete |
Filters
| Tool | What it does | Access level |
|---|---|---|
listFilters | List filters of a view. | Read |
createFilter | Create a filter (or filter group) on a view. | Read & write |
updateFilter | Update a single filter on a view. | Read & write |
replaceFilters | Replace the entire filter set of a view with the provided filter group. | Read & write |
deleteFilter | Delete a filter from a view. | Read, write & delete |
Sorts
| Tool | What it does | Access level |
|---|---|---|
listSorts | List sorts of a view. | Read |
addSort | Add a sort to a view. | Read & write |
updateSort | Update an existing sort on a view. | Read & write |
deleteSort | Delete a sort from a view. | Read, write & delete |
Shared views
| Tool | What it does | Access level |
|---|---|---|
listSharedViews | List the views of a table that currently have a public share link. | Read |
shareView | Create a public share link for a view, or reconfigure the existing one. | Read & write |
unshareView | Revoke a view public share link. | Read, write & delete |
Form field conditions
Needs form field conditions on your plan. Without it, these tools are not offered.
| Tool | What it does | Access level |
|---|---|---|
getFormFieldConditions | Read the "show on conditions" rules of a form view: the conditions under which each field is displayed. | Read |
setFormFieldConditions | Replace the "show on conditions" of one form field, so it only renders when the given conditions hold. | Read & write |
View folders
Needs view folders on your plan. Without it, these tools are not offered.
| Tool | What it does | Access level |
|---|---|---|
listViewFolders | List the view folders of a table along with the views inside each. | Read |
moveViewToFolder | Move a view into a view folder, or back to the top level with folderId: null. | Read & write |
createViewFolder | Create a view folder in a table. | Read & write |
updateViewFolder | Rename a view folder or change its order. | Read & write |
deleteViewFolder | Delete a view folder. | Read, write & delete |
Row coloring
Needs row coloring on your plan. Without it, these tools are not offered.
| Tool | What it does | Access level |
|---|---|---|
getRowColoring | The row-colour setup of a view. | Read |
setRowColorBySelect | Colour every row by one SingleSelect field, using the colours its options already carry. | Read & write |
addRowColorCondition | Add a colour rule to a view. | Read & write |
updateRowColorCondition | Change an existing colour rule's colour, order or cell target. | Read & write |
deleteRowColorCondition | Remove one colour rule. | Read, write & delete |
clearRowColoring | Turn row colouring off for a view, dropping every condition. | Read, write & delete |
Date dependencies
| Tool | What it does | Access level |
|---|---|---|
getDateDependency | Read the date dependency rule of a table, or of one Gantt view. | Read |
setDateDependency | Create or update a table's date dependency rule. | Read & write |
deleteDateDependency | Delete a table's date dependency rule, or one Gantt view's. | Read, write & delete |
Related
Last updated on