FA

felores/airtable-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

75 stars 34 forks 质量 59 趋势 0NOASSERTION

felores/airtable-mcp 是从 https://github.com/felores/airtable-mcp. 导入的 MCP 服务器候选。

概览

felores/airtable-mcp 是从 https://github.com/felores/airtable-mcp. 导入的 MCP 服务器候选。

概述(AI 翻译)

一台模型上下文协议服务器,提供与 Airtable API 交互的工具。该服务器支持通过 Claude Desktop 或其他 MCP 客户端对 Airtable 的基、表、字段和记录进行程序化管理。

该MCP服务器具备专门实现,能够分阶段构建表,利用Claude的代理能力,并在构建复杂表时降低其他MCP服务器中常见的失败率。它还包含系统提示符和项目知识标记文件,为LLM在Claude Desktop中项目时提供额外指导。

要求:Node.js

  1. 安装Node.js(版本18及以上)和 nodejs.org 的NPM文件
  2. 确认安装:

⚠️ 重要:运行前,确保设置好你的Airtable API密钥

获取 Airtable API 密钥

  1. 登录您的Airtable账户 airtable.com
  2. 在 Airtable 的 Builder Hub 创建个人访问令牌
  3. 在个人访问令牌部分选择以下范围:
  • data.records:read
  • data.records:write
  • schema.bases:read
  • schema.bases:write

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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 prompt and project knowledge markdown files to provide additional guidance for the LLM when leveraging projects in Claude Desktop.

Requirements: Node.js

  1. Install Node.js (version 18 or higher) and npm from nodejs.org
  2. Verify installation:
    node --version
    npm --version
    

⚠️ Important: Before running, make sure to setup your Airtable API key

Obtaining an 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

Installation

  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 inside the Claude Desktop app: Claude Desktop > Settings > Developer > Edit Config

  2. Create or edit claude_desktop_config.json:

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

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

Method 2: Using mcp-installer:

mcp-installer is a MCP server to install other MCP servers.

  1. Install mcp-installer
  2. Install the Airtable MCP server by prompting Claude Desktop:
Install @felores/airtable-mcp-server set the environment variable AIRTABLE_API_KEY to 'your_api_key'

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 run this in your terminal:

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

# Install dependencies
在 GitHub 查看完整 README

安装

npx @felores/airtable-mcp-server
新手?先看 mcpskill.org 教程 →

配置

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