NocoDB MCP connector
OAuth 2.1/DCR DatabasesProductivityCollaborationConnect to NocoDB MCP. Create and manage databases, tables, records, views, and fields from your AI workflows.
NocoDB MCP connector
-
Install the SDK
Section titled “Install the SDK”Terminal window npm install @scalekit-sdk/nodeTerminal window pip install scalekit -
Set your credentials
Section titled “Set your credentials”Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret> -
Authorize and make your first call
Section titled “Authorize and make your first call”quickstart.ts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENV_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'nocodbmcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize NocoDB MCP:', link)process.stdout.write('Press Enter after authorizing...')await new Promise(r => process.stdin.once('data', r))// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'nocodbmcp_getbaseinfo',toolInput: {},})console.log(result)quickstart.py import osfrom scalekit.client import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENV_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "nocodbmcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize NocoDB MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="nocodbmcp_getbaseinfo",connection_name=connection_name,identifier=identifier,)print(result)
What you can do
Section titled “What you can do”Connect this agent connector to let your agent:
- Updaterecords records — Update records in a table
- Readattachment records — Read attachments in a record
- Queryrecords records — Query Records from a Table
- Gettableslist records — List tables accessible by user
- Gettableschema records — Get the table schema including fields and views information
- Getrecord records — Fetch a record by ID
Tool list
Section titled “Tool list”Use the exact tool names from the Tool list below when you call execute_tool. If you’re not sure which name to use, list the tools available for the current user first.
nocodbmcp_aggregate
#
Perform aggregations (sum, count, avg, etc.) on table data with filtering and grouping 4 params
Perform aggregations (sum, count, avg, etc.) on table data with filtering and grouping
aggregations array required List of aggregation operations to perform on the table fields. filterGroups array required List of filter groups; each group produces a separate set of aggregation results. tableId string required The unique ID of the NocoDB table to aggregate data from. viewId string optional Optional view ID to scope the aggregation to a specific view's configuration. nocodbmcp_countrecords
#
Count Records in a Table 2 params
Count Records in a Table
tableId string required The unique ID of the NocoDB table to count records in. where string optional Filter expression to limit which records are counted. Uses NocoDB query syntax: (field,operator,value). Combine conditions with ~and / ~or. nocodbmcp_createrecords
#
Create records in a table 2 params
Create records in a table
records array required List of records to create. Each record is an object with a 'fields' key containing field name-value pairs. tableId string required The unique ID of the NocoDB table to insert records into. nocodbmcp_deleterecords
#
Delete records in a table 2 params
Delete records in a table
records array required List of records to delete. Each entry must include the record ID. tableId string required The unique ID of the NocoDB table to delete records from. nocodbmcp_getbaseinfo
#
Fetch information about current base 0 params
Fetch information about current base
nocodbmcp_getrecord
#
Fetch a record by ID 3 params
Fetch a record by ID
recordId string required The ID or primary key value of the record to fetch. tableId string required The unique ID of the NocoDB table containing the record. fields string optional Comma-separated list of field names to include in the response. Leave blank to return all fields. nocodbmcp_gettableschema
#
Get the table schema including fields and views information 1 param
Get the table schema including fields and views information
tableId string required The unique ID of the NocoDB table to retrieve the schema for. nocodbmcp_gettableslist
#
List tables accessible by user 0 params
List tables accessible by user
nocodbmcp_queryrecords
#
Query Records from a Table 6 params
Query Records from a Table
tableId string required The unique ID of the NocoDB table to query records from. fields array optional List of field names to include in the response. Returns all fields when omitted. page number optional Page number for pagination. Starts at 1. pageSize number optional Number of records to return per page. Default is 50. sort array optional List of sort options. Each entry specifies a field name and sort direction. where string optional Filter expression using NocoDB query syntax: (field,operator,value). Combine with ~and / ~or. nocodbmcp_readattachment
#
Read attachments in a record 1 param
Read attachments in a record
files array required List of attachment objects from NocoDB. Each attachment must include title, mimeType, size, and either a URL or a path. nocodbmcp_updaterecords
#
Update records in a table 2 params
Update records in a table
records array required List of records to update. Each entry must include the record ID and a 'fields' object with the updated values. tableId string required The unique ID of the NocoDB table to update records in.