Skip to content

Latest commit

 

History

History

python-mcp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

MCP SDK 2: MCPServer

This example uses MCP SDK 2.x and serves Streamable HTTP at /mcp. It listens on HOST (default 0.0.0.0) and PORT (default 8080).

anybuild . --start
anybuild . --runner=wasmer --start

The -v1 examples retain the original FastMCP API, including the ChatGPT example's SSE transport. The examples without that suffix use MCPServer and stateless Streamable HTTP with SDK 2.x. Both versions remain supported.