8
n8n 中文网amn8n.com

Hacker News 工具 MCP 服务器

中级

这是一个AI领域的自动化工作流,包含 8 个节点。主要使用 HackerNewsTool, McpTrigger 等节点,结合人工智能技术实现智能自动化。 🛠️ Hacker News 工具 MCP 服务器

前置要求
  • AI 服务 API Key(如 OpenAI、Anthropic 等)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "j3lGzG1i2stMiy3P",
  "meta": null,
  "name": "Hacker News Tool MCP Server",
  "tags": [],
  "nodes": [
    {
      "id": "308e7b8b-9a55-4f8c-86fe-67acfdc44501",
      "name": "Workflow Overview 0",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1460,
        0
      ],
      "parameters": {
        "width": 420,
        "height": 780,
        "content": "## 🛠️ Hacker News Tool MCP Server\n\n### 📋 Available Operations (3 total)\n\n**All**: get all\n**Article**: get\n**User**: get\n\n### ⚙️ Setup Instructions\n\n1. **Import Workflow**: Load this workflow into your n8n instance\n\n1. **✅ No Auth Required**: Ready to use immediately\n2. **🚀 Activate**: Enable this workflow to start your MCP server\n3. **🔗 Get URL**: Copy webhook URL from MCP trigger (right side)\n4. **🤖 Connect**: Use MCP URL in your AI agent configurations\n\n### ✨ Ready-to-Use Features\n\n• Zero configuration - all 3 operations pre-built\n• AI agents automatically populate parameters via `$fromAI()` expressions\n• Every resource and operation combination available\n• Native n8n error handling and response formatting\n• Modify parameter defaults in any tool node as needed\n\n### 💬 Need Help?\nCheck the [n8n documentation](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolmcp/) or ping me on [discord](https://discord.me/cfomodz) for MCP integration guidance or customizations."
      },
      "typeVersion": 1
    },
    {
      "id": "e0fa03aa-3ce8-40bd-821e-75b64ec52f55",
      "name": "Hacker News Tool MCP Server",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -700,
        -20
      ],
      "webhookId": "87047423-370a-43f4-92e1-26b83daa0cc8",
      "parameters": {
        "path": "hacker-news-tool-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "42339d85-3ebe-4613-a948-ba6ab2896571",
      "name": "Get many items",
      "type": "n8n-nodes-base.hackerNewsTool",
      "position": [
        -800,
        140
      ],
      "parameters": {
        "limit": "={{ $fromAI('Limit', ``, 'number') }}",
        "resource": "all",
        "returnAll": "={{ $fromAI('Return_All', ``, 'boolean') }}",
        "additionalFields": {}
      },
      "typeVersion": 1
    },
    {
      "id": "69349c27-411d-4c71-8eee-b0792a096fe2",
      "name": "Sticky Note 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        120
      ],
      "parameters": {
        "color": 4,
        "width": 400,
        "height": 180,
        "content": "## All"
      },
      "typeVersion": 1
    },
    {
      "id": "f24e8a5c-b66c-477c-b764-2cad8bd0148e",
      "name": "Get an article",
      "type": "n8n-nodes-base.hackerNewsTool",
      "position": [
        -800,
        380
      ],
      "parameters": {
        "articleId": "={{ $fromAI('Article_Id', ``, 'string') }}",
        "additionalFields": {}
      },
      "typeVersion": 1
    },
    {
      "id": "6a8cae55-5c61-42ce-a542-c24f22ae23e9",
      "name": "Sticky Note 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        360
      ],
      "parameters": {
        "color": 5,
        "width": 400,
        "height": 180,
        "content": "## Article"
      },
      "typeVersion": 1
    },
    {
      "id": "c7543fc5-3862-455e-ade7-d7fa2b3da723",
      "name": "Get a user",
      "type": "n8n-nodes-base.hackerNewsTool",
      "position": [
        -800,
        620
      ],
      "parameters": {
        "resource": "user",
        "username": "={{ $fromAI('Username', ``, 'string') }}"
      },
      "typeVersion": 1
    },
    {
      "id": "bffef4b5-06ec-40a2-9fcc-d094ebf4e19b",
      "name": "Sticky Note 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        600
      ],
      "parameters": {
        "color": 6,
        "width": 400,
        "height": 180,
        "content": "## User"
      },
      "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-06-24T21:55:32.153Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-06-24T21:55:32.153Z",
      "workflowId": "j3lGzG1i2stMiy3P"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-06-24T21:55:32.149Z",
  "updatedAt": "2025-06-24T21:55:51.000Z",
  "versionId": "98ce78b1-07b2-431c-9a22-c4b7207e1be7",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "c7543fc5-3862-455e-ade7-d7fa2b3da723": {
      "ai_tool": [
        [
          {
            "node": "e0fa03aa-3ce8-40bd-821e-75b64ec52f55",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "f24e8a5c-b66c-477c-b764-2cad8bd0148e": {
      "ai_tool": [
        [
          {
            "node": "e0fa03aa-3ce8-40bd-821e-75b64ec52f55",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "42339d85-3ebe-4613-a948-ba6ab2896571": {
      "ai_tool": [
        [
          {
            "node": "e0fa03aa-3ce8-40bd-821e-75b64ec52f55",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

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

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

中级 - 人工智能

需要付费吗?

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

工作流信息
难度等级
中级
节点数量8
分类1
节点类型3
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
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 查看

分享此工作流

分类

分类: 34