Model Context Protocol (MCP) 1 · Python server

Serve over HTTP

Run the server as a remote endpoint with the streamable HTTP transport instead of stdio.

mcp.run(transport="streamable-http")

Official Model Context Protocol (MCP) 1 documentation

More python server commands

All python server commands · Model Context Protocol (MCP) 1 cheatsheet

Was this page helpful?