Airtable MCP Server
A Model Context Protocol (MCP) server for Airtable, designed to integrate with AI-powered applications and n8n workflows. This server provides a standardized interface for interacting with Airtable bases, tables, and records.
🚀 Features
- 16 Core Tools: Complete CRUD operations for Airtable
- Batch Operations: Create, update, and delete multiple records at once
- Schema Management: Access table, field, and view information
- HTTP Streamable: Compatible with n8n and other HTTP-based MCP clients
- TypeScript: Full type safety and modern JavaScript features
- Render Ready: Pre-configured for deployment on Render
🛠️ Available Tools
Base Operations
get_base_info
- Get information about the Airtable baselist_tables
- List all tables in the base
Table Operations
get_table_info
- Get detailed table informationlist_fields
- List all fields in a tableget_field_info
- Get detailed field information
Record Operations
list_records
- List records with filtering, sorting, and paginationget_record
- Get a specific record by IDcreate_record
- Create a new recordupdate_record
- Update an existing recorddelete_record
- Delete a record
Batch Operations
create_records
- Create multiple records (up to 10)update_records
- Update multiple records (up to 10)delete_records
- Delete multiple records (up to 10)
View Operations
list_views
- List all views for a tableget_view_info
- Get detailed view information
🚀 Quick Start
Prerequisites
- Node.js 20+
- Airtable API key
- Airtable base ID
Installation
- Clone the repository
- Install dependencies
- Set up environment variables
- Start the development server
Environment Variables
🔧 Usage
HTTP Server (Recommended for n8n)
The HTTP server runs on port 3000 by default and provides these endpoints:
- Health Check:
GET /health
- MCP Endpoint:
POST /mcp
- Set Credentials:
POST /set-credentials
Headers Required
For all MCP requests, include these headers:
Example MCP Request
🚀 Deployment
Render (Recommended)
- Fork this repository
- Connect to Render
- Deploy as a Web Service
- Set environment variables in Render dashboard
The render.yaml
file is pre-configured for easy deployment.
Environment Variables for Production
🧪 Testing
Run Tests
Test Individual Endpoints
🔌 n8n Integration
HTTP Request Node Configuration
- Method: POST
- URL:
https://your-render-app.onrender.com/mcp
- Headers:
Content-Type: application/json
x-airtable-api-key: {{ $json.apiKey }}
x-airtable-base-id: {{ $json.baseId }}
- Body:
Example n8n Workflow
- Set node to configure Airtable credentials
- HTTP Request node to call MCP tools
- Switch node to handle different tool responses
- Process node to format data for your needs
📚 API Reference
Tool: list_records
List records from a table with optional filtering and pagination.
Parameters:
tableId
(required): The ID of the tablepageSize
(optional): Number of records to return (max 100)filterByFormula
(optional): Airtable formula to filter recordssort
(optional): Sorting configurationfields
(optional): Specific fields to returnview
(optional): View ID to use
Example:
Tool: create_record
Create a new record in a table.
Parameters:
tableId
(required): The ID of the tablefields
(required): The field values for the new record
Example:
🔒 Security
- CORS: Configured for Render and n8n domains
- Helmet: Security headers enabled
- Input Validation: All inputs are validated
- Error Handling: Secure error messages
🚀 Development
Scripts
Project Structure
🤝 Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
📄 License
MIT License - see LICENSE file for details.
🙏 Acknowledgments
- Built for the Model Context Protocol
- Powered by Airtable API
- Compatible with Claude Desktop and other MCP clients
- Designed for n8n integration
📞 Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Version: 1.0.0 | Status: 🚀 Production Ready | MCP Protocol: 2025-06-18 | Type Safety: Full TypeScript | Last Updated: January 2025
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables complete interaction with Airtable databases through 16 CRUD operations including batch processing, schema management, and record manipulation. Designed for AI applications and n8n workflows with HTTP streaming support.
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server that provides tools for programmatically managing Airtable bases, tables, fields, and records through Claude Desktop or other MCP clients.Last updated -21564
- -securityAlicense-qualityEnables AI-powered applications to access and manipulate Airtable data directly from your IDE, supporting operations like querying, creating, updating, and deleting records through natural language commands.Last updated -MIT License
- -securityAlicense-qualityConnects AI tools directly to Airtable, allowing users to query, create, update, and delete records using natural language.Last updated -6333MIT License
- -securityAlicense-qualityProvides tools for AI assistants to interact with Airtable databases, enabling CRUD operations on Airtable bases and tables.Last updated -MIT License