使用Airtable构建MCP服务器
中级
这是一个Building Blocks, AI, IT Ops领域的自动化工作流,包含 13 个节点。主要使用 AirtableTool, Agent, McpTrigger, ChatTrigger, LmChatOpenAi 等节点,结合人工智能技术实现智能自动化。 使用Airtable构建MCP服务器
前置要求
- •Airtable API Key
- •OpenAI API Key
使用的节点 (13)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "kS9EfgZeaK3QV6Mw",
"meta": {
"instanceId": "9219ebc7795bea866f70aa3d977d54417fdf06c41944be95e20cfb60f992db19",
"templateCredsSetupCompleted": true
},
"name": "使用 Airtable 构建 MCP 服务器",
"tags": [],
"nodes": [
{
"id": "357649f0-43c5-4d6c-97b9-079fa3b5c1f3",
"name": "当收到聊天消息时",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-100,
-80
],
"webhookId": "c42d1e2e-b175-48cf-bfd4-aa8289266a20",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "ddf28f88-d76c-4ab6-82c4-c1ab1b746009",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
152,
-180
],
"parameters": {
"options": {}
},
"typeVersion": 1.9
},
{
"id": "3170d4fd-700c-4449-a800-0395c06711aa",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
260,
40
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "557b0e0a-133b-4e80-afba-408803ed9898",
"name": "Airtable MCP 客户端",
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"position": [
600,
100
],
"parameters": {
"sseEndpoint": "https://your-sse-endpoint-url"
},
"typeVersion": 1
},
{
"id": "a0bc9aa3-decb-42f1-bee4-b9e425db81e8",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
80,
40
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o",
"cachedResultName": "gpt-4o"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "vupAk5StuhOafQcb",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "7737e491-ddd4-4e4f-a34d-73f518497990",
"name": "MCP 服务器触发器",
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"position": [
140,
240
],
"webhookId": "a93f35fb-3a86-4475-9ebd-1434aef8e433",
"parameters": {
"path": "insert-your-cool-path-here"
},
"typeVersion": 1
},
{
"id": "0ce9e128-be31-41d8-ae06-894316781358",
"name": "获取",
"type": "n8n-nodes-base.airtableTool",
"position": [
0,
460
],
"parameters": {
"id": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Record_ID', ``, 'string') }}",
"base": {
"__rl": true,
"mode": "list",
"value": "appltMFy409fOqCVt",
"cachedResultUrl": "https://airtable.com/appltMFy409fOqCVt",
"cachedResultName": "AI news and social posts"
},
"table": {
"__rl": true,
"mode": "list",
"value": "tblZwA0JCNPeORaGi",
"cachedResultUrl": "https://airtable.com/appltMFy409fOqCVt/tblZwA0JCNPeORaGi",
"cachedResultName": "Social Posts"
},
"options": {}
},
"credentials": {
"airtableTokenApi": {
"id": "4hNTBxRPe8ft4Iic",
"name": "Airtable Personal Access Token account"
}
},
"typeVersion": 2.1
},
{
"id": "1f9c6a61-9357-4fa1-81e0-42719284d291",
"name": "搜索",
"type": "n8n-nodes-base.airtableTool",
"position": [
140,
460
],
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": "appltMFy409fOqCVt",
"cachedResultUrl": "https://airtable.com/appltMFy409fOqCVt",
"cachedResultName": "AI news and social posts"
},
"table": {
"__rl": true,
"mode": "list",
"value": "tblZwA0JCNPeORaGi",
"cachedResultUrl": "https://airtable.com/appltMFy409fOqCVt/tblZwA0JCNPeORaGi",
"cachedResultName": "Social Posts"
},
"options": {},
"operation": "search",
"returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}",
"filterByFormula": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Filter_By_Formula', ``, 'string') }}"
},
"credentials": {
"airtableTokenApi": {
"id": "4hNTBxRPe8ft4Iic",
"name": "Airtable Personal Access Token account"
}
},
"typeVersion": 2.1
},
{
"id": "061a0eb9-26de-47f1-b444-5dd98c984d70",
"name": "更新",
"type": "n8n-nodes-base.airtableTool",
"position": [
260,
460
],
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": "appltMFy409fOqCVt",
"cachedResultUrl": "https://airtable.com/appltMFy409fOqCVt",
"cachedResultName": "AI news and social posts"
},
"table": {
"__rl": true,
"mode": "list",
"value": "tblZwA0JCNPeORaGi",
"cachedResultUrl": "https://airtable.com/appltMFy409fOqCVt/tblZwA0JCNPeORaGi",
"cachedResultName": "Social Posts"
},
"columns": {
"value": {},
"schema": [
{
"id": "id",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "id",
"defaultMatch": true
},
{
"id": "sourceHeadline",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "sourceHeadline",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "sourceSummary",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "sourceSummary",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "goToArticle",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "goToArticle",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "sourceURL",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "sourceURL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "socialChannels",
"type": "array",
"display": true,
"options": [
{
"name": "Twitter",
"value": "Twitter"
},
{
"name": "LinkedIn",
"value": "LinkedIn"
},
{
"name": "Blog",
"value": "Blog"
},
{
"name": "Instagram",
"value": "Instagram"
},
{
"name": "Facebook",
"value": "Facebook"
}
],
"removed": false,
"readOnly": false,
"required": false,
"displayName": "socialChannels",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "needsImage?",
"type": "options",
"display": true,
"options": [
{
"name": "Yes",
"value": "Yes"
},
{
"name": "No",
"value": "No"
}
],
"removed": false,
"readOnly": false,
"required": false,
"displayName": "needsImage?",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "twitterCopy",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "twitterCopy",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "linkedinCopy",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "linkedinCopy",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "instagramCopy",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "instagramCopy",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "facebookCopy",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "facebookCopy",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "blogCopy",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "blogCopy",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "imagePrompt",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "imagePrompt",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "postImage",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "postImage",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Status",
"type": "options",
"display": true,
"options": [
{
"name": "Waiting for Content",
"value": "Waiting for Content"
},
{
"name": "Needs Approval",
"value": "Needs Approval"
},
{
"name": "Approved",
"value": "Approved"
},
{
"name": "Posted",
"value": "Posted"
}
],
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Status",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "datePosted",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "datePosted",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "ID",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "ID",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "autoMapInputData",
"matchingColumns": [
"id"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update"
},
"credentials": {
"airtableTokenApi": {
"id": "4hNTBxRPe8ft4Iic",
"name": "Airtable Personal Access Token account"
}
},
"typeVersion": 2.1
},
{
"id": "b0e17724-5a56-4b71-997d-f9f44d16e5bc",
"name": "删除",
"type": "n8n-nodes-base.airtableTool",
"position": [
400,
460
],
"parameters": {
"id": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Record_ID', ``, 'string') }}",
"base": {
"__rl": true,
"mode": "list",
"value": "appltMFy409fOqCVt",
"cachedResultUrl": "https://airtable.com/appltMFy409fOqCVt",
"cachedResultName": "AI news and social posts"
},
"table": {
"__rl": true,
"mode": "list",
"value": "tblZwA0JCNPeORaGi",
"cachedResultUrl": "https://airtable.com/appltMFy409fOqCVt/tblZwA0JCNPeORaGi",
"cachedResultName": "Social Posts"
},
"operation": "deleteRecord"
},
"credentials": {
"airtableTokenApi": {
"id": "4hNTBxRPe8ft4Iic",
"name": "Airtable Personal Access Token account"
}
},
"typeVersion": 2.1
},
{
"id": "2d0273b6-520b-45b7-8192-a83b10661028",
"name": "创建",
"type": "n8n-nodes-base.airtableTool",
"position": [
520,
460
],
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": "appltMFy409fOqCVt",
"cachedResultUrl": "https://airtable.com/appltMFy409fOqCVt",
"cachedResultName": "AI news and social posts"
},
"table": {
"__rl": true,
"mode": "list",
"value": "tblZwA0JCNPeORaGi",
"cachedResultUrl": "https://airtable.com/appltMFy409fOqCVt/tblZwA0JCNPeORaGi",
"cachedResultName": "Social Posts"
},
"columns": {
"value": {},
"schema": [
{
"id": "sourceHeadline",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "sourceHeadline",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "sourceSummary",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "sourceSummary",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "goToArticle",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "goToArticle",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "sourceURL",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "sourceURL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "socialChannels",
"type": "array",
"display": true,
"options": [
{
"name": "Twitter",
"value": "Twitter"
},
{
"name": "LinkedIn",
"value": "LinkedIn"
},
{
"name": "Blog",
"value": "Blog"
},
{
"name": "Instagram",
"value": "Instagram"
},
{
"name": "Facebook",
"value": "Facebook"
}
],
"removed": false,
"readOnly": false,
"required": false,
"displayName": "socialChannels",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "needsImage?",
"type": "options",
"display": true,
"options": [
{
"name": "Yes",
"value": "Yes"
},
{
"name": "No",
"value": "No"
}
],
"removed": false,
"readOnly": false,
"required": false,
"displayName": "needsImage?",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "twitterCopy",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "twitterCopy",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "linkedinCopy",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "linkedinCopy",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "instagramCopy",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "instagramCopy",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "facebookCopy",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "facebookCopy",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "blogCopy",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "blogCopy",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "imagePrompt",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "imagePrompt",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "postImage",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "postImage",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Status",
"type": "options",
"display": true,
"options": [
{
"name": "Waiting for Content",
"value": "Waiting for Content"
},
{
"name": "Needs Approval",
"value": "Needs Approval"
},
{
"name": "Approved",
"value": "Approved"
},
{
"name": "Posted",
"value": "Posted"
}
],
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Status",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "datePosted",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "datePosted",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "ID",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "ID",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "autoMapInputData",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "create"
},
"credentials": {
"airtableTokenApi": {
"id": "4hNTBxRPe8ft4Iic",
"name": "Airtable Personal Access Token account"
}
},
"typeVersion": 2.1
},
{
"id": "69e906cf-82da-45c4-bacc-00970902d1f5",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
-60
],
"parameters": {
"width": 360,
"height": 280,
"content": "## 更新 SSE 端点"
},
"typeVersion": 1
},
{
"id": "819d82c9-da54-48c6-a007-2e8750cfb3e2",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-520,
-220
],
"parameters": {
"width": 380,
"height": 540,
"content": "## 与您的 Airtable 数据库对话"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "2355fe0d-0515-4d1b-8a02-42712191f466",
"connections": {
"Get": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Delete": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Search": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Update": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Airtable MCP Client": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 构建模块, 人工智能, IT 运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
个人助理 MCP 服务器
使用MCP构建集成Google Gemini、Gmail和日历的个人助理
Gmail Tool
Agent
Google Sheets Tool
+7
20 节点Aitor | 1node.ai
其他
使用Milvus和Cohere的RAG AI代理
使用Milvus、Cohere和OpenAI为Google Drive构建RAG文档问答系统
Google Drive
Agent
Extract From File
+9
14 节点Aitor | 1node.ai
客户支持
pipedrive mcp
使用Google Gemini AI进行自然语言Pipedrive CRM管理
Gmail
Pipedrive Tool
Agent
+6
32 节点Aitor | 1node.ai
销售
Mistral转录
使用Google日历和自定义函数构建MCP服务器
Set
Switch
Debug Helper
+11
32 节点Solomon
构建模块
构建自定义n8n工作流MCP服务器
构建自定义n8n工作流MCP服务器
If
N8n
Set
+15
46 节点Jimleuk
其他
MCP Supabase代理
MCP Supabase代理 - 使用AI管理数据库
Supabase Tool
Agent
Mcp Trigger
+5
16 节点Amanda Benks
工程
工作流信息
难度等级
中级
节点数量13
分类3
节点类型8
作者
Aitor | 1node.ai
@aitoralonsoHi, I’m Aitor, cofounder of 1node.ai. We help businesses integrate full-scale AI solutions that save time, cut costs, and increase revenue. Guaranteed. Need help building smarter workflows? Visit 1node.ai and let's connect.
外部链接
在 n8n.io 查看 →
分享此工作流