8
n8n 中文网amn8n.com

完整Instagram API MCP服务器

高级

这是一个Social Media, AI Chatbot领域的自动化工作流,包含 41 个节点。主要使用 HttpRequestTool, McpTrigger 等节点。 完整Instagram API MCP服务器

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "crsw2KY3UyqyRcyh",
  "meta": null,
  "name": "完整 Instagram API MCP 服务器",
  "tags": [],
  "nodes": [
    {
      "id": "0b87017c-b087-496b-bc15-8a02b32359c8",
      "name": "设置说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "853cdf3c-339a-4551-891a-3ca6316e05bd",
      "name": "工作流概览",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ee996649-69d1-4869-94fd-9c99e6862261",
      "name": "Instagram MCP 服务器",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -620,
        -240
      ],
      "webhookId": "8fee53d1-a963-4885-a7c9-c4ebcf53e60a",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "77b54851-9728-43df-8159-69aa0b1f8a05",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4024eca7-7575-4962-9c96-eaf04f8a3801",
      "name": "按地理位置获取最近媒体",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        -60
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "25e8de7e-8813-47df-8cf6-ddef329431b8",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1780409e-1244-4633-be6d-dbbcb8cb01d4",
      "name": "按坐标搜索位置",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        180
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f113457d-c09e-446c-8325-8b0f6fbc5cc5",
      "name": "获取位置详情",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        180
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "8e401935-1ad9-4584-a597-f82b9102b0f2",
      "name": "按位置获取最近媒体",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        180
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "85591959-3139-4ad4-8f92-68294e2d9226",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6ec77432-5dc1-46cb-ab70-a1e35f2d190c",
      "name": "获取热门媒体",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        420
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "692016d3-7496-4f93-b15f-f05f7c2d7d12",
      "name": "按区域搜索媒体",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        420
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1b9bf467-8fad-4efc-bd9c-bcd9cae28b00",
      "name": "按短代码获取媒体",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        420
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "72b7be4d-bf49-4844-a7e2-0a8ba0b1de0b",
      "name": "获取媒体详情",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        80,
        420
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b8071130-c98d-48cb-acef-dcb654edc99c",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        620
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "592e91c1-b9bb-4568-b8a8-797230baff3f",
      "name": "获取媒体评论",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        660
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e75088cd-e47d-43be-95aa-b5e5d11429c0",
      "name": "创建媒体评论",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        660
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ffd786e6-c669-4783-8df1-0d7a5fc8850b",
      "name": "删除媒体评论",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        660
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "0bcdee9a-8add-4405-a623-20bb5b680d6b",
      "name": "描述 - 评论",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        660
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8fe03a1a-965b-4b04-a090-966b532c1759",
      "name": "便利贴5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        860
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "87e4becb-3192-49b9-b4ef-2f23163063b8",
      "name": "移除媒体点赞",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        900
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e88e30df-c750-4d37-8b14-d41d52d7a54e",
      "name": "获取媒体点赞",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        900
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "72b85a42-25d5-45b6-9a12-e513b0103eb5",
      "name": "点赞媒体",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        900
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "15c11deb-2df3-4ed3-90ee-0f62d60afb1a",
      "name": "描述 - 点赞",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        900
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "26e5f70c-45b5-4a1c-b05c-9762fb3a1430",
      "name": "便签 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        1100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fb1509ba-cc46-4308-b3ac-fd739b9c3f92",
      "name": "按名称搜索标签",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        1140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b9384f5a-73b5-4f61-aa43-59c2f9a2a9fb",
      "name": "获取标签详情",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        1140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b733d217-9bce-4a2d-bdf3-23a1471260d1",
      "name": "按标签获取最近媒体",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        1140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1fbabdd9-922b-49b8-9c0f-257c42edaf33",
      "name": "便签 7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        1340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bbbf42b9-55fa-46e2-adcd-d1bde003bb3f",
      "name": "按名称搜索用户",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        1380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "2b3aa92d-715b-455d-940a-76e35e7fff0d",
      "name": "获取用户动态",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        1380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "41e3000e-9011-47e5-bee6-ce702802f5fb",
      "name": "获取用户点赞的媒体",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        1380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "3f1c1716-0128-4e1f-babb-b3cb2629c92e",
      "name": "获取用户详情",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        80,
        1380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "05065354-f6f9-4d32-b7fa-bee20d914a60",
      "name": "获取用户最近媒体",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        280,
        1380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e04a39a1-7643-4681-867d-770de4011b5a",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        1580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "59aeb714-aca7-4192-984b-711d7210ff9b",
      "name": "获取关注请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        1620
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "25293d74-9088-42bc-b49b-82929a21da1a",
      "name": "获取用户粉丝",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        1620
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "8dd4f39e-c1cc-44d7-81de-908f68991673",
      "name": "获取用户关注列表",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        1620
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "04947891-de84-4204-b034-c99c7efc3f30",
      "name": "获取用户关系",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        80,
        1620
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e90e2c3a-21a4-4251-8025-6a6aecb9a4f6",
      "name": "更新用户关系",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        280,
        1620
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a11e2dac-6c3f-4a3a-a647-ff3c64e5ffcf",
      "name": "描述 - 关系",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        1620
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "shared": [
    {
      "role": "workflow:owner",
      "project": {
        "id": "G5fce9xGuBAsWBXe",
        "icon": null,
        "name": "David Ashby <david.ashby.lds@gmail.com>",
        "type": "personal",
        "createdAt": "2025-06-04T02:55:02.013Z",
        "updatedAt": "2025-06-04T02:56:01.361Z",
        "projectRelations": [
          {
            "role": "project:personalOwner",
            "user": {
              "id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
              "role": "global:owner",
              "email": "david.ashby.lds@gmail.com",
              "disabled": false,
              "lastName": "Ashby",
              "settings": {
                "npsSurvey": {
                  "responded": true,
                  "lastShownAt": 1749357655581
                },
                "userActivated": true,
                "userActivatedAt": 1749075994495,
                "easyAIWorkflowOnboarded": true,
                "firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
              },
              "createdAt": "2025-06-04T02:55:01.745Z",
              "firstName": "David",
              "isPending": false,
              "updatedAt": "2025-06-08T04:40:58.399Z",
              "mfaEnabled": false,
              "personalizationAnswers": {
                "version": "v4",
                "personalization_survey_n8n_version": "1.95.3",
                "personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
              }
            },
            "userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
            "createdAt": "2025-06-04T02:55:02.013Z",
            "projectId": "G5fce9xGuBAsWBXe",
            "updatedAt": "2025-06-04T02:55:02.013Z"
          }
        ]
      },
      "createdAt": "2025-07-02T04:50:44.019Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-02T04:50:44.019Z",
      "workflowId": "crsw2KY3UyqyRcyh"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-02T04:50:44.017Z",
  "updatedAt": "2025-07-02T04:51:45.000Z",
  "versionId": "53adac77-47d4-473a-b81d-314c1f27780e",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "Like Media": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get User Feed": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Media Likes": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Tag Details": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get User Details": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Media Details": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Popular Media": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Remove Media Like": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Media Comments": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get User Followers": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get User Following": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Follow Requests": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search Tags by Name": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Media Comment": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete Media Comment": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Location Details": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get User Liked Media": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search Media by Area": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search Users by Name": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get User Recent Media": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get User Relationship": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Media by Shortcode": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Recent Media by Geo": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Recent Media by Tag": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update User Relationship": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Recent Media by Location": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search Locations by Coordinates": {
      "ai_tool": [
        [
          {
            "node": "Instagram MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 社交媒体, AI 聊天机器人

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量41
分类2
节点类型3
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
David Ashby

David Ashby

@cfomodz

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord

外部链接
在 n8n.io 查看

分享此工作流