@@ -80,11 +80,11 @@ python src/server.py
8080
8181The server supports three transport modes:
8282
83- | Transport | Description | Use Case |
84- | -----------| -------------| ----------|
85- | ` stdio ` | Standard I/O (default) | VS Code, Claude Desktop, local MCP clients |
86- | ` streamable-http ` | HTTP with streaming | Remote access, web clients, Docker |
87- | ` sse ` | Server-Sent Events | Legacy HTTP transport |
83+ | Transport | Description | Use Case |
84+ | ----------------- | ---------------------- | ------------------------------------------ |
85+ | ` stdio ` | Standard I/O (default) | VS Code, Claude Desktop, local MCP clients |
86+ | ` streamable-http ` | HTTP with streaming | Remote access, web clients, Docker |
87+ | ` sse ` | Server-Sent Events | Legacy HTTP transport |
8888
8989### Running with Different Transports
9090
@@ -111,10 +111,14 @@ Add to your VS Code settings (`Ctrl+Shift+P` → `Preferences: Open User Setting
111111 "command" : " uv" ,
112112 "args" : [
113113 " run" ,
114- " --with" , " mcp[cli]" ,
115- " --with" , " trino" ,
116- " --with" , " loguru" ,
117- " mcp" , " run" ,
114+ " --with" ,
115+ " mcp[cli]" ,
116+ " --with" ,
117+ " trino" ,
118+ " --with" ,
119+ " loguru" ,
120+ " mcp" ,
121+ " run" ,
118122 " /path/to/mcp-trino-python/src/server.py"
119123 ],
120124 "envFile" : " /path/to/mcp-trino-python/.env"
@@ -196,11 +200,17 @@ docker-compose --profile stdio run --rm mcp-trino-stdio
196200 "mcp-trino-python" : {
197201 "command" : " docker" ,
198202 "args" : [
199- " run" , " -i" , " --rm" ,
200- " --network" , " mcp-trino-python_trino-network" ,
201- " -e" , " TRINO_HOST=trino" ,
202- " -e" , " TRINO_PORT=8080" ,
203- " -e" , " TRINO_USER=trino" ,
203+ " run" ,
204+ " -i" ,
205+ " --rm" ,
206+ " --network" ,
207+ " mcp-trino-python_trino-network" ,
208+ " -e" ,
209+ " TRINO_HOST=trino" ,
210+ " -e" ,
211+ " TRINO_PORT=8080" ,
212+ " -e" ,
213+ " TRINO_USER=trino" ,
204214 " mcp-trino-python"
205215 ]
206216 }
0 commit comments