fix
This commit is contained in:
174
n8n-workflow-template.json
Normal file
174
n8n-workflow-template.json
Normal file
@@ -0,0 +1,174 @@
|
||||
{
|
||||
"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"
|
||||
}
|
Reference in New Issue
Block a user