Nocodb database integration, read and write capabilities
Unlock the power of your NocoDB database within your Large Language Model (LLM) applications with the NocoDB Model Context Protocol (MCP) Server. This robust tool provides a seamless interface for LLMs to interact with your data, enabling intelligent data retrieval, manipulation, and creation directly from your AI workflows.
Prerequisites: Ensure you have Node.js and TypeScript installed.
Installation:
npm install npm run build
Environment Configuration: Create a .env
file with your NocoDB credentials:
NOCODB_URL=https://your-nocodb-instance.com NOCODB_API_TOKEN=your_api_token_here NOCODB_BASE_ID=your_base_id_here
NOCODB_BASE_ID
: Locate it in your NocoDB instance URL: https://app.nocodb.com/#/{USERNAME}/{NOCODB_BASE_ID}/{TABLE_ID}
Enhance your Claude Desktop experience by adding the NocoDB MCP Server to your claude_desktop_config.json
:
{ "mcpServers": { "nocodb": { "command": "node", "args": ["{working_folder}/dist/start.js"], "env": { "NOCODB_URL": "https://your-nocodb-instance.com", "NOCODB_BASE_ID": "your_base_id_here", "NOCODB_API_TOKEN": "your_api_token_here" } } } }
Interact with the MCP server directly from your terminal:
npx -y nocodb-mcp-server {NOCODB_URL} {NOCODB_BASE_ID} {NOCODB_API_TOKEN}
Verify your setup with the @wong2/mcp-cli
:
npx -y @wong2/mcp-cli npx nocodb-mcp-server {NOCODB_URL} {NOCODB_BASE_ID} {NOCODB_API_TOKEN}
[Get Records]
get data from nocodb, table: Shinobi
[Create Record]
add new row, with name: sasuke-2
add other row, with name: naruto-2
[Update Record]
update all rows, remove suffix -
[Delete Record]
delete all rows with name naruto
[Add Column]
add column with name: Age
update all rows, set Age to 18
[Delete Column]
delete column with name: Age
[Create table]
from the json files
put on nocodb database
table name is TableShinobi
JSON file location: example_upload.json
/project-root
โโโ src/ # TypeScript source code
โโโ dist/ # Compiled JavaScript output
โโโ .env # Environment configuration
โโโ package.json # Project dependencies
โโโ tsconfig.json # TypeScript compiler settings
We welcome contributions! Submit pull requests or open issues to help improve the NocoDB MCP Server.
๐ โ๏ธ Biomedical research server providing access to PubMed, ClinicalTrials.gov, and MyVariant.info.
๐ MCP server that provides SQL analysis, linting, and dialect conversion using [SQLGlot](https://github.com/tobymao/sqlglot)
๐ ๐ All-in-one MCP server for Postgres development and operations, with tools for performance analysis, tuning, and health checks
Supabase MCP Server with support for SQL query execution and database exploration tools