Quick overview
This webhook-driven workflow accepts a list of MCP sources and sync settings, then harvests resource metadata, calls HTTP endpoints for normalization/deduplication/semantic indexing and version conflict resolution, persists the unified index, and returns a federated discovery package.
How it works
- Receives a POST webhook request with MCP source servers, resource type filters, sync mode, and optional cursor and conflict policy.
- Validates and normalizes the request payload, then returns an HTTP 400 response with error details if validation fails.
- Sends an HTTP request to harvest resource lists and metadata from the provided MCP sources (demo requests go to httpbin.org).
- Sends the harvested data to an HTTP endpoint that normalizes metadata, performs deduplication, and produces semantic index outputs (demo requests go to httpbin.org).
- Sends an HTTP request to an optional version-resolution endpoint to apply the configured conflict policy across sources (demo requests go to httpbin.org).
- Persists the unified federated index and sync cursor via an HTTP request, then assembles and returns a catalog, delta report, dedup stats, and index summary in the webhook response.
Setup
- Configure the incoming system to call the POST webhook URL for
/webhook/mcp-federated-sync and send a JSON body containing sources plus any optional sync settings (for example syncMode and sinceCursor).
- Replace the demo httpbin.org URLs with your real endpoints for resource harvesting, AI normalization/indexing, version/conflict resolution, and index persistence.
- Add any required credentials or authentication headers for your MCP source servers and the external harvest/AI/resolve/store endpoints, and set appropriate timeouts if your services need longer than 60 seconds.