Provides tools for interacting with Airtable bases and schemas, enabling listing of accessible bases and retrieval of detailed schema information including table structures and metadata.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Airtable MCP Servershow me the schema for my project management base"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Airtable MCP
An MCP (Model Context Protocol) server that provides tools for interacting with Airtable bases and schemas.
Overview
This project implements an xMCP application that allows AI assistants to interact with Airtable.
Related MCP server: Metabase MCP Server
Features
ποΈ List all accessible Airtable bases
π Retrieve detailed schema information for any base
π Secure authentication using Airtable API keys
π Built with TypeScript and xMCP framework
π§ HTTP server support for easy integration
Prerequisites
Node.js >= 20.0.0
Airtable API key
Access to Airtable bases
Installation
Clone the repository:
git clone <repository-url>
cd airtable-mcpInstall dependencies:
npm installSet up environment variables: Create a
.envfile in the root directory with:
AIRTABLE_API_KEY=your_airtable_api_key_here
AIRTABLE_API_URL=https://api.airtable.comGetting Started
Run the development server:
npm run devBuild for production:
npm run build
npm startAvailable Tools
listBases
Description: List all Airtable bases owned by the user
Parameters: None
Returns: JSON array of bases with their metadata
getBaseSchema
Description: Get the schema of a specific Airtable base
Parameters:
baseId(string): The ID of the Airtable base
Returns: JSON object containing the base's table schemas
Scripts
npm run dev- Start development server with hot reloadnpm run build- Build the project for productionnpm start- Start the production HTTP servernpm run lint- Run TypeScript type checking
Project Structure
airtable-mcp/
βββ src/
β βββ tools/
βββ package.json
βββ xmcp.config.ts # xMCP configuration
βββ tsconfig.json # TypeScript configurationThis project uses the structured approach where tools are automatically discovered from the src/tools directory. Each tool is defined in its own file with the following structure:
import { type ToolMetadata, InferSchema } from "xmcp";
import { z } from "zod";
// Define the schema for tool parameters (optional)
export const schema = {
baseId: z.string(),
};
// Define tool metadata
export const metadata: ToolMetadata = {
name: "getBaseSchema",
description: "List the schema of the base owned by the user",
annotations: {
readOnlyHint: true,
destructiveHint: false,
idempotentHint: true,
},
};
// Tool implementation
export default async function getBaseSchema(args: InferSchema<typeof schema>) {
// Implementation here
}Dependencies
airtable: Official Airtable JavaScript client
xmcp: xMCP framework for building MCP servers
zod: Runtime type validation
Learn More
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.