Logo Airtable MCP 服务器

Airtable MCP 服务器

Cộng đồng
rashidazarang

Airtable integration for AI-powered applications via Anthropic's Model Context Protocol (MCP)

Nhà phát hànhrashidazarang
Kho mãairtable-mcp
Ngôn ngữTypeScript
Bản fork
28
Sao
88
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Airtable MCP 服务器 cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    88 sao và 28 bản fork từ kho mã được liên kết.

Airtable MCP Server

Trust Score smithery badge Airtable MCP TypeScript AI Agent Security Protocol

A Model Context Protocol (MCP) server for Airtable with full CRUD operations, schema management, record comments, webhooks, batch operations, governance controls, and AI-powered analytics.

Version 5.1.0 | MCP Protocol 2026-07-28 (stateless core, legacy 2025-era clients still served) | Works with Claude, Codex, Cursor, Windsurf, VS Code, and any MCP client | npm


Quick Start (Claude Desktop)

No installation required — just add this to your Claude Desktop config and restart:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

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

That's it. npx downloads and runs the server automatically. No git clone, no npm install.

Get your token at airtable.com/create/tokens — grant all scopes listed under Token Scopes below. Get your Base ID from the URL when viewing your base: https://airtable.com/[BASE_ID]/... (or omit it and use list_bases to discover bases dynamically).


Quick Start (Claude Code)

One-command install

bash
curl -fsSL https://raw.githubusercontent.com/rashidazarang/airtable-mcp/main/setup.sh | bash

The script checks prerequisites, prompts for your Airtable token, and writes the MCP config to ~/.claude.json. Restart Claude Code (or run /mcp) to connect.

You can also pass your token directly:

bash
curl -fsSL https://raw.githubusercontent.com/rashidazarang/airtable-mcp/main/setup.sh | bash -s -- YOUR_AIRTABLE_TOKEN

Manual config

Add to ~/.claude.json under mcpServers:

json
{
  "airtable": {
    "type": "stdio",
    "command": "/bin/bash",
    "args": ["-c", "cd /tmp && npx -y @rashidazarang/airtable-mcp"],
    "env": {
      "AIRTABLE_TOKEN": "YOUR_AIRTABLE_TOKEN"
    }
  }
}

Why the bash wrapper? npx can fail to resolve the binary when run from a directory that contains a package.json with the same package name. The cd /tmp && prefix avoids this edge case.


Quick Start (Codex, Cursor, Windsurf, VS Code)

The server works with any MCP client. It serves both the modern 2026-07-28 protocol and 2025-era clients automatically — no configuration needed for either.

OpenAI Codex (CLI, IDE extension, ChatGPT desktop)

One command:

bash
codex mcp add airtable -- npx -y @rashidazarang/airtable-mcp

Or edit ~/.codex/config.toml (or .codex/config.toml for a trusted project) directly:

toml
[mcp_servers.airtable]
command = "npx"
args = ["-y", "@rashidazarang/airtable-mcp"]

[mcp_servers.airtable.env]
AIRTABLE_TOKEN = "YOUR_AIRTABLE_TOKEN"

The Codex CLI, IDE extension, and ChatGPT desktop app share this configuration.

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project):

json
{
  "mcpServers": {
    "airtable": {
      "command": "npx",
      "args": ["-y", "@rashidazarang/airtable-mcp"],
      "env": {
        "AIRTABLE_TOKEN": "YOUR_AIRTABLE_TOKEN",
        "AIRTABLE_TOOLSET": "core"
      }
    }
  }
}

Why AIRTABLE_TOOLSET=core? Cursor caps agents at 40 enabled tools across all servers, and this server exposes 42. The core profile registers the 18 record-centric tools (reads, writes, batches, governance), leaving room for other servers. Omit it (or set full) if Airtable is your only MCP server and you manage the cap by disabling individual tools in Cursor's Tools & MCP settings. Also note: Cursor offers MCP tools in Agent and Plan modes only (not Ask/Edit), and consumes tools and resources but not MCP prompts.

Windsurf

Add the same JSON block to ~/.codeium/windsurf/mcp_config.json (Cascade → MCP settings). Windsurf supports per-tool toggling if you prefer the full toolset.

VS Code (GitHub Copilot agent mode)

Add to .vscode/mcp.json:

json
{
  "servers": {
    "airtable": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@rashidazarang/airtable-mcp"],
      "env": { "AIRTABLE_TOKEN": "YOUR_AIRTABLE_TOKEN" }
    }
  }
}

Compatibility notes (any client)

  • Both protocol eras served — modern 2026-07-28 clients and legacy 2025-era clients (Codex, Cursor, Windsurf, Cline, Zed, and most others today) negotiate automatically.
  • Tool names are client-safe — bare snake_case, well under length limits, and free of : and * (reserved by Cursor's allowlist grammar server:tool).
  • Logs never touch stdout — all logging goes to stderr, so stdio framing is never corrupted.
  • Remote/HTTP clients — start the server with PORT or MCP_HTTP_PORT set and point the client at http://host:port/mcp (streamable HTTP, stateless; /health for orchestrators).
  • Tool caps — use AIRTABLE_TOOLSET=core or an explicit allowlist (e.g. AIRTABLE_TOOLSET=describe,query,list_records) for clients that limit enabled tools or to slim the agent's context.

Overview

This server provides comprehensive Airtable integration through the Model Context Protocol, enabling natural language interactions with your Airtable data. It includes 42 tools covering every Airtable PAT scope and 10 AI prompt templates for intelligent analytics.

Key Features

  • Full CRUD Operations — Create, read, update, and delete records with filtering and pagination
  • Record Comments — List, create, update, and delete comments on records
  • Schema Management — Create and modify tables, fields, and views programmatically
  • Batch Operations — Process up to 10 records per operation for improved performance
  • Webhook Management — Set up real-time notifications for data changes
  • Governance & Compliance — Allow-list governance, PII masking, and exception tracking
  • User Identity — Verify token identity with the whoami tool
  • AI Analytics — 10 prompt templates for predictive analytics, natural language queries, and automated insights
  • Multi-Base Support — Discover and work with multiple bases dynamically
  • Type Safety — Full TypeScript support with comprehensive type definitions

Protocol Support

Built on the MCP 2026-07-28 specification with the v2 TypeScript SDK (@modelcontextprotocol/server):

  • Stateless core — every request is served by a fresh server instance from a shared factory; no sessions, no sticky routing. In HTTP mode any request can land on any replica, so the server deploys cleanly to serverless and horizontally scaled environments.
  • Both eras served — modern 2026-07-28 clients (per-request envelope) and legacy 2025-era clients (initialize handshake) are handled by the same factory: per-connection era pinning over stdio, per-request stateless fallback over HTTP.
  • Transports — stdio (serveStdio) for local clients like Claude Desktop/Code, and streamable HTTP (createMcpHandler + Node adapter) when PORT/MCP_HTTP_PORT is set, with a /health endpoint for orchestrators.
  • Tasks extension — deliberately not implemented: the 2026-07-28 spec moved Tasks out of core into the io.modelcontextprotocol/tasks extension, and every operation this server exposes is a sub-second Airtable API call (batches are capped at 10 records), so background-task semantics add nothing. This will be revisited if long-running tools are added.

Prerequisites

  • Node.js 20 or later (required by the MCP v2 SDK)
  • An Airtable account with a Personal Access Token
  • Your Airtable Base ID (optional — can be discovered via the list_bases tool)

Token Scopes

Create a Personal Access Token at airtable.com/create/tokens with these scopes:

ScopePurpose
data.records:readRead records
data.records:writeCreate, update, delete records
data.recordComments:readRead record comments
data.recordComments:writeCreate, update, delete comments
schema.bases:readView table schemas
schema.bases:writeCreate and modify tables and fields
user.email:readRead user identity (whoami)
webhook:manageManage webhooks (optional)

Usage

Once configured, interact with your Airtable data using natural language:

Basic Operations

  • "List all my accessible Airtable bases"
  • "Show me all records in the Projects table"
  • "Create a new task with priority 'High' and due date tomorrow"
  • "Update the status of task ID rec123 to 'Completed'"
  • "Search for records where Status equals 'Active'"

Schema Management

  • "Show me the complete schema for this base"
  • "Create a new table called 'Tasks' with Name, Priority, and Due Date fields"
  • "Add a Status field to the Projects table"

Record Comments

  • "Show me all comments on record rec123"
  • "Add a comment to this record: 'Reviewed and approved'"
  • "Update my comment to say 'Needs revision'"

Batch Operations

  • "Create 5 new records at once in the Tasks table"
  • "Update multiple records with new status values"
  • "Delete these 3 records in one operation"

Webhooks

  • "List all active webhooks in my base"
  • "Create a webhook for changes to my Projects table"

Available Tools (42)

Core Operations (4 tools)

ToolDescription
list_basesList all accessible bases with permissions
describeDescribe base or table schema (supports detail levels)
queryQuery records with filtering, sorting, and pagination
search_recordsAdvanced search with Airtable formulas

Record CRUD (5 tools)

ToolDescription
list_recordsList records with field selection and pagination
get_recordRetrieve a single record by ID
createCreate new records (requires dryRun diff review)
updateUpdate existing records (requires dryRun diff review)
delete_recordRemove a record from a table

Upsert (2 tools)

ToolDescription
upsertUpdate or create records based on merge fields
batch_upsert_recordsBatch upsert with merge-on fields

Schema Discovery (4 tools)

ToolDescription
list_tablesGet all tables in a base with schema info
get_base_schemaGet complete schema for any base
list_field_typesReference guide for available field types
get_table_viewsList all views for a table

Table Management (3 tools)

ToolDescription
create_tableCreate tables with custom field definitions
update_tableModify table names and descriptions
delete_tableRemove tables (requires confirmation)

Field Management (3 tools)

ToolDescription
create_fieldAdd fields to existing tables
update_fieldModify field properties and options
delete_fieldRemove fields (requires confirmation)

Batch Operations (3 tools)

ToolDescription
batch_create_recordsCreate up to 10 records at once
batch_update_recordsUpdate up to 10 records simultaneously
batch_delete_recordsDelete up to 10 records in one operation

Webhook Management (5 tools)

ToolDescription
list_webhooksView all configured webhooks
create_webhookSet up real-time notifications
delete_webhookRemove webhook configurations
get_webhook_payloadsRetrieve notification history
refresh_webhookExtend webhook expiration

Views & Attachments (3 tools)

ToolDescription
create_viewCreate views (grid, form, calendar, etc.)
get_view_metadataGet view details including filters
upload_attachmentAttach files from URLs

Base Management (3 tools)

ToolDescription
create_baseCreate new bases with initial structure
list_collaboratorsView collaborators and permissions
list_sharesList shared views and configurations

Record Comments (4 tools)

ToolDescription
list_commentsList comments on a record
create_commentAdd a comment to a record
update_commentEdit an existing comment
delete_commentRemove a comment

User Info (1 tool)

ToolDescription
whoamiGet current user identity and scopes

Governance & Administration (2 tools)

ToolDescription
list_governanceReturn governance allow-lists and PII masking policies
list_exceptionsList recent exceptions and remediation proposals

AI Intelligence Suite

Ten AI prompt templates for advanced analytics:

PromptDescription
analyze_dataStatistical analysis with anomaly detection
create_reportIntelligent report generation
data_insightsBusiness intelligence and pattern discovery
optimize_workflowAutomation recommendations
smart_schema_designDatabase optimization suggestions
data_quality_auditQuality assessment and remediation
predictive_analyticsForecasting and trend prediction
natural_language_queryProcess questions with context awareness
smart_data_transformationAI-assisted data processing
automation_recommendationsWorkflow optimization with cost-benefit analysis

Advanced Configuration

Smithery Cloud

json
{
  "mcpServers": {
    "airtable": {
      "command": "npx",
      "args": [
        "@smithery/cli",
        "run",
        "@rashidazarang/airtable-mcp"
      ],
      "env": {
        "AIRTABLE_TOKEN": "YOUR_TOKEN",
        "AIRTABLE_BASE_ID": "YOUR_BASE_ID"
      }
    }
  }
}

Environment Variables

VariableRequiredDescription
AIRTABLE_TOKENYesPersonal Access Token
AIRTABLE_BASE_IDNoDefault base ID (discoverable via list_bases)
AIRTABLE_TOOLSETNoWhich tools to register: full (default, all 42), core (18 record-centric tools — fits Cursor's 40-tool cap), or a comma-separated allowlist of tool names
LOG_LEVELNoLogging level (default: info)
MCP_HTTP_PORTNoEnable HTTP transport for hosted deployments

Development

Not required for users. Clone the repo only if you want to contribute or modify the server. End users should use npx as shown in the Quick Start sections above.

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

Testing

bash
npm run test:types     # Type checking
npm test               # Run test suite

Project Structure

airtable-mcp/
├── src/typescript/          # TypeScript implementation
│   ├── app/
│   │   ├── tools/           # 42 tool implementations
│   │   ├── prompts/         # 10 AI prompt registrations
│   │   ├── airtable-client.ts
│   │   ├── governance.ts
│   │   └── context.ts
│   └── airtable-mcp-server.ts
├── dist/                    # Compiled output
├── docs/                    # Documentation
├── types/                   # TypeScript definitions
└── bin/                     # CLI executables

Troubleshooting

Connection Issues

  • Verify the MCP server is running
  • Restart your MCP client
  • Check that your token has the required scopes

Invalid Token

  • Verify your Personal Access Token is correct
  • Confirm the token has the required scopes
  • Check for extra whitespace in credentials

Base Not Found

  • Confirm your Base ID is correct
  • Verify your token has access to the base
  • Use list_bases to discover accessible bases

Documentation


Contributing

Contributions are welcome. Please open an issue first to discuss major changes.


License

MIT License — see LICENSE for details.


Support

Cài đặt

TypingMind
{
  "mcpServers": {
    "airtable-mcp": {
      "command": "npx",
      "args": [
        "@rashidazarang/airtable-mcp"
      ],
      "env": {
        "AIRTABLE_TOKEN": "<AIRTABLE_TOKEN>",
        "AIRTABLE_BASE_ID": "<AIRTABLE_BASE_ID>"
      }
    }
  }
}

Dùng MCP Airtable MCP 服务器 với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Airtable MCP 服务器, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Airtable MCP 服务器 làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Airtable MCP 服务器.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "airtable-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rashidazarang/airtable-mcp"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Airtable MCP 服务器, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Airtable MCP 服务器.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Airtable MCP 服务器 giúp tôi làm việc này không?
Airtable MCP 服务器
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Airtable MCP 服务器.

Câu hỏi thường gặp

Máy chủ MCP Airtable MCP 服务器 dùng để làm gì?

Airtable MCP 服务器 là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Airtable MCP 服务器 với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Airtable MCP 服务器 với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Airtable MCP 服务器 với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Airtable MCP 服务器, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Airtable MCP 服务器 với TypingMind?

Airtable MCP 服务器 hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Airtable MCP 服务器 cung cấp những công cụ nào trong TypingMind?

Airtable MCP 服务器 cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Airtable MCP 服务器 không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Airtable MCP 服务器 yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇