What transports does this MCP server support?
It uses `streamable-http` by default, but you can switch to `sse` by changing the transport parameter in `server.py` to `transport="sse"`.
@jackwotherspoon
基本情報
Deploy and host a remote MCP server on Cloud Run
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-on-cloudrun": {
"command": "uv",
"args": [
"run",
"test_server.py"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
This project provides a quick-start template and guide to build a remote MCP server using FastMCP and deploy it to Google Cloud Run. It demonstrates how to run a Model Context Protocol server over the streamable-http (or sse) transport, making it centrally accessible, scalable, and secured with authentication. It is aimed at developers who want to move from local MCP servers to a remote, shareable infrastructure.
Clone the repository, set your Google Cloud project, and deploy the server with gcloud run deploy mcp-server --no-allow-unauthenticated --region=us-central1 --source .. After deployment, run gcloud run services proxy mcp-server --region=us-central1 to create an authenticated local tunnel. Test the connection using uv run test_server.py, which exercises the add and subtract tools.
--no-allow-unauthenticated flag and IAM roles.streamable-http transport (default) with sse as an option.add and subtract.It uses `streamable-http` by default, but you can switch to `sse` by changing the transport parameter in `server.py` to `transport="sse"`.
You can deploy from source with `gcloud run deploy mcp-server --no-allow-unauthenticated --region=us-central1 --source .` or from a container image built via Cloud Build. Both options require the `--no-allow-unauthenticated` flag.
Use the Cloud Run proxy by running `gcloud run services proxy mcp-server --region=us-central1`. This creates an authenticated tunnel to your service. You must also ensure that the caller (or the proxy) has the `roles/run.invoker` IAM role.
You need Python 3.10+ (required by FastMCP), the Google Cloud SDK (`gcloud`), and Git for cloning the repository.
The example Math MCP server provides two tools: `add` (returns the sum of two numbers) and `subtract` (returns the difference).

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.

Local-first credential broker for MCP. AI coding agents (Claude Code, Cursor, Codex…) call APIs, SSH and databases through scoped presets; secrets stay in your OS keychain and never enter the agent's context.

SSH MCP server for AI agents: remote commands, file transfer, log search and server audits through OpenSSH.
Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.

DocuWriter is an AI-powered platform for creating, updating and managing complete, structured documentation for entire codebases. Teams can connect repositories and generate documentation covering architecture, modules,
コメント