mcpSse

fun mcpSse(metadata: ServerMetaData, security: McpSecurity, vararg capabilities: ServerCapability): PolyHandler

Create an SSE MCP app from a set of feature bindings.

This is the main entry point for the MCP server. It sets up the SSE connection and then provides a endpoint for the client to send messages to.

The standard paths used are: /sse <-- setup the SSE connection to an MCP client /messages (POST) <-- receive messages from connected MCP clients