by onimsha
Production-ready MCP server for secure Airtable OAuth, enabling AI assistants and apps to interact with Airtable bases v
Connects AI assistants to Airtable bases through secure OAuth authentication. Provides complete access to all Airtable operations via the Model Context Protocol interface.
Airtable OAuth MCP Server is a community-built MCP server published by onimsha that provides AI assistants with tools and capabilities via the Model Context Protocol. Production-ready MCP server for secure Airtable OAuth, enabling AI assistants and apps to interact with Airtable bases v It is categorized under databases, developer tools.
You can install Airtable OAuth MCP Server in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Airtable OAuth MCP Server is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Enable Claude to query your database directly using natural language
Example
Ask 'Show me top 10 customers by revenue this month' and get SQL results instantly
Eliminate manual SQL writing for ad-hoc queries, get insights 10x faster
Generate complex reports and analytics without leaving conversation
Example
Analyze sales trends, cohort retention, user behavior patterns conversationally
Democratize data access—non-technical team members can query databases
Understand database structure, relationships, and data models
Example
'Explain the user_orders table schema and its relationships'
Onboard engineers faster, explore unfamiliar databases efficiently
Share your MCP server with the developer community
We evaluated Airtable OAuth MCP Server against two servers with overlapping tools; this profile had the clearer scope statement.
Useful MCP listing: Airtable OAuth MCP Server is the kind of server we cite when onboarding engineers to host + tool permissions.
I recommend Airtable OAuth MCP Server for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Airtable OAuth MCP Server is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
Airtable OAuth MCP Server is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
Airtable OAuth MCP Server reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
According to our notes, Airtable OAuth MCP Server benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
Airtable OAuth MCP Server is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
Airtable OAuth MCP Server has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
According to our notes, Airtable OAuth MCP Server benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
showing 1-10 of 47
A production-ready Model Context Protocol (MCP) server for Airtable with secure OAuth 2.0 authentication. This server enables AI assistants and applications to interact with Airtable bases through a standardized MCP interface, providing complete API coverage for all Airtable operations.
Clone the repository and install dependencies:
git clone https://github.com/onimsha/airtable-mcp-server-oauth.git
cd airtable-mcp-server-oauth
uv sync
Client ID and Client Secrethttp://localhost:8000/oauth/callbackCopy the environment template and configure your credentials:
cp .env.example .env
Edit .env with your values:
# Airtable OAuth Configuration
AIRTABLE_CLIENT_ID="your_airtable_client_id_here"
AIRTABLE_CLIENT_SECRET="your_airtable_client_secret_here"
AIRTABLE_REDIRECT_URI="http://localhost:8000/oauth/callback"
# Server Configuration
HOST="0.0.0.0"
PORT=8000
LOG_LEVEL="INFO"
Use the official MCP Inspector to test and interact with your server:
Start the server:
uv run python -m airtable_mcp http
Open MCP Inspector: Visit https://modelcontextprotocol.io/docs/tools/inspector
Connect to your server:
http://localhost:8000/mcpAuthenticate with Airtable:
STDIO Transport (default):
uv run python -m airtable_mcp
# or
uv run airtable-oauth-mcp
HTTP Transport:
uv run python -m airtable_mcp http
# or with custom host/port
uv run python -m airtable_mcp http localhost 8001
Additional Options:
# Set log level
uv run python -m airtable_mcp --log-level DEBUG
# Show help
uv run python -m airtable_mcp --help
# Show version
uv run python -m airtable_mcp --version
The HTTP server will be available at http://localhost:8000/ (or custom host:port) with OAuth endpoints for web integration.
The server provides 10 MCP tools for Airtable operations:
Base Operations:
list_bases() - List all accessible baseslist_tables(base_id, detail_level?) - List tables in a basedescribe_table(base_id, table_id) - Get detailed table schemaRecord Operations:
list_records(base_id, table_id, view?, filter_by_formula?, sort?, fields?) - List records with filteringget_record(base_id, table_id, record_id) - Get a specific recordcreate_record(base_id, table_id, fields, typecast?) - Create a single recordcreate_records(base_id, table_id, records, typecast?) - Create multiple recordsupdate_records(base_id, table_id, records, typecast?) - Update multiple recordsdelete_records(base_id, table_id, record_ids) - Delete multiple recordssearch_records(base_id, table_id, filter_by_formula, view?, fields?) - Search records with formulasAll tools now use typed parameters instead of generic args, making them more transparent to MCP clients.
Parameter Flexibility:
fields parameter accepts either a single field name (string) or array of field namessort parameter expects array of objects: [{"field": "Name", "direction": "asc"}]# List all records in a table
records = await client.call_tool("list_records", {
"base_id": "appXXXXXXXXXXXXXX",
"table_id": "tblYYYYYYYYYYYYYY"
})
# Create a new record
new_record = await client.call_tool("create_record", {
"base_id": "appXXXXXXXXXXXXXX",
"table_id": "tblYYYYYYYYYYYYYY",
"fields": {
"Name": "John Doe",
"Email": "[email protected]",
"Status": "Active"
}
})
# Search records with filtering
filtered_records = await client.call_tool("search_records", {
"base_id": "appXXXXXXXXXXXXXX",
"table_id": "tblYYYYYYYYYYYYYY",
"filter_by_formula": "AND({Status} = 'Active', {Email} != '')",
"fields": ["Name", "Email", "Status"]
})
# List records with sorting and filtering
records = await client.call_tool("list_records", {
"base_id": "appXXXXXXXXXXXXXX",
"table_id": "tblYYYYYYYYYYYYYY",
"view": "Grid view",
"filter_by_formula": "{Priority} = 'High'",
"sort": [
{"field": "Created", "direction": "desc"},
{"field": "Name", "direction": "asc"}
],
"fields": ["Name", "Priority", "Created", "Status"]
})
# Batch operations
batch_create = await client.call_tool("create_records", {
"base_id": "appXXXXXXXXXXXXXX",
"table_id": "tblYYYYYYYYYYYYYY",
"records": [
{"fields": {"Name": "Record 1", "Value": 100}},
{"fields": {"Name": "Record 2", "Value": 200}},
{"fields": {"Name": "Record 3", "Value": 300}}
],
"typecast": True
})
# List all bases you have access to
bases = await client.call_tool("list_bases")
# Get detailed information about a specific table
table_info = await client.call_tool("describe_table", {
"base_id": "appXXXXXXXXXXXXXX",
"table_id": "tblYYYYYYYYYYYYYY"
})
# List all tables in a base
tables = await client.call_tool("list_tables", {
"base_id": "appXXXXXXXXXXXXXX",
"detail_level": "full"
})
Fork and Clone:
git clone https://github.com/onimsha/airtable-mcp-server-oauth.git
cd airtable-mcp-server-oauth
Setup Development Environment:
uv sync --all-extras
Run Tests:
uv run pytest
uv run pytest --cov=src/airtable_mcp --cov-report=html
Type Checking:
uv run mypy src/
Linting:
uv run ruff check src/
uv run ruff format src/
Pre-commit Hooks:
pip install pre-commit
pre-commit install
The project includes comprehensive test coverage:
# Run all tests
uv run pytest
# Run with coverage
uv run pytest --cov=src/airtable_mcp
# Run specific test files
uv run pytest tests/test_oauth.py
uv run pytest tests/test_tools.py
src/
├── airtable_mcp/ # Main MCP server package
│ ├── __init__.py # Package initialization
│ ├── __main__.py # Module entry point
│ ├── main.py # CLI and application entry
│ ├── api/ # Airtable API client
│ │ ├── __init__.py
│ │ ├── client.py # HTTP client for Airtable API
│ │ ├── exceptions.py # API-specific exceptions
│ │ └── models.py # Pydantic models for API responses
│ └── mcp/ # MCP server implementation
│ ├── __init__.py
│ ├── schemas.py # MCP tool schemas
│ └── server.py # FastMCP server with tools
└── mcp_oauth_lib/ # Reusable OAuth library
├── __init__.py # Library initialization
├── auth/ # Authentication components
│ ├── __init__.py
│ ├── context.py # Auth context management
│ ├── middleware.py # OAuth middleware
│ └── utils.py # Auth utilities
├── core/ # Core OAuth functionality
│ ├── __init__.py
│ ├── config.py # OAuth configuration
│ ├── flow.py # OAuth flow implementation
│ └── server.py # OAuth server endpoints
├── providers/ # OAuth provider implementations
│ ├── __init__.py
│ ├── airtable.py # Airtable OAuth provider
│ └── base.py # Base provider interface
└── utils/
---
Run data quality queries to catch anomalies and inconsistencies
Example
Find duplicate records, missing values, orphaned foreign keys automatically
Maintain data integrity with less manual SQL work
Prerequisites
Time Estimate
15-30 minutes including configuration and testing
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
MCP server acts as bridge between Claude and database, translating natural language to SQL queries and returning results in structured format.
Protocols
Compatibility
✓ Use when
Use for ad-hoc data queries, exploratory analysis, report generation, schema exploration, and democratizing data access. Best for read-heavy analytics workloads.
✗ Avoid when
Avoid for production write operations, mission-critical transactions, real-time OLTP workloads, or when database contains sensitive PII without proper access controls. Use read replicas, not primary.