Skip to content

Instantly share code, notes, and snippets.

@aalonzolu
Created November 16, 2025 17:41
Show Gist options
  • Select an option

  • Save aalonzolu/1103b7ae162f301118f344760522f91e to your computer and use it in GitHub Desktop.

Select an option

Save aalonzolu/1103b7ae162f301118f344760522f91e to your computer and use it in GitHub Desktop.
Demo MCP Server con N8n
{
"name": "MCP Demo 1",
"nodes": [
{
"parameters": {
"toolDescription": "Retorna un facto sobre perros",
"url": "https://dogapi.dog/api/v2/facts?limit=1",
"options": {}
},
"type": "n8n-nodes-base.httpRequestTool",
"typeVersion": 4.2,
"position": [
-352,
144
],
"id": "0c00ad1c-704c-41c1-937d-945053aea268",
"name": "Dog Facts"
},
{
"parameters": {
"path": "da8e7d24-6985-4257-a543-8efbb7161cce"
},
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"typeVersion": 2,
"position": [
-320,
-160
],
"id": "13055c88-0ea1-4e5b-b6f7-b1d28af9c7c7",
"name": "MCP Demo",
"webhookId": "da8e7d24-6985-4257-a543-8efbb7161cce"
},
{
"parameters": {
"toolDescription": "Listado de Personajes de Dragon Ball",
"url": "https://dragonball-api.com/api/characters",
"options": {}
},
"type": "n8n-nodes-base.httpRequestTool",
"typeVersion": 4.2,
"position": [
-144,
144
],
"id": "6d2fead1-889b-47a8-a2d8-db7e2b1dfeac",
"name": "Dragon Ball Charters"
},
{
"parameters": {
"toolDescription": "Obtener informacion sobre un presonaje de Dragon Ball Z",
"url": "=https://dragonball-api.com/api/characters/{{ $fromAI(\"id\", \"ID del personame de Dragon Ball obtenido del listado de personajes\") }}",
"options": {}
},
"type": "n8n-nodes-base.httpRequestTool",
"typeVersion": 4.2,
"position": [
80,
160
],
"id": "6de770f2-4bb6-43fd-b047-3787e8632c06",
"name": "DB Charter"
}
],
"pinData": {},
"connections": {
"Dog Facts": {
"ai_tool": [
[
{
"node": "MCP Demo",
"type": "ai_tool",
"index": 0
}
]
]
},
"Dragon Ball Charters": {
"ai_tool": [
[
{
"node": "MCP Demo",
"type": "ai_tool",
"index": 0
}
]
]
},
"DB Charter": {
"ai_tool": [
[
{
"node": "MCP Demo",
"type": "ai_tool",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "cd0f7709-466d-4f68-a697-74558146ed1d",
"meta": {
"instanceId": "2e0f5643b0446a7f64f75eeb903870135ed45ac694e8c82ce452ec8e09efd0ae"
},
"id": "VRKN0xonMdJd8ejw",
"tags": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment