Farbnamen-API MCP-Server

Fortgeschritten

Dies ist ein Engineering, AI RAG-Bereich Automatisierungsworkflow mit 10 Nodes. Hauptsächlich werden HttpRequestTool, McpTrigger und andere Nodes verwendet. Farbnamen-API über den MCP-Server mit dem AI-Agent verbinden

Voraussetzungen
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "mv1y6rH9rcvO6FgN",
  "meta": null,
  "name": "Color Name API MCP Server",
  "tags": [],
  "nodes": [
    {
      "id": "ba19ce5e-4a48-4b7b-bb32-2b7a0196fd55",
      "name": "Workflow-Übersicht",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1540,
        -140
      ],
      "parameters": {
        "width": 580,
        "height": 1280,
        "content": "## 🛠️ Color Name API MCP Server ✅ 4 operations\n\n### About\nAn API that provides names for colors based on their hex value\n\n### 🔧 How it Works\n\nThis workflow converts the Color Name API API into an MCP-compatible interface for AI agents.\n\n• **MCP Trigger**: Serves as your server endpoint for AI agent requests\n• **HTTP Request Nodes**: Handle API calls to https://api.color.pizza/v1/\n• **AI Expressions**: Automatically populate parameters via `$fromAI()` placeholders\n• **Native Integration**: Returns responses directly to the AI agent\n\n### 📋 Available Operations (4 endpoints)\n\n** (1 operations)**\nget\n\n**Lists (1 operations)**\nget\n\n**Names (1 operations)**\nget\n\n**Swatch (1 operations)**\ngenerate\n\n### ⚙️ Setup Instructions\n\n1. **Import Workflow**: Load this workflow into your n8n instance\n\n2. **Authentication**: No authentication required\n\n3. **Activate Workflow**: Enable the workflow to start the MCP server\n\n4. **Get MCP URL**: Copy the webhook URL from the MCP trigger\n\n5. **Connect AI Agent**: Use the MCP URL in your AI agent configuration\n\n### 💡 Usage Notes\n\n• Parameters are auto-populated by AI using $fromAI() expressions\n• With 4 API endpoints available as tools\n• Responses maintain original API structure\n### 🛠️ Customization\n\n• Add data transformation nodes if needed\n• Implement custom error handling\n• Add logging or monitoring nodes\n\n• Modify parameter defaults in any HTTP request 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": "4f171b0e-b19a-48d1-9811-02b96abb489e",
      "name": "Color Name API MCP-Server",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -580,
        -140
      ],
      "webhookId": "e63ee384-4bbe-4099-8176-c204c993f82a",
      "parameters": {
        "path": "color-name-api-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "18e7cb1e-ac5c-4dc8-8477-08e3fa70ba9d",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        100
      ],
      "parameters": {
        "color": 2,
        "width": 300,
        "height": 180,
        "content": "## "
      },
      "typeVersion": 1
    },
    {
      "id": "376f8798-4071-4285-846f-7301c756b900",
      "name": "Alle Farben der Standard-Farbnamenliste abrufen",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -780,
        120
      ],
      "parameters": {
        "url": "=https://api.color.pizza/v1//",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "list",
              "value": "={{ $fromAI('list', 'The name of the color name list to use', 'string') }}"
            },
            {
              "name": "values",
              "value": "={{ $fromAI('values', 'The hex values of the colors to retrieve without '#'', 'string') }}"
            },
            {
              "name": "noduplicates",
              "value": "={{ $fromAI('noduplicates', 'Allow duplicate names or not', 'boolean') }}"
            }
          ]
        },
        "toolDescription": "Get all colors of the default color name list\n\nParameters:\n- Query parameters:\n  • list (optional) - The name of the color name list to use\n  • values (optional) - The hex values of the colors to retrieve without '#'\n  • noduplicates (optional) - Allow duplicate names or not"
      },
      "typeVersion": 4.2
    },
    {
      "id": "2d0765fc-10bf-4b29-84aa-3c595241591d",
      "name": "Haftnotiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        400
      ],
      "parameters": {
        "color": 3,
        "width": 300,
        "height": 180,
        "content": "## Lists"
      },
      "typeVersion": 1
    },
    {
      "id": "8226c2ae-b9b1-4d56-bf68-3dd3224d1c35",
      "name": "Alle Farben der Standard-Farbnamenliste abrufen 1",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -780,
        420
      ],
      "parameters": {
        "url": "=https://api.color.pizza/v1//lists/",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Get all colors of the default color name list"
      },
      "typeVersion": 4.2
    },
    {
      "id": "d3c92726-4bba-416b-abc7-1ab33b57a999",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        680
      ],
      "parameters": {
        "color": 4,
        "width": 300,
        "height": 180,
        "content": "## Names"
      },
      "typeVersion": 1
    },
    {
      "id": "c0194bb8-670b-4828-886d-a5d30b3fb3ea",
      "name": "Alle Farben der Standard-Farbnamenliste abrufen 2",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -780,
        700
      ],
      "parameters": {
        "url": "=https://api.color.pizza/v1//names/",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "name",
              "value": "={{ $fromAI('name', 'The name of the color to retrieve (min 3 characters)', 'string') }}"
            },
            {
              "name": "list",
              "value": "={{ $fromAI('list', 'The name of the color name list to use', 'string') }}"
            }
          ]
        },
        "toolDescription": "Get all colors of the default color name list\n\nParameters:\n- Query parameters:\n  • name (required) - The name of the color to retrieve (min 3 characters)\n  • list (optional) - The name of the color name list to use"
      },
      "typeVersion": 4.2
    },
    {
      "id": "7539ee10-f262-4b1e-97d9-8ed457f4b468",
      "name": "Haftnotiz4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        960
      ],
      "parameters": {
        "color": 5,
        "width": 300,
        "height": 180,
        "content": "## Swatch"
      },
      "typeVersion": 1
    },
    {
      "id": "c18a6447-4697-40c4-a5ff-b33da2c78ed0",
      "name": "Farbmuster für beliebige Farben generieren",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -780,
        980
      ],
      "parameters": {
        "url": "=https://api.color.pizza/v1//swatch/",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "color",
              "value": "={{ $fromAI('color', 'The hex value of the color to retrieve without '#'', 'string') }}"
            },
            {
              "name": "name",
              "value": "={{ $fromAI('name', 'The name of the color', 'string') }}"
            }
          ]
        },
        "toolDescription": "Generate a color swatch for any color\n\nParameters:\n- Query parameters:\n  • color (required) - The hex value of the color to retrieve without '#'\n  • name (optional) - The name of the color"
      },
      "typeVersion": 4.2
    }
  ],
  "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-30T17:16:52.053Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-06-30T17:16:52.053Z",
      "workflowId": "mv1y6rH9rcvO6FgN"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-06-30T17:16:52.051Z",
  "updatedAt": "2025-06-30T17:20:16.000Z",
  "versionId": "fa8f1f8d-2ceb-49e1-8ed0-8f7b0441b35a",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "c18a6447-4697-40c4-a5ff-b33da2c78ed0": {
      "ai_tool": [
        [
          {
            "node": "4f171b0e-b19a-48d1-9811-02b96abb489e",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "376f8798-4071-4285-846f-7301c756b900": {
      "ai_tool": [
        [
          {
            "node": "4f171b0e-b19a-48d1-9811-02b96abb489e",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "8226c2ae-b9b1-4d56-bf68-3dd3224d1c35": {
      "ai_tool": [
        [
          {
            "node": "4f171b0e-b19a-48d1-9811-02b96abb489e",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "c0194bb8-670b-4828-886d-a5d30b3fb3ea": {
      "ai_tool": [
        [
          {
            "node": "4f171b0e-b19a-48d1-9811-02b96abb489e",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Engineering, KI RAG

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes10
Kategorie2
Node-Typen3
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor
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

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34