Benchmark MCP server performance and cost via webhook and HTTP services
Ready for 3.0What this workflow does
This AI workflow has 39 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects OpenAI Chat Model. It also calls httpbin.org over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- If: checks a condition and branches into true / false
- HTTP - Notify Failure (HTTP Request): calls httpbin.org (POST)
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- If: checks a condition and branches into true / false
- Respond - Validation Error (Respond to Webhook): sends the response back to the webhook caller
- If: checks a condition and branches into true / false
…plus 25 more steps. See the full node list below.
Services it uses
HTTP calls to: httpbin.org
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Webhook
n8n-nodes-base.webhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview This workflow exposes a webhook that benchmarks multiple MCP server targets, sends probe results to external HTTP endpoints for analysis, optionally validates and stores the report, and returns a ranked performance and cost intelligence package…