File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ # [START cloudrun_mcpserver_dockerfile_python]
16+
1517# Use the official Python image
1618FROM python:3.13-slim
1719
@@ -32,3 +34,5 @@ EXPOSE $PORT
3234
3335# Run the FastMCP server
3436CMD ["uv" , "run" , "server.py" ]
37+
38+ # [END cloudrun_mcpserver_dockerfile_python]
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ # [START cloudrun_mcpserver_python]
1516import asyncio
1617import logging
1718import os
@@ -61,3 +62,5 @@ def subtract(a: int, b: int) -> int:
6162 port = os .getenv ("PORT" , 8080 ),
6263 )
6364 )
65+
66+ # [END cloudrun_mcpserver_python]
You can’t perform that action at this time.
0 commit comments