GC

googlecloudplatform/cloud-run-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

634 stars 127 forks 품질 82 트렌드 41Apache-2.0

Cloud Run에 앱을 배포하는 MCP 서버

개요

MCP 호환 AI 에이전트가 클라우드 런에 앱을 배포할 수 있도록 활성화하세요. Gemini CLI 및 기타 AI 기반 CLI 에이전트에서 배포: Google Gen AI SDK나 Agent Development Kit 같은 에이전트 SDK에서 배포하세요. 이곳은 Cloud Run에 코드를 배포하는 MCP 서버의 저장소입니다. Cloud Run에서 MCP 서버를 어떻게 운영하는지 배우려면 Cloud Run 문서를 참고하세요. - deploy-file-contents: 파일을 직접 제공하여 Cloud Run에 배포합니다. - list-services: 특정 프로젝트 및 지역 내 Cloud Run 서비스를 나열합니다. - get-service: 특정 Cloud Run 서비스에 대한 세부 정보를 제공합니다. - get-service-log: 특정 Cloud Run 서비스에 대한 로그와 오류 메시지를 받습니다. - deploy-local-folder\: Google Cloud Run 서비스에 로컬 폴더를 배포합니다. - list-projects\: 사용 가능한 GCP 프로젝트를 나열합니다. - create-project*: 새로운 GCP 프로젝트를 생성하여 가장 먼저 사용 가능한 청구 계정에 연결합니다. 프로젝트 ID는 선택적으로 지정할 수 있습니다. 프롬프트는 일반적인 작업을 수행하는 데 사용할 수 있는 자연어 명령어입니다.

개요(AI 번역)

MCP 호환 AI 에이전트가 클라우드 런에 앱을 배포할 수 있도록 활성화하세요.

Gemini CLI 및 기타 AI 기반 CLI 에이전트에서 배포:

AI 기반 IDE에서 배포하기:

AI 어시스턴트 앱에서 배포하기:

Google Gen AI SDK나 Agent Development Kit 같은 에이전트 SDK에서 배포하세요.

[! 참고] 이곳은 Cloud Run에 코드를 배포하는 MCP 서버의 저장소입니다. Cloud Run에서 MCP 서버를 호스팅하는 방법을 배우려면 Cloud Run 문서를 방문하세요.

도구

  • deploy-file-contents: 파일을 내용을 직접 제공하여 Cloud Run에 배포합니다.

  • list-services: 특정 프로젝트 및 지역 내 클라우드 런 서비스를 나열합니다.

  • get-service: 특정 클라우드 런 서비스에 대한 세부 정보를 얻습니다.

  • get-service-log: 특정 클라우드 실행 서비스에 대한 로그와 오류 메시지를 받습니다.

  • deploy-local-folder*: 로컬 폴더를 Google Cloud Run 서비스에 배포합니다.

  • list-projects*: 사용 가능한 GCP 프로젝트 목록.

  • create-project*: 새로운 GCP 프로젝트를 생성하여 가장 먼저 사용 가능한 청구 계정에 연결합니다. 프로젝트 ID는 선택적으로 지정할 수 있습니다.

* 실행 중에만 가능locally

프롬프트

프롬프트는 일반적인 작업을 수행하는 데 사용할 수 있는 자연어 명령어입니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Cloud Run MCP server and Gemini CLI extension

Enable MCP-compatible AI agents to deploy apps to Cloud Run.

"mcpServers":{
  "cloud-run": {
    "command": "npx",
    "args": ["-y", "@google-cloud/cloud-run-mcp"]
  }
}

Deploy from Gemini CLI and other AI-powered CLI agents:

Deploy from AI-powered IDEs:

Deploy from AI assistant apps:

Deploy from agent SDKs, like the Google Gen AI SDK or Agent Development Kit.

[!NOTE]
This is the repository of an MCP server to deploy code to Cloud Run, to learn how to host MCP servers on Cloud Run, visit the Cloud Run documentation.

Tools

  • deploy-file-contents: Deploys files to Cloud Run by providing their contents directly.

  • list-services: Lists Cloud Run services in a given project and region.

  • get-service: Gets details for a specific Cloud Run service.

  • get-service-log: Gets Logs and Error Messages for a specific Cloud Run service.

  • deploy-local-folder*: Deploys a local folder to a Google Cloud Run service.

  • list-projects*: Lists available GCP projects.

  • create-project*: Creates a new GCP project and attach it to the first available billing account. A project ID can be optionally specified.

* only available when running locally

Prompts

Prompts are natural language commands that can be used to perform common tasks. They are shortcuts for executing tool calls with pre-filled arguments.

  • deploy: Deploys the current working directory to Cloud Run. If a service name is not provided, it will use the DEFAULT_SERVICE_NAME environment variable, or the name of the current working directory.
  • logs: Gets the logs for a Cloud Run service. If a service name is not provided, it will use the DEFAULT_SERVICE_NAME environment variable, or the name of the current working directory.

Environment Variables

The Cloud Run MCP server can be configured using the following environment variables:

Variable Description
GitHub에서 전체 README 보기

설치

npx -y @google-cloud/cloud-run-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

"mcpServers":{ "cloud-run": { "command": "npx", "args": ["-y", "@google-cloud/cloud-run-mcp"] } }