Files
mcp-tool/n8n-workflow-template.json
nasir@endelospay.com 82d922e8bf fix
2025-07-22 22:11:18 +05:00

175 lines
3.7 KiB
JSON

{
"name": "Laravel Healthcare MCP Integration",
"nodes": [
{
"parameters": {},
"id": "start",
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [240, 300]
},
{
"parameters": {
"url": "http://localhost:3000/mcp",
"options": {
"headers": {
"Content-Type": "application/json"
}
},
"bodyParametersUi": {
"parameter": [
{
"name": "jsonrpc",
"value": "2.0"
},
{
"name": "method",
"value": "initialize"
},
{
"name": "params",
"value": {
"protocolVersion": "2024-11-05",
"clientInfo": {
"name": "n8n",
"version": "1.0.0"
}
}
},
{
"name": "id",
"value": 1
}
]
}
},
"id": "initialize",
"name": "Initialize MCP",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [460, 300]
},
{
"parameters": {
"url": "http://localhost:3000/mcp",
"options": {
"headers": {
"Content-Type": "application/json"
}
},
"bodyParametersUi": {
"parameter": [
{
"name": "jsonrpc",
"value": "2.0"
},
{
"name": "method",
"value": "tools/list"
},
{
"name": "params",
"value": {}
},
{
"name": "id",
"value": 2
}
]
}
},
"id": "list_tools",
"name": "List Tools",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [680, 300]
},
{
"parameters": {
"url": "http://localhost:3000/mcp",
"options": {
"headers": {
"Content-Type": "application/json"
}
},
"bodyParametersUi": {
"parameter": [
{
"name": "jsonrpc",
"value": "2.0"
},
{
"name": "method",
"value": "tools/call"
},
{
"name": "params",
"value": {
"name": "public_manage_login",
"arguments": {
"email": "{{ $json.email }}",
"password": "{{ $json.password }}"
}
}
},
{
"name": "id",
"value": 3
}
]
}
},
"id": "login",
"name": "Login Tool",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [900, 300]
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "Initialize MCP",
"type": "main",
"index": 0
}
]
]
},
"Initialize MCP": {
"main": [
[
{
"node": "List Tools",
"type": "main",
"index": 0
}
]
]
},
"List Tools": {
"main": [
[
{
"node": "Login Tool",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": ["mcp", "healthcare", "laravel"],
"triggerCount": 0,
"updatedAt": "2025-01-22T00:00:00.000Z",
"versionId": "1"
}