Skip to main content

cloudrun-mcp

Async MCP (Model Context Protocol) client for Google Cloud Run.

Features

  • Cloud Run / GKE Workload Identity support
  • Automatic ID-token authentication
  • Async Server-Sent Events (SSE)
  • Agentic-AI friendly streaming API

Install

pip install cloudrun-mcp

Usage

import asyncio from cloudrun_mcp import MCPClient

async def main(): client = MCPClient( base_url="https://your-mcp-server.run.app" )

async for event in client.events():
    print(event)

asyncio.run(main())

Requirements

  • Python 3.10+
  • Running on GCP (Cloud Run, GKE, GCE) with metadata server access

Publish to PyPI (exact commands)

# 1. Create virtual env
python3 -m venv .venv
source .venv/bin/activate

# 2. Install tools
pip install --upgrade build twine

# 3. Build
python -m build

# 4. Upload (TestPyPI first – recommended)
twine upload --repository testpypi dist/*

# 5. Production PyPI
twine upload dist/*

Metadata

Release files for cloudrun-mcp 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloudrun-mcp 0.1.3
File Size Uploaded Provenance
cloudrun_mcp-0.1.3.tar.gz 2.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cloudrun-mcp 0.1.3
File Interpreter ABI Platform
cloudrun_mcp-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / cloudrun_mcp-0.1.3.tar.gz

Download URL cloudrun_mcp-0.1.3.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
460a848f04bec69d08db5102d2811deebe44855970c733e6bdea3a6c6e1ff48c
BLAKE2b-256 checksum
How to use checksums
50135e544ece98873b063c804032069c42d21ddc655b1c5bf47dfc449e327b21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / cloudrun_mcp-0.1.3-py3-none-any.whl

Download URL cloudrun_mcp-0.1.3-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
750f092de5836f56eb3b32bea4f27c42fa12becf0ddfee093cb62721ce27e81d
BLAKE2b-256 checksum
How to use checksums
178568c05c3f1e8958f53c4fdbd62c120976b8d511370a09635afbd01a8b2945
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for cloudrun-mcp 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page