MCP Server Snap Pack
The MCP Server Snap Pack provides the routing infrastructure for building MCP Server Pipelines that expose tools to AI agents.
Overview
This Snap Pack contains a single Snap: the MCP Server
Router. The MCP Server Router is the central routing component of an MCP Server
Pipeline. It routes incoming requests to the correct downstream processing path based on the
MCP request method (sl_method), enabling both tool discovery and tool
invocation within a single pipeline.
The MCP Server Router enables the use of Function Generator Snaps — including the APIM
Function Generator and OpenAPI Function Generator — within the MCP Server Pipeline. When a
tool call request arrives, the Snap resolves the necessary tool metadata using the calling
parameters (such as path and query parameters), appends the resolved
sl_tool_metadata to the output document, and routes the enriched request
to the tool execution path.
Use this Snap Pack to:
- Route
tools/listrequests to expose available tools to MCP clients - Route
tools/callrequests to invoke the correct tool pipeline, enriched with resolved tool metadata - Combine multiple Function Generator Snaps (Pipeline, OpenAPI, APIM, MCP Client) into a single MCP Server Pipeline
Prerequisites
None.
Snaps in this Snap Pack
This Snap Pack contains the following Snap: