← Alle Concepts
pattern·pro·dual_transport

Dual transport (stdio + HTTP)

One MCP server codebase that runs both as stdio subprocess (local) and Streamable HTTP (remote SaaS).

Detect mode at startup: if PORT env or --http arg → HTTP, else stdio. Share createMcpServer factory between both entries. Lift the pattern from mcp-crew or aiguide directly.

Beziehungen

Outgoing
Eingehend
mcptransportpatternpro