mcp-sse-authenticated-cloud-run
If you are the rightful owner of mcp-sse-authenticated-cloud-run and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a guide to hosting an MCP SSE Server on Google Cloud Run, utilizing IAM Authentication for secure access.
The guide outlines a method to deploy a Model Context Protocol (MCP) server on Google Cloud Run, leveraging Google Cloud's IAM Authentication to securely connect clients over the internet. This approach circumvents the current limitations of MCP regarding authentication and authorization, which are expected to be addressed by H1 2025. By using a network layer-based solution, such as a proxy, users can access the MCP server securely. The deployment involves setting up a Docker container for the MCP server, pushing it to Google Container Registry, and deploying it to Cloud Run with authentication enabled. The guide also includes steps to connect to the deployed server using a local proxy, ensuring that only authenticated users can access the server.
Features
- Secure Deployment: Utilizes Google Cloud IAM Authentication to secure access to the MCP server.
- Proxy Connection: Establishes a local proxy to forward authenticated requests to the Cloud Run service.
- Docker Integration: Builds and deploys the MCP server using Docker containers.
- Cloud Run Hosting: Leverages Google Cloud Run for scalable and managed server hosting.
- Local Development: Supports local development and testing with npm and ts-node.