logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

airtable-data-nexus

A Model Context Protocol (MCP) server providing full bidirectional integration with Airtable workspaces. Facilitates complex data orchestration, including natural language querying, full transactional CRUD operations across tables, base structure introspection, schema modification, advanced record filtering, and integrated AI-driven analytics.

Author

airtable-data-nexus logo

rashidazarang

MIT License

Quick Info

GitHub GitHub Stars 39
NPM Weekly Downloads 1923
Tools 1
Last Updated 2026-02-19

Tags

airtableschemamcpairtable mcprashidazarang airtablemcp interface

Airtable Data Nexus Server (MCP Compatible)

Trust Score smithery badge Airtable MCP TypeScript AI Agent Security Protocol

🤖 Next-Generation AI Service Gateway v3.2.4 - This robust server leverages a rigorously compiled TypeScript core to offer unparalleled stability and performance for managing Airtable assets. Features encompass deep intelligence capabilities, forecasting models, enterprise-grade security measures, and complete adherence to the MCP specification.

🚀 Latest Update: v3.2.4 - Security Hardening & Architectural Refinement

Significant enhancements deployed with zero impact on existing integrations: - 🔧 TypeScript Compilation Stability: Addressed latent architectural deficiencies, ensuring pristine separation between type definitions and runtime execution. - 📁 Codebase Organization: Standardized repository layout (src/typescript, src/javascript, src/python) for superior maintainability. - 🔒 Vulnerability Remediation: Deployed comprehensive input sanitization, eliminating previously identified command injection vectors. - 🔷 Type-Safe Implementation: Full migration to strict TypeScript, guaranteeing compile-time verification for all 33 exposed functions and 10 analytical prompts. - 🛡️ Compile-Time Assurance: Leveraging advanced type checking to preempt runtime errors, boosting developer confidence. - 🎯 Developer Velocity: Exceptional IDE support via auto-completion, IntelliSense, and seamless refactoring capabilities.

🧠 Advanced Intelligence Suite

Unlock complete operational intelligence leveraging sophisticated AI models: - 🤖 10 Advanced Prompt Engines: Specialized templates for complex tasks like trend projection and process optimization. - 🔮 Forecasting & Prediction: Deliver quantitative analysis including statistically derived confidence intervals. - 🗣️ Semantic Data Interrogation: Query intricate dataset structures using intuitive, natural human language. - 📊 Automated BI: Generate actionable insights and prescriptive recommendations directly from your worksheet data. - 🏗️ Intelligent Data Modeling: AI suggestions for optimizing base architecture and field relationships. - ⚡ Process Streamlining: Intelligent identification and optimization pathways for repetitive workflows. - 🔍 Data Integrity Checks: Systematic auditing of data quality metrics with suggested corrective actions. - 📈 Statistical Inference: Execute rigorous analytical methods, including hypothesis testing.

✨ Core Operational Capabilities

  • 🔍 Natural Language Data Access: Interact with your Airtable contents conversationally.
  • 📊 Full Data Lifecycle Management: Execute Create, Retrieve, Modify, and Erase (CRUD) commands.
  • 🪝 Event-Driven Triggers: Provision and manage webhooks for immediate, event-based system notifications.
  • 🏗️ Structural Modification: Programmatic control over base organization, including table and field creation/alteration.
  • 🔍 Workspace Discovery: Inventory all accessible bases and map their respective schemas.
  • 🔧 Field Definition Control: Dynamic alteration of field attributes, types, and configuration options.
  • 🔐 Credential Security: Secure authorization via environment variable injection.
  • 🚀 Deployment Agility: Multiple straightforward setup pathways.
  • High-Throughput Engine: Built on Node.js for optimized, low-latency data transactions.
  • 🎯 Comprehensive API Coverage: Access to 33 distinct, highly optimized functional tools, supporting multi-record operations.
  • 📎 Binary Asset Linking: Direct insertion of external file references into attachment fields.
  • Bulk Record Handling: Perform atomic batch operations for up to 10 records simultaneously.
  • 👥 Collaboration Oversight: Tools for managing base access rights and shared view configurations.
  • 🤖 Embedded AI Hooks: Integration points for invoking specialized analytical prompts.
  • 🔐 Enterprise-Grade Safeguards: Features including OAuth2 readiness, rate throttling, and layered input validation.

📋 Deployment Requirements

  • Node.js runtime environment (v14 or higher)
  • A valid Airtable Personal Access Token
  • The specific Airtable Base Identifier (Base ID)

🚀 Rapid Deployment Guide

Phase 1: Credential Acquisition

  1. Access Token Generation: Secure a Personal Access Token via Airtable Developer Settings. Mandated scopes:
  2. data.records:read, data.records:write
  3. schema.bases:read, schema.bases:write (For structural manipulation)
  4. webhook:manage (If utilizing real-time eventing)

  5. Base Identifier Extraction: Locate the Base ID within the Airtable URL structure:

https://airtable.com/[BASE_ID]/...

Phase 2: Installation Procedures

Select the appropriate installation vector:

🔷 TypeScript Development Environment (Preferred)

bash

Global installation with bundled TypeScript executable

npm install -g @rashidazarang/airtable-mcp

Install local type definitions for development context

npm install --save-dev typescript @types/node

📦 Standard JavaScript Runtime

Method A: NPM (Recommended)

bash npm install -g @rashidazarang/airtable-mcp

Method B: Source Clone (For direct execution/modification)

bash git clone https://github.com/rashidazarang/airtable-mcp.git cd airtable-mcp npm install

Phase 3: Environment Configuration

Establish runtime secrets via a .env file in your operational directory:

env AIRTABLE_TOKEN=your_personal_access_token_here AIRTABLE_BASE_ID=your_base_id_here

Security Precaution: Ensure the .env file is explicitly excluded from version control systems (e.g., via .gitignore).

Phase 4: MCP Client Integration

Integrate the server endpoint into your MCP host configuration (e.g., Claude Desktop).

🔷 TypeScript Client Binding

Configure your host file (e.g., claude_desktop_config.json):

{ "mcpServers": { "airtable-ts-nexus": { "command": "npx", "args": [ "@rashidazarang/airtable-mcp", "--token", "YOUR_AIRTABLE_TOKEN", "--base", "YOUR_BASE_ID" ], "env": { "NODE_ENV": "production", "LOG_LEVEL": "INFO" } } } }

📦 JavaScript Client Binding (Default)

{ "mcpServers": { "airtable-nexus": { "command": "npx", "args": [ "@rashidazarang/airtable-mcp", "--token", "YOUR_AIRTABLE_TOKEN", "--base", "YOUR_BASE_ID" ] } } }

Alternative Secure Method (Using Environment Variables):

{ "mcpServers": { "airtable-secure": { "command": "npx", "args": ["@rashidazarang/airtable-mcp"], "env": { "AIRTABLE_TOKEN": "YOUR_AIRTABLE_TOKEN", "AIRTABLE_BASE_ID": "YOUR_BASE_ID" } } } }

Phase 5: Activation

Reload the MCP client application to initialize the Airtable Data Nexus service.

🎯 Interaction Examples

Interact naturally with the service post-configuration:

🔷 TypeScript Programming Interface

typescript import { AirtableMCPServer, ListRecordsInput, PredictiveAnalyticsPrompt } from '@rashidazarang/airtable-mcp/types';

const nexus = new AirtableMCPServer();

// Type-safe request structure const queryParams: ListRecordsInput = { table: 'Milestones', maxRecords: 25, filterByFormula: "CompletionDate < TODAY()" };

const overdueItems = await nexus.handleToolCall('list_records', queryParams);

// Leveraging AI for predictive modeling const forecastInput: PredictiveAnalyticsPrompt = { table: 'Financials', analysis_type: 'time_series_forecast', confidence_level: 0.90 };

const projections = await nexus.handlePromptGet('predictive_analytics', forecastInput);

📦 Conversational Command Examples

Fundamental Data Manipulation

"Retrieve the roster of all entries from the 'Clients' sheet" "Provision a new entry in the 'Assets' ledger, setting its value to 5000 and location to 'Warehouse A'" "Modify record ID rec9876 to set the 'Status' field to 'Verified'" "Permanently erase any records in 'Logs' flagged as 'Obsolete'" "List all named worksheets within the current base structure" "Execute a selective query on records where Priority matches 'Urgent'"

Real-time Event Handling (Webhooks)

"Configure an endpoint notification service for the 'Orders' table pointing to https://api.mycompany.com/listener" "Display a manifest of all existing data change event handlers" "Deactivate the webhook identified as whk_abc123" "Fetch the most recent input data received by webhook whk_xyz999" "Renew the active duration for webhook whk_def456"

Schema Definition and Modification

"Enumerate every accessible Airtable container base" "Generate a detailed structural blueprint for this entire base" "Provide the complete field specification list for the 'Inventory' worksheet" "Instantiate a new worksheet named 'Vendors' incorporating fields for Name, Contact Email, and Contract Start Date" "Introduce a multi-select field named 'Tags' into the existing 'Projects' worksheet" "What are the permissible data types supported by Airtable fields?"

Advanced Transactional Capabilities

"Execute bulk insertion of up to 10 new entries into the 'SupportTickets' table" "Apply a status update across a collection of 8 records simultaneously" "Orchestrate the mass deletion of 5 specific records in one transaction" "Perform an upsert operation on the 'Products' table using SKU as the unique key" "Upload the file located at https://cdn.img.com/logo.png and associate it with the 'Branding' attachment field for rec333" "Report on the access permissions of all users linked to this data repository" "Display configurations for all public data views associated with the 'Dashboard' table"

🛠️ Exposed Functionality Matrix (33 Tools + 10 Prompts)

📊 Data Transaction Layer (7 Utilities)

Identifier Purpose
list_tables Retrieves names and foundational schema data for all worksheets.
list_records Fetches worksheet entries, supporting complex criteria and pagination limits.
get_record Fetches a singular data entity based on its unique identifier.
create_record Inserts novel entries into any specified worksheet.
update_record Modifies content within existing data entities.
delete_record Removes specified data entities from persistence.
search_records Enables sophisticated querying utilizing Airtable's native formula syntax and sorting mechanisms.

🪝 Event & Notification System (5 Utilities)

Identifier Purpose
list_webhooks Audits existing real-time notification subscriptions for the base.
create_webhook Establishes a new subscription service triggered by data mutations.
delete_webhook Terminates a configured webhook subscription.
get_webhook_payloads Reviews historical data transmitted via webhook events.
refresh_webhook Extends the operational lifetime of an active webhook listener.

🔍 Workspace & Metadata Introspection (6 Utilities) - v1.5.0 Added

Identifier Purpose
list_bases Enumerates all bases accessible via the current authentication credentials.
get_base_schema Provides a comprehensive definition of the entire base structure.
describe_table Returns granular details about a specific worksheet, including all field metadata.
list_field_types Reference utility listing all valid Airtable field constructors.
get_table_views Lists associated views (Grid, Gallery, Calendar, etc.) per worksheet.

🏗️ Worksheet Structure Control (3 Utilities) - v1.5.0 Added

Identifier Purpose
create_table Dynamically generates a new worksheet with user-defined fields.
update_table Renames or alters the descriptive metadata of an existing worksheet.
delete_table Permanently erases a worksheet (requires operational confirmation).

🔧 Field Definition Management (3 Utilities) - v1.5.0 Added

Identifier Purpose
create_field Adds a new data attribute (field) to any target worksheet, supporting all types.
update_field Modifies the characteristics, name, or options of an existing attribute.
delete_field Removes a defined attribute from a worksheet (requires operational confirmation).

⚡ High-Volume Transaction Processing (4 Utilities) - v1.6.0 Added

Identifier Purpose
batch_create_records Atomic creation of up to 10 records in a single API call.
batch_update_records Simultaneous modification of attributes for up to 10 entities.
batch_delete_records Consolidated deletion of up to 10 entities in one transaction.
batch_upsert_records Conditional write: update if primary key exists, otherwise insert new record.

📎 Asset Handling (1 Utility) - v1.6.0 Added

Identifier Purpose
upload_attachment Facilitates the linkage of external files (via URL) into attachment fields.

👁️ Advanced View Orchestration (2 Utilities) - v1.6.0 Added

Identifier Purpose
create_view Generates new filtered, sorted, or grouped views across different presentation formats.
get_view_metadata Retrieves configuration details for specified views, including filtering logic and sorting orders.

🏢 Repository Administration (3 Utilities) - v1.6.0 Added

Identifier Purpose
create_base Initializes an entirely new Airtable base structure.
list_collaborators Reports on users with access to the base and their privilege levels.
list_shares Audits configurations of publicly shared views or tables.

🤖 Intelligence & Analytical Prompts (10 Prompts) - v3.0.0 Intelligence Layer

Prompt ID Core Functionality Key Enterprise Feature
analyze_data Advanced statistical evaluation with predictive modeling. Uncertainty quantification and anomaly detection mechanisms.
create_report Generation of structured reports based on queried datasets. Customizable stakeholder views and preliminary ROI estimation.
data_insights Automated discovery of hidden patterns and correlations. Identification of leading indicators across disparate data structures.
optimize_workflow Suggests improvements for sequence and automation paths. Automated change management documentation and feasibility assessment.
smart_schema_design Recommends optimal structure for new or existing data models. Compliance-aware architecture planning (e.g., data residency considerations).
data_quality_audit Comprehensive assessment of data integrity across dimensions. Automated creation of remediation scripts and governance documentation.
predictive_analytics Time-series forecasting and trend extrapolation. Comparative analysis across multiple forecasting algorithms.
natural_language_query Interprets complex user intents into structured operations. Contextual memory for multi-turn natural language interactions.
smart_data_transformation AI-guided data cleaning and mapping routines. Generation of auditable transformation logs for regulatory review.
automation_recommendations Suggests applicable, high-value automation sequences. Technical complexity scoring and potential efficiency gains analysis.

🔧 Advanced Operational Bindings

Utilizing Smithery Cloud Environment

For deployment managed via cloud orchestration platforms:

{ "mcpServers": { "airtable-smithery": { "command": "npx", "args": [ "@smithery/cli", "run", "@rashidazarang/airtable-mcp", "--token", "YOUR_TOKEN", "--base", "YOUR_BASE_ID" ] } } }

Direct Local Node.js Invocation

When running the cloned repository directly:

{ "mcpServers": { "airtable-local": { "command": "node", "args": [ "/path/to/airtable-mcp/airtable_simple.js", "--token", "YOUR_TOKEN", "--base", "YOUR_BASE_ID" ] } } }

🧪 Verification and Testing Regimes

🔷 TypeScript Development Testing

Execute thorough testing protocols to validate architectural integrity:

bash

Install dependencies required for testing environment

npm install

Run static type validation suite

npm run test:types

Execute the full automated TypeScript test suite (mocked and live verification)

npm run test:ts

Build artifacts and initiate the server for integration checks

npm run build npm run start:ts

The TypeScript verification process rigorously confirms: - Interface Consistency: Compile-time validation across all 33 function signatures and 10 prompt payloads. - Enterprise Test Coverage: Verification of all functional pathways under strict typing rules. - AI Prompt Contract: Validation that all intelligence hooks adhere to defined input/output schemas. - Robust Error Management: Type-safe handling of exceptions and operational failures.

📦 JavaScript Operational Testing

Validate real-world API interaction and functionality:

bash

Set necessary runtime secrets

export AIRTABLE_TOKEN=your_token export AIRTABLE_BASE_ID=your_base_id

Launch the server process in the background

node airtable_simple.js &

Execute the extensive regression test suite (v1.6.0+ scope)

./test_v1.6.0_comprehensive.sh

The JavaScript test suite focuses on: - Successful execution of all 33 tools against the live Airtable API. - Validation of complete CRUD cycles. - Stress testing of schema manipulation procedures. - Integrity checks on batch processing utilities. - Verification of file attachment resolution. - Comprehensive testing of webhook setup, history, and teardown.

🐛 Common Diagnostic Procedures

Error: Connection Refused

Possible Cause: The underlying MCP listener process is halted or blocked. Remedy: Initiate the server execution command; verify no firewall is restricting TCP traffic on the default port (8010).

Error: Authentication Failure (Invalid Token)

Possible Cause: Token is expired, malformed, or lacks necessary permissions. Remedy: Regenerate the Personal Access Token and confirm all required scopes are present (read/write data, schema, webhook access).

Error: Resource Not Found (Base ID Issue)

Possible Cause: Incorrect identifier specified or token lacks cross-base permissions. Remedy: Double-check the Base ID syntax; ensure the token has visibility over the targeted base.

Port Contention Resolution

If another service occupies port 8010, use system tools to identify and terminate the conflicting process: bash lsof -ti:8010 | xargs kill -9

📚 Knowledge Repository

🔷 TypeScript Development Assets

  • 📘 TypeScript Usage Schematics - Illustrated guides demonstrating type-safe function application.
  • 🏗️ API Type Manifest - Definitive source for all interface definitions.
  • 🧪 Internal Testing Framework - Details on the enterprise-grade validation architecture.

📦 General System Documentation

  • 🎆 Release Chronology v3.1.0 - Latest TypeScript Build Notes.
  • Feature Increment Log v1.6.0 - Batching and Attachment Integration details.
  • Release Documentation v1.5.0
  • Release Documentation v1.4.0
  • Integration Guide for Claude Platform
  • Server Development Guidelines
  • Security Posture Statement

📦 Versioning Milestones

  • v3.1.0 (2025-08-16) - TypeScript Paradigm Shift: Established strict typing across the entire implementation; enabling dual JS/TS deployment.
  • v3.0.0 (2025-08-16) - 🤖 Introduction of Intelligence Layer: Integration of 10 analytical prompts, including predictive modeling and semantic interpretation.
  • v2.2.3 (2025-08-16) - 🔒 Security Patch: Final remediation for Cross-Site Scripting (XSS) risks; enhanced input sanitation.
  • v2.2.0 (2025-08-16) - 🏆 Protocol Conformity: Full implementation of the MCP 2024-11-05 specification.
  • v1.6.0 (2025-08-15) - 🎆 Feature Expansion: Addition of bulk record handling and attachment management utilities (Totaling 33 tools).
  • v1.5.0 (2025-08-15) - Introduced structural tooling for schema and worksheet lifecycle management (Totaling 23 tools).
  • v1.4.0 (2025-08-14) - Enabled native webhook integration and expanded foundational CRUD capabilities (12 tools).
  • v1.2.4 (2025-08-12) - Stability updates and minor security hardening.
  • v1.2.3 (2025-08-11) - Bug fixes focused on operational robustness.
  • v1.2.2 (2025-08-10) - Initial stable production release.

📂 System Architecture Overview

airtable-mcp/ ├── src/ # Core implementation logic │ ├── index.js # Primary server bootstrap file │ ├── typescript/ # Source code modules compiled for TS users │ ├── javascript/ # Source code modules for standard JS runtime │ └── python/ # Placeholder for potential Python extensions ├── dist/ # Output directory for compiled artifacts ├── docs/ # Formal documentation assets │ ├── guides/ # Step-by-step user manuals │ └── releases/ # Detailed historical release notes ├── tests/ # Automated verification scripts ├── examples/ # Demonstrative code snippets └── types/ # TypeScript interface definitions (.d.ts files)

🤝 Collaboration Guidelines

We welcome community contributions! Please initiate a discussion via a GitHub Issue prior to submitting substantial Pull Requests to align on scope and approach.

📄 Licensing

This project is distributed under the terms of the MIT License. Refer to the LICENSE file for complete legal details.

🙏 Recognition

This integration is developed in alignment with the standards set by the Model Context Protocol and utilizes the official Airtable API. Optimized for use with clients such as Claude Desktop.

📮 Feedback Channels


Service Identity: 3.2.4 | Status: 🔷 TypeScript Stable + 🤖 AI Enabled | Protocol Compliance: 2024-11-05 Full | Type Verification Level: Enterprise | Intelligence Feature Count: 10 Prompts | Security Status: Hardened (XSS Eliminated) | Last Revision: 2025-09-09

CONTEXTUAL NOTE: Business management tools encompass methodologies, applications, and controls that enable organizations to maintain market relevance, adapt to shifts, and enhance operational efficiency across all functional units. This Nexus server acts as a critical layer for data governance and automated insight generation within that ecosystem.

See Also

`