Baserow MCP Server
Provides tools for managing Baserow workspaces, databases, tables, and rows, including CRUD operations, batch operations, and advanced queries with natural language support.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Baserow MCP ServerShow me all my Baserow workspaces"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Baserow MCP Server
An MCP (Model Context Protocol) server that provides seamless integration between MCP-compatible clients (Claude Desktop, Cursor, Windsurf, etc.) and Baserow, enabling AI-powered database operations through natural language.
๐ Features
๐ Smart Authentication: Automatic token refresh with credentials or manual JWT/database tokens
๐ข Workspace Management: List, create, and manage Baserow workspaces
๐๏ธ Database Operations: Full control over databases within workspaces
๐ Table Management: Create, list, and manage tables with field definitions
๐ Row CRUD Operations: Complete Create, Read, Update, Delete functionality
โก Batch Operations: Efficient bulk operations for creating, updating, and deleting rows
๐ Advanced Queries: Pagination, filtering, and sorting support
๐ก Natural Language: Use plain English to interact with your databases
Related MCP server: Supabase MCP Server
๐ Prerequisites
Node.js v22+ (install via nvm)
An MCP-compatible client:
Any other MCP-compatible AI editor
Baserow account (self-hosted or cloud)
๐ ๏ธ Installation
Clone the repository:
git clone https://github.com/ayyazzafar/mcp-baserow.git cd mcp-baserowInstall dependencies:
npm installConfigure authentication:
cp .env.example .envEdit
.envand add your credentials:# Recommended: Use credentials for automatic token refresh BASEROW_USERNAME=your@email.com BASEROW_PASSWORD=your_password # Optional: Override default API URL for self-hosted instances # BASEROW_API_URL=https://your-baserow-instance.comBuild the project:
npm run build
๐ Authentication Options
Option 1: Username/Password (Recommended)
Provides automatic token refresh and full API access:
BASEROW_USERNAME=your@email.com
BASEROW_PASSWORD=your_passwordOption 2: JWT Token
For manual token management (expires after 60 minutes):
BASEROW_API_TOKEN=JWT_your_jwt_token_hereOption 3: Database Token
For database-specific operations (limited scope, never expires):
BASEROW_API_TOKEN=Token_your_database_token_hereโ๏ธ Configuration
MCP Client Setup
Open configuration:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add the Baserow server:
{ "mcpServers": { "baserow": { "command": "/path/to/mcp-baserow/start.sh" } } }
Open Cursor settings
Navigate to MCP Servers section
Add:
{ "baserow": { "command": "/path/to/mcp-baserow/start.sh" } }
Open Windsurf configuration
Add to MCP servers:
{ "baserow": { "command": "/path/to/mcp-baserow/start.sh" } }
Restart your MCP client
๐ Usage Examples
Natural Language Commands
Once configured, you can use natural language in your MCP client:
"Show me all my Baserow workspaces"
"Create a new database called 'Project Tracker' in my workspace"
"List all tables in the Project Tracker database"
"Add a new row to the Tasks table with title 'Review PR' and status 'In Progress'"
"Update row 5 in the Tasks table to mark it as completed"
"Delete all rows in the Archive table that are older than 30 days"
Available MCP Tools
baserow_auth_status- Check authentication status and capabilitiesbaserow_auth_login- Login with credentialsbaserow_auth_set_token- Manually set JWT or database token
baserow_list_workspaces- List all workspacesbaserow_get_workspace- Get workspace detailsbaserow_create_workspace- Create new workspacebaserow_set_workspace- Set active workspace for operations
baserow_list_databases- List databases in workspacebaserow_get_database- Get database detailsbaserow_create_database- Create new database
baserow_list_tables- List tables in databasebaserow_get_table- Get table with field definitionsbaserow_create_table- Create new table
Field Management
baserow_list_fields- List fields (columns) of a tablebaserow_create_field- Create a field (text, number, single_select, boolean, date, ...)baserow_update_field- Rename a field or change its type/optionsbaserow_delete_field- Delete a field
baserow_list_rows- List rows with pagination/filteringbaserow_get_row- Get single row by IDbaserow_create_row- Create new rowbaserow_update_row- Update existing rowbaserow_delete_row- Delete rowbaserow_batch_create_rows- Create multiple rowsbaserow_batch_update_rows- Update multiple rowsbaserow_batch_delete_rows- Delete multiple rows
Database API Tokens (JWT/credentials auth only)
baserow_list_api_tokens- List your database API tokensbaserow_create_api_token- Create a token (returns the key), optionally scoped to tables/databases per operationbaserow_update_api_token- Rename, change permissions, or rotate the keybaserow_delete_api_token- Delete a token
๐งช Development
Setup Development Environment
# Install dependencies
npm install
# Run TypeScript compiler in watch mode
npm run dev
# Run tests (when available)
npm testProject Structure
mcp-baserow/
โโโ src/
โ โโโ index.ts # MCP server entry point
โ โโโ auth-manager.ts # Authentication handling
โ โโโ baserow-client.ts # Baserow API client
โ โโโ tools/ # MCP tool implementations
โ โ โโโ auth.ts # Authentication tools
โ โ โโโ workspace.ts # Workspace operations
โ โ โโโ database.ts # Database operations
โ โ โโโ table.ts # Table operations
โ โ โโโ row.ts # Row CRUD operations
โ โโโ types/ # TypeScript type definitions
โโโ dist/ # Compiled JavaScript
โโโ examples/ # Usage examples
โโโ tests/ # Test files๐ค Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
Quick Start for Contributors
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add some amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
๐ Changelog
See CHANGELOG.md for a list of changes in each version.
๐ Troubleshooting
Common Issues
"Authentication failed"
Verify your credentials in
.envEnsure your Baserow account is active
Check if you're using the correct API URL
"No workspace_id provided"
Use
baserow_set_workspaceto set an active workspaceOr provide
workspace_idparameter in database operations
"Server disconnected"
Check your MCP client's logs:
Claude Desktop:
~/Library/Logs/Claude/mcp-server-baserow.logOther clients: Check their respective log locations
Ensure Node.js v22+ is installed
Verify all dependencies are installed
Debug Mode
Enable debug logging by setting:
export DEBUG=baserow:*๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
Anthropic for the MCP specification
Baserow for the excellent open-source database platform
The MCP community for examples and best practices
๐ Links
Made with โค๏ธ by the open-source community
This server cannot be deployed
Maintenance
Related MCP Connectors
Your Supabase account in natural language: run SQL, apply migrations, manage tables, storage, edge f
Ask data questions in natural language. Get SQL, insights, and charts from your databases.
Ask questions in plain language, get answers from your business database. No SQL required.
Query BigQuery, Snowflake, Redshift & Azure Synapse with natural language
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables natural language database operations and semantic document search through SQLite and vector database integration. Converts plain English instructions into SQL queries and provides RAG capabilities for uploaded documents.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform CRUD operations on Supabase databases through natural language. Supports advanced filtering, pagination, and safety checks for seamless database interaction.MIT
- AlicenseAqualityCmaintenanceEnables interaction with an Airbyte instance through natural language, supporting workspaces, sources, destinations, connections, jobs, logs, tags, streams, and connector definitions.3643 PyPI5Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server enabling AI-powered Baserow database operations through natural language, with workspace, table, and row management.13MIT