Build an MCP
Union.ai supports serving Model Context Protocol (MCP) servers over HTTP.
There are two main MCP environment types:
| Environment | Purpose |
|---|---|
MCPAppEnvironment |
Serve any FastMCP instance with custom tools |
FlyteMCPAppEnvironment |
Flyte-specific server that exposes Flyte operations as tools |
See the sub-pages for detailed guides:
- User-defined MCP servers: Build and deploy your own FastMCP instances
- Flyte MCP servers: Use Flyte-specific tools to interact with your cluster
HTTP layout
All MCP app environments expose the same HTTP endpoints:
GET /health: Liveness/readiness check ({"status": "healthy"})POST {mcp_mount_path}/mcpor{mcp_mount_path}/sse: MCP protocol endpoint (default:/mcpfor generic,/flyte-mcpfor Flyte)
Quickstart
The fastest way to try Flyte MCP is locally (no deployment needed):
uvx --from "flyte[mcp]" flyte-mcpFor client setup, tool selection, allowlists, and remote deployment, see Flyte MCP server.