Skip to content

Commit dde8e68

Browse files
committed
docs: clean up docker-compose.yml and format fastmcp_server.py
1 parent d1148f7 commit dde8e68

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

demo/fastmcp_server.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def multiply(a: int, b: int, ctx: Context) -> int:
5656
if __name__ == "__main__":
5757
# For Docker containers, specify host explicitly and use the /mcp/ path
5858
mcp.run(
59-
transport="http",
59+
transport="http",
6060
host="0.0.0.0", # Critical for Docker - bind to all interfaces
61-
port=3001,
62-
path="/mcp/", # FastMCP serves at /mcp/ path by default
63-
log_level="debug"
61+
port=3001,
62+
path="/mcp/", # FastMCP serves at /mcp/ path by default
63+
log_level="debug",
6464
)

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Docker Compose for MCP OAuth Gateway
22
# This example shows production deployment with Redis storage
33

4-
version: '3.8'
5-
64
services:
75
# MCP OAuth Gateway
86
mcp-gateway:

0 commit comments

Comments
 (0)