@felores/airtable-mcp-server

中文文档
0.3.0发布于 2025/01/19MITES Module近 30 天下载 2191

An Airtable Model Context Protocol Server

原始使用文档
文档目录15 节
  1. Installation
  2. Method 1: Using npx (Recommended)
  3. Method 2: Using mcp-installer :
  4. Method 3: Local Development Installation
  5. Obtaining Airtable API Key
  6. Configuring Claude Desktop
  7. Verifying Installation
  8. Features
  9. Available Operations
  10. Field Types
  11. Field Colors
  12. Contributing
  13. Development Guidelines
  14. Getting Help
  15. License

Airtable MCP Server

A Model Context Protocol server that provides tools for interacting with Airtable's API. This server enables programmatic management of Airtable bases, tables, fields, and records through Claude Desktop or other MCP clients.

This MCP server features a specialized implementation that allows it to build tables in stages, leveraging Claude's agentic capabilities and minimizing the failure rate typically seen in other MCP servers for Airtable when building complex tables. It also includes system prompts that provide additional guidance for the LLM when leveraging projects in Claude Desktop.

Installation

⚠️ Important: Before running, make sure to:

  1. Set up your Airtable API key (see API Key Setup)
  2. Configure Claude Desktop (see Configuration)

The easiest way to run the server is with npx:

# Run directly (will install latest version)
npx airtable-server

# Or specify a version
npx [email protected]

Method 2: Using mcp-installer:

After you have mcp-installer installed, you can install the Airtable MCP server by prompting Claude Desktop:

Install the MCP server: airtable-server. Set the environment variable AIRTABLE_API_KEY to 'your_airtable_api_key_here'

Claude will install the server, modify the configuration file and set the environment variable AIRTABLE_API_KEY to your Airtable API key.

Method 3: Local Development Installation

If you want to contribute or modify the code:

# Clone the repository
git clone https://github.com/felores/airtable-mcp.git
cd airtable-mcp

# Install dependencies
npm install

# Build the server
npm run build

# Run locally
node build/index.js

Obtaining Airtable API Key

  1. Log in to your Airtable account at airtable.com
  2. Create a personal access token at Airtable's Builder Hub
  3. In the Personal access token section select these scopes:
    • data.records:read
    • data.records:write
    • schema.bases:read
    • schema.bases:write
  4. Select the workspace or bases you want to give access to the personal access token
  5. Keep this key secure - you'll need it for configuration

Configuring Claude Desktop

  1. Navigate to the Claude configuration directory:

    • Windows: C:\Users\NAME\AppData\Roaming\Claude
    • macOS: ~/Library/Application Support/Claude/

    (You can also find these directories in Claude Desktop > Settings > Developer > Edit Config)

  2. Create or edit claude_desktop_config.json:

For npx installation:

{
  "mcpServers": {
    "airtable": {
      "command": "npx",
      "args": ["airtable-server"],
      "env": {
        "AIRTABLE_API_KEY": "your_api_key_here"
      }
    }
  }
}

For local installation:

{
  "mcpServers": {
    "airtable": {
      "command": "node",
      "args": ["path/to/airtable-mcp/build/index.js"],
      "env": {
        "AIRTABLE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Note: For Windows paths, use double backslashes (\) or forward slashes (/).

Verifying Installation

  1. Start Claude Desktop
  2. The Airtable MCP server should be listed in the "Connected MCP Servers" section
  3. Test with a simple command:
List all bases

Features

Available Operations

Base Management

  • list_bases: List all accessible Airtable bases
  • list_tables: List all tables in a base
  • create_table: Create a new table with fields
  • update_table: Update a table's name or description

Field Management

  • create_field: Add a new field to a table
  • update_field: Modify an existing field

Record Operations

  • list_records: Retrieve records from a table
  • create_record: Add a new record
  • update_record: Modify an existing record
  • delete_record: Remove a record
  • search_records: Find records matching criteria
  • get_record: Get a single record by its ID

Field Types

  • singleLineText: Single line text field
  • multilineText: Multi-line text area
  • email: Email address field
  • phoneNumber: Phone number field
  • number: Numeric field with optional precision
  • currency: Money field with currency symbol
  • date: Date field with format options
  • singleSelect: Single choice from options
  • multiSelect: Multiple choices from options

Field Colors

Available colors for select fields:

  • blueBright, redBright, greenBright
  • yellowBright, purpleBright, pinkBright
  • grayBright, cyanBright, orangeBright
  • blueDark1, greenDark1

Contributing

We welcome contributions to improve the Airtable MCP server! Here's how you can contribute:

  1. Fork the Repository

  2. Create a Feature Branch

    git checkout -b feature/your-feature-name
    
  3. Make Your Changes

    • Follow the existing code style
    • Add tests if applicable
    • Update documentation as needed
  4. Commit Your Changes

    git add .
    git commit -m "feat: add your feature description"
    
  5. Push to Your Fork

    git push origin feature/your-feature-name
    
  6. Create a Pull Request

    • Go to your fork on GitHub
    • Click "New Pull Request"
    • Select your feature branch
    • Describe your changes in detail

Development Guidelines

  • Use TypeScript for new code
  • Follow semantic commit messages
  • Update documentation for new features
  • Add examples for new functionality
  • Test your changes thoroughly

Getting Help

  • Open an issue for bugs or feature requests
  • Join discussions in existing issues
  • Ask questions in pull requests

Your contributions help make this tool better for everyone. Whether it's:

  • Adding new features
  • Fixing bugs
  • Improving documentation
  • Suggesting enhancements

We appreciate your help in making the Airtable MCP server more powerful and user-friendly!

License

MIT


Made with ❤️ by the Airtable MCP community

版本与发布记录

@felores/airtable-mcp-server 共发布 1 个版本,首次发布于 2025/01/19;过去 12 个月发布了 0 个版本。

版本发布日期距今
0.3.0latest2025/01/191.8 年前

关于 @felores/airtable-mcp-server 的常见问题

@felores/airtable-mcp-server 是什么?

An Airtable Model Context Protocol Server

如何安装 @felores/airtable-mcp-server?

在项目目录运行 npm install @felores/airtable-mcp-server,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 airtable-server,可以用 npx airtable-server 直接运行。

@felores/airtable-mcp-server 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/felores__airtable-mcp-server 是否存在。

@felores/airtable-mcp-server 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@felores/airtable-mcp-server 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=16.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@felores/airtable-mcp-server 可以商用吗?

@felores/airtable-mcp-server 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@felores/airtable-mcp-server 的下载量有多少?

根据 npm 官方下载统计,@felores/airtable-mcp-server 在 2026/10/15 – 2026/11/13 这 30 天内被下载 2,191 次,日均约 73 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@felores/airtable-mcp-server 还在维护吗?

最新版本 0.3.0 发布于 2025/01/19(1.8 年前);至今共发布 1 个版本,其中过去 12 个月发布了 0 个;首次发布于 2025/01/19。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。