Skip to content

Commit 6dc4749

Browse files
chore: add region tags
1 parent d6f7d15 commit 6dc4749

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

run/mcp-server/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
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
1618
FROM python:3.13-slim
1719

@@ -32,3 +34,5 @@ EXPOSE $PORT
3234

3335
# Run the FastMCP server
3436
CMD ["uv", "run", "server.py"]
37+
38+
# [END cloudrun_mcpserver_dockerfile_python]

run/mcp-server/server.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START cloudrun_mcpserver_python]
1516
import asyncio
1617
import logging
1718
import 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]

0 commit comments

Comments
 (0)