https://github.com/edwinbernadus/nocodb-mcp-server
nocodb mcp server
https://github.com/edwinbernadus/nocodb-mcp-server
Last synced: 6 days ago
JSON representation
nocodb mcp server
- Host: GitHub
- URL: https://github.com/edwinbernadus/nocodb-mcp-server
- Owner: edwinbernadus
- Created: 2025-04-03T16:04:04.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-04-09T08:13:00.000Z (3 months ago)
- Last Synced: 2025-04-13T20:56:10.911Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 193 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mcp-servers - nocodb-mcp-server - MCP server for Nocodb database integration, enabling read and write capabilities through MCP protocol. ([Read more](/details/nocodb-mcp-server.md)) `mcp` `nocodb` `database` `integration` (Database & Messaging MCP Servers)
- awesome-mcp-servers - NocoDB - Manage NocoDB server, support read and write databases (Community Servers)
- awesome-mcp-servers - NocoDB - Read and write access to NocoDB database. (🗄️ <a name="databases"></a>Databases)
- awesome-mcp-zh - edwinbernadus/nocodb-mcp-server
- awesome-mcp - edwinbernadus/nocodb-mcp-server - MCP Server for NocoDB database. Read and write capabilities (MCP Servers / 🗄️ Databases)
- mcp-index - Nocodb MCP Server - Seamlessly interact with a Nocodb database to perform CRUD operations on its tables using the Model Context Protocol. Manage data efficiently with functionalities for adding, updating, deleting, and retrieving records. (Databases)
README
[](https://mseep.ai/app/edwinbernadus-nocodb-mcp-server)
# NocoDB MCP Server
[](https://smithery.ai/server/@edwinbernadus/nocodb-mcp-server)
## Introduction
The NocoDB MCP Server enables seamless interaction with your NocoDB database using the Model Context Protocol (MCP). This server makes it easy to perform CRUD (Create, Read, Update, Delete) operations on NocoDB tables through natural language commands.
## Example Prompt
```text
[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: Ageupdate all rows, set Age to 18
[Delete Column]
delete column with name: Age
```## Example Prompt - Upload File
```text
[Create table]
from the json files
put on nocodb database
table name is TableShinobi
```
JSON location file in: [example_upload.json](example_upload.json)## Example Prompt - Bulk Create Records and Bulk Delete Records


## About This Fork
This repository is a TypeScript-based fork of [NocoDB-MCP-Server](https://github.com/granthooks/Nocodb-MCP-Server). It retains the core functionality while improving maintainability and compatibility with modern TypeScript development practices.
## Setup
Ensure that Node.js and TypeScript are installed, then execute:
```bash
npm install
npm run build
```## Configuration
Define the required environment variables in a `.env` file:
```env
NOCODB_URL=https://your-nocodb-instance.com
NOCODB_API_TOKEN=your_api_token_here
NOCODB_BASE_ID=your_base_id_here
```**Tip:** You can copy the template from [env.example](env.example) and fill in your values.
### How to Obtain NOCODB_BASE_ID
To find your `NOCODB_BASE_ID`, check the URL of your Nocodb instance.
For example:
https://app.nocodb.com/#/wi6evls6/pqmob3ammcknma5/maty9c5xkmf4012
In this URL format:```text
https://app.nocodb.com/#/{USERNAME}/{NOCODB_BASE_ID}/{TABLE_ID}
```## Integration with Claude Desktop
Modify `claude_desktop_config.json` to include:
```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"
}
}
}
}
```## Direct call from CLI
You can directly call the MCP server from the command line:
NOCODB_URL, NOCODB_API_TOKEN, and NOCODB_BASE_ID are required parameters.
`NOCODB_URL=https://app.nocodb.com` if you are using NocoDB cloud.```bash
npx -y nocodb-mcp-server {NOCODB_URL} {NOCODB_BASE_ID} {NOCODB_API_TOKEN}
```## Testing CLI
To run the tests, execute:
```bash
npx -y @wong2/mcp-cli npx nocodb-mcp-server {NOCODB_URL} {NOCODB_BASE_ID} {NOCODB_API_TOKEN}
```## API Functions
For detailed information about available API functions, please refer to [API_FUNCTION.md](API_FUNCTION.md).
## Project Structure
```text
/project-root
├── src/ # TypeScript source files
├── dist/ # Compiled JavaScript output
├── .env # Environment variable configurations
├── package.json # Project dependencies and scripts
├── tsconfig.json # TypeScript settings
```## Contribution Guidelines
Contributions are encouraged! Feel free to open issues or submit pull requests.
## License
This project is distributed under MIT.