Airtable MCP Server (Non-Engineer Track)
Goal
Create an MCP server that can read and write to your Airtable base by having Cursor generate the code from the official API documentation.
Before You Start
You need:
- Airtable account - Sign in with your Autodesk email at airtable.com
- A base with data - Any table works (tasks, contacts, etc.)
- Personal Access Token - See instructions below
Get Your Airtable Credentials
Step 1: Create Personal Access Token
- Go to airtable.com/create/tokens
- Click "Create new token"
- Name: "MCP Workshop"
- Scopes: Add
data.records:read and data.records:write
- Access: Select your base
- Click Create token
- Copy the token (starts with
pat_) - save it somewhere safe!
Step 2: Get Your Base ID and Table ID
- Open your base in Airtable
- Look at the URL:
https://airtable.com/appXXXXXXXXXXXXX/tblYYYYYYYYYYYYYYY/viwZZZZZZZZZZZZZZZ
- Base ID: The part starting with
app (e.g., appThsjff4YKo6BSm)
- Table ID: The part starting with
tbl (e.g., tblOhmJW6zEVwGWiW)
Prompt
Copy and paste this prompt into Cursor:
1Create an Airtable MCP server by reading the official API documentation.
2
3Use the Airtable Web API docs to understand the API:
4- List records: https://airtable.com/developers/web/api/list-records
5- Get record: https://airtable.com/developers/web/api/get-record
6- Create records: https://airtable.com/developers/web/api/create-records
7
8Generate an MCP server with tools for these three operations.
9
10Reference @starter-template/src/index.ts for the MCP SDK patterns.
11
12Project setup:
13- Create in a new folder called airtable-mcp in my current workspace
14- Environment variables for credentials: AIRTABLE_PAT, AIRTABLE_BASE_ID, AIRTABLE_TABLE_NAME
15- Use zod for input/output schemas based on what you learn from the API docs
16- Handle errors gracefully
17
18After creating the server:
191. Run npm install
202. Get my absolute path with pwd
213. Update my Cursor MCP config at ~/.cursor/mcp.json with the server entry and placeholder credentials
22
23I will provide my Airtable credentials:
24- AIRTABLE_PAT (Personal Access Token starting with pat_)
25- AIRTABLE_BASE_ID (starts with app)
26- AIRTABLE_TABLE_NAME (table ID starting with tbl or the table name)
What Happens
Cursor will:
- Read the official Airtable API docs to understand the endpoints
- Generate the MCP server code based on what it learns
- Create the project structure and install dependencies
- Update your Cursor config with the server
This demonstrates the real power of AI coding: you point it at documentation, it generates working code.
After the Prompt
- Provide your Airtable credentials when asked
- Restart Cursor (Cmd+Shift+P → "Reload Window")
- Test by typing: "List my Airtable records"
Config File Location
| OS |
Path |
| macOS |
/Users/{username}/.cursor/mcp.json |
| Windows |
C:\Users\{username}\.cursor\mcp.json |
| Linux |
/home/{username}/.cursor/mcp.json |
Troubleshooting
"Missing environment variables" error?
- Make sure the
env section is in your Cursor config
- Double-check your PAT and Base ID
"INVALID_PERMISSIONS" error?
- Your PAT needs
data.records:read and data.records:write scopes
- Make sure you added your base to the token's access list
"TABLE_NOT_FOUND" error?
- Check the exact table name (case-sensitive) or use the table ID instead
- Table ID starts with
tbl and can be found in the URL
- Update
AIRTABLE_TABLE_NAME in your Cursor config
What's Next?
Want more Airtable capabilities? Just point Cursor at more API docs:
1Add a new tool to my Airtable MCP server.
2
3Use this API endpoint: https://airtable.com/developers/web/api/update-record
4
5Add it to my existing airtable-mcp/src/index.ts following the same patterns.
Cursor reads the docs and generates the tool. That's it.