{"id":28674501,"url":"https://github.com/jackwotherspoon/mcp-on-cloudrun","last_synced_at":"2026-04-24T22:37:40.556Z","repository":{"id":296758253,"uuid":"993957667","full_name":"jackwotherspoon/mcp-on-cloudrun","owner":"jackwotherspoon","description":"Deploy and host a remote MCP server on Cloud Run","archived":false,"fork":false,"pushed_at":"2025-06-11T20:09:35.000Z","size":131,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-11T21:41:02.761Z","etag":null,"topics":["cloud-run","mcp","remote-mcp-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackwotherspoon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-31T22:12:15.000Z","updated_at":"2025-06-11T20:09:38.000Z","dependencies_parsed_at":"2025-06-03T07:06:17.699Z","dependency_job_id":null,"html_url":"https://github.com/jackwotherspoon/mcp-on-cloudrun","commit_stats":null,"previous_names":["jackwotherspoon/mcp-on-cloudrun"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jackwotherspoon/mcp-on-cloudrun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackwotherspoon%2Fmcp-on-cloudrun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackwotherspoon%2Fmcp-on-cloudrun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackwotherspoon%2Fmcp-on-cloudrun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackwotherspoon%2Fmcp-on-cloudrun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackwotherspoon","download_url":"https://codeload.github.com/jackwotherspoon/mcp-on-cloudrun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackwotherspoon%2Fmcp-on-cloudrun/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259722856,"owners_count":22901813,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-run","mcp","remote-mcp-server"],"created_at":"2025-06-13T21:30:29.592Z","updated_at":"2026-04-24T22:37:40.549Z","avatar_url":"https://github.com/jackwotherspoon.png","language":"Python","funding_links":[],"categories":["🤖 AI/ML"],"sub_categories":[],"readme":"# MCP on Cloud Run\n\nThis repository contains a series of samples that demonstrate how to deploy a\nremote Model Context Protocol (MCP) server on Cloud Run.\n\n\u003cimg src=\"images/mcp-on-cloudrun.png\" width=\"80%\" alt=\"mcp-on-cloudrun\"\u003e\n\n## Quick Start\n\n- [Deploy MCP Server](1-deploy-mcp-server/README.md)\n\n## Background\nAnthropic's [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction)\nis a protocol that helps you connect prompts, resources and tools (context) to an LLM.\n\nMCP has become increasingly popular with the rise of code assistants and\nAI-powered IDEs for software development, as well as agentic applications that\nneed to connect to external tools and resources.\n\nMCP follows a client-server architecture, and for the longest time only\nsupported running the server locally using the `stdio` transport.\n\n\u003cimg src=\"images/mcp-client-server.png\" width=\"80%\" alt=\"client-server-architecture\"\u003e\n\nMCP now supports two additional transports: `sse` and `streamable-http`,\nwhich allow for running MCP servers remotely. You can read more about\nthese transports in the [official MCP docs](https://modelcontextprotocol.io/docs/concepts/architecture#transport-layer).\n\n## Benefits of running an MCP server remotely\n\nRunning an MCP server remotely on Cloud Run can provide several benefits:\n\n- 📈 **Scalability**: Cloud Run is built to rapidly scale out to handle all incoming requests.\nCloud Run will scale your MCP server automatically based on demand.\n- 👥 **Centralized server**: You can share your MCP server with team members\nin one centralized location and they can connect to it from their local\nmachines instead of running their own servers locally. If a change is made to\nthe MCP server, all team members will benefit from it.\n- 🔐 **Security**: Cloud Run provides an easy way to force authenticated requests.\nThis allows only secure connections to your MCP server, preventing unauthorized access.\n\n\u003e [!IMPORTANT]\n\u003e The security aspect mentioned above is critical. If you don't enforce\nauthentication, anyone on the public internet can potentially access and\ncall your MCP server.\n\n## Prerequisites\n\n- Python 3.10+ (FastMCP requires 3.10+)\n- Google Cloud SDK (gcloud)\n- Git (for cloning the repository)\n\n## Installation\n\nClone the repository\n\n```bash\ngit clone https://github.com/jackwotherspoon/mcp-on-cloudrun.git\ncd mcp-on-cloudrun\n```\n\n## Deploying the MCP Server :rocket:\n\nThe [1-deploy-mcp-server](1-deploy-mcp-server) directory contains a sample that demonstrates how to deploy a simple MCP server to Cloud Run.\n\nFollow the instructions in the [1-deploy-mcp-server/README.md](1-deploy-mcp-server/README.md) file to deploy the MCP server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackwotherspoon%2Fmcp-on-cloudrun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackwotherspoon%2Fmcp-on-cloudrun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackwotherspoon%2Fmcp-on-cloudrun/lists"}