MCP server for Airtable integration
Project description
Airtable MCP Server
A Model Context Protocol (MCP) server for Airtable integration. This server provides tools for interacting with Airtable, including querying tables, managing records, and performing various operations against the Airtable API.
Features
- Table Management: List and explore tables in your Airtable bases
- Record Operations: Create, read, update, and delete records
- Query Capabilities: Filter and search records using Airtable formulas
- Resources: Access metadata about Airtable tables and schemas
- Prompts: Templates for common Airtable workflows
Installation
pip install mcp-airtable
Configuration
Set the following environment variables:
export AIRTABLE_BASE_ID="your_base_id"
export AIRTABLE_API_KEY="your_api_token"
Optional configuration:
export AIRTABLE_API_URL="https://api.airtable.com/v0" # Default API URL
Usage
Starting the server directly
mcp-airtable
Using with Claude Desktop
Add the following to your claude_desktop_config.json file:
"mcp-airtable": {
"command": "uvx",
"args": [
"mcp-airtable"
],
"env": {
"AIRTABLE_BASE_ID": "your_base_id",
"AIRTABLE_API_KEY": "your_api_token"
}
}
Replace the environment variables with your actual Airtable credentials.
Available Tools
Base and Table Management
- list_bases: Get a list of all accessible Airtable bases
- list_tables: List all tables in a specific Airtable base
Record Operations
- query_records: Query records from a table with optional filtering
- get_record: Get a specific record by ID
- create_record: Create a new record in a table
- update_record: Update an existing record in a table
- delete_record: Delete a record from a table
Available Resources
- airtable://tables: List of all tables in the default Airtable base
- airtable://table/{table_name}: Schema information for a specific table
- airtable://data/{table_name}: Data from a specific table
Available Prompts
- create_record: Template for creating a new record
- query_records: Template for querying records with filtering
- update_record: Template for updating an existing record
Example Usage
Querying records
Can you show me all records from my "Contacts" table where the status is "Active"?
Creating a new record
Create a new record in the "Projects" table with name "New Website", status "Planning", and due date "2023-12-31"
Updating a record
Update the record with ID "recABC123" in the "Tasks" table to change its status to "Completed"
Development
Clone the repository and install development dependencies:
git clone https://github.com/yourusername/mcp-airtable.git
cd mcp-airtable
pip install -e ".[dev]"
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT
Version
0.0.1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_airtable-0.0.2.tar.gz.
File metadata
- Download URL: mcp_airtable-0.0.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bdf8f63e7feb03b6f7e2feb5e5a38e5cd04ceab6c6e0e3bf4b3a5757be40135
|
|
| MD5 |
f45fea4dd4184744704b9abc581e24ce
|
|
| BLAKE2b-256 |
55788ef434cd3c3cb4fa79f48d3d004ba81b0e18fa11a1604456533fbd7a7191
|
File details
Details for the file mcp_airtable-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mcp_airtable-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4d8a5cb2c0c9375c7a18d9143cd98962455463a033f3604e2105ae711ec27d5
|
|
| MD5 |
d261cb318b002c8ca37e4b72f517f587
|
|
| BLAKE2b-256 |
6f9259776852d0ccd28e4b6e7d2a77183fdd98fbb5afc87ea0f02517d3205792
|