Quick overview
This workflow exposes a POST webhook that accepts current and target MCP server details (or registry URLs), fetches metadata, runs an AI-driven compatibility analysis, optionally validates the decision via a policy endpoint, stores the assessment, and returns a breaking-change and upgrade recommendation package.
How it works
- Receives a POST request on the n8n webhook with current/target MCP server metadata or registry URLs.
- Validates and normalizes the request payload (versions, flags, and required fields) and returns an HTTP 400 response if validation fails.
- Calls an external registry/metadata endpoint (demoed with httpbin.org) to fetch current and target MCP server metadata when needed.
- Sends protocol and tool schema context to an external AI analysis endpoint (demoed with httpbin.org) to classify changes as breaking or non-breaking and produce a risk score and recommendation.
- Optionally sends the preliminary recommendation to a secondary validation/policy endpoint (demoed with httpbin.org) and then posts the assessment to a storage/audit endpoint (demoed with httpbin.org).
- Assembles a final compatibility package (including breaking changes, migration notes, statuses, and an HTTP 200/409 response code) and returns it to the webhook caller.
Setup
- Activate the webhook and copy the POST URL, then configure your MCP registry, CI pipeline, or release tooling to call it with current/target server details.
- Replace the demo httpbin.org URLs in the workflow’s configuration (registry, AI analysis, validation, and storage endpoints) with your real services and add any required authentication headers/credentials.
- Ensure your calling system sends the expected JSON fields (for example currentServer/targetServer or currentRegistryUrl/targetRegistryUrl, plus requestId and serverName) and optionally include strictMode, includeMigrationPlan, and simulateStatus for testing.