Airtable Connector
Executable Airtable connector for bases, records, and approved writes.
Credential setup
bearerCreate a personal access token limited to the selected bases and record scopes.
Setup docs: https://airtable.com/create/tokens
After adding this connector, attach the credential on the server page, then run astrail tools list.
Hosted MCP endpoint
/api/mcp/preset-airtablePrivate servers require an Astrail API key in the Authorization header.
MCP client snippets
ConnectClaude Desktop config
{
"mcpServers": {
"airtable-connector": {
"url": "/api/mcp/preset-airtable"
}
}
}cURL initialize
curl -sS -X POST "/api/mcp/preset-airtable" \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'cURL tools/list
curl -sS -X POST "/api/mcp/preset-airtable" \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'cURL tools/call
curl -sS -X POST "/api/mcp/preset-airtable" \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"airtable_list_bases","arguments":{}}}'Runtime behavior
healthynot_checkedsafe_rest_executionnot recordednot recordednot recordednonestructured fallbackstandardauth_required / oauth_requiredmapping_requiredAstrail does not evaluate generated TypeScript inside Next.js. Hosted calls are routed through stored tool metadata and endpoint maps.
Tools
5airtable_list_basesList Airtable bases available to the connected token.
airtable_list_recordsList records from an Airtable table.
airtable_get_recordRetrieve a single Airtable record.
airtable_create_recordCreate an Airtable record after approval.
airtable_update_recordUpdate an Airtable record after approval.
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";
const server = new McpServer({ name: "Airtable Connector", version: "1.0.0" });
// Curated Astrail connector for: airtable_list_bases, airtable_list_records, airtable_get_record, airtable_create_record, airtable_update_record.
// The hosted endpoint executes its verified deterministic endpoint map. Attach a least-privilege provider credential before calling private tools.
server.tool("connector_status", "Confirm this curated connector template is installed.", z.object({}), async () => ({
content: [{ type: "text", text: "Connector installed. Attach provider credentials to enable hosted API calls." }],
}));
const transport = new StdioServerTransport();
await server.connect(transport);