Build Configuration
Alpic automatically detects your MCP framework, build commands, and transport type from your repository. You can customize build settings in your project configuration if needed.Alpic detects configuration from your project source code. Most projects work
out of the box without additional configuration.
Transport Sourcing During Deployment
Alpic automatically detects which transport type your MCP server uses by analyzing your project source code. Detection follows a priority order, using the first match found:xmcp.config.ts configuration file (highest priority)
Ifxmcp.config.ts exists:
http:→ streamablehttpstdio:→ stdio
TypeScript imports
Searches for imports from@modelcontextprotocol/sdk/server/:
stdio→ stdiosse→ ssestreamableHttp→ streamablehttp
Python mcp.run() or mcp.http_app() calls
Searches for explicit transport parameters:transport="stdio"→ stdiotransport="sse"→ ssetransport="streamable-http"→ streamable-httptransport="http"→ http
Python mcp.run() fallback (lowest priority)
Ifmcp.run() is found without an explicit transport → defaults to stdio
Troubleshooting
Build Fails: “No MCP transport found”
If Alpic cannot detect a transport type, the build will fail. To resolve:- Create an
xmcp.config.tsfile with your transport type - Ensure you’re importing from the correct MCP SDK path (TypeScript)
- Add an explicit transport parameter to
mcp.run()(Python)