See llms.txt for all machine-readable content.

Back to Templates

Sync and index federated MCP resources with HTTP harvest and AI enrichment

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

  1. Receives a POST webhook request with MCP source servers, resource type filters, sync mode, and optional cursor and conflict policy.
  2. Validates and normalizes the request payload, then returns an HTTP 400 response with error details if validation fails.
  3. Sends an HTTP request to harvest resource lists and metadata from the provided MCP sources (demo requests go to httpbin.org).
  4. Sends the harvested data to an HTTP endpoint that normalizes metadata, performs deduplication, and produces semantic index outputs (demo requests go to httpbin.org).
  5. Sends an HTTP request to an optional version-resolution endpoint to apply the configured conflict policy across sources (demo requests go to httpbin.org).
  6. 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

  1. 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).
  2. Replace the demo httpbin.org URLs with your real endpoints for resource harvesting, AI normalization/indexing, version/conflict resolution, and index persistence.
  3. 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.