firestore-cloudrun-rust

Crates.iofirestore-cloudrun-rust
lib.rsfirestore-cloudrun-rust
version0.3.0
created_at2025-10-11 12:15:31.945036+00
updated_at2025-12-07 01:34:08.585143+00
descriptionFirestore Inventory API cloudrun MCP server
homepage
repository
max_upload_size
id1878119
size97,827
xbill (xbill9)

documentation

README

firestore-cloudrun-rust

This project is a simple inventory MCP server written in Rust, designed to be deployed as a containerized application on Google Cloud Run.

Key Technologies

Getting Started

This project uses a Makefile to simplify common development tasks.

Prerequisites

Initial Setup

  1. Install Dependencies:

    cargo build
    
  2. Run the application locally:

    make run
    

    The server will start on port 8080.

Development Workflow

The Makefile provides targets for common development tasks.

Building the Project

  • Development Build:
    make build
    
  • Release Build:
    make release
    

Running Locally

make run

Code Quality

  • Formatting:
    make format
    
  • Linting:
    make clippy
    

Testing

make test

Deployment

Deployment is handled by Google Cloud Build and defined in cloudbuild.yaml.

Manual Deployment

To manually trigger a deployment, run:

make deploy

This command submits a build to Google Cloud Build, which will:

  1. Build the Docker image (as defined in Dockerfile).
  2. Push the image to Google Container Registry (GCR).
  3. Deploy the new image to the cloudrun-rust service in the us-central1 region.
Commit count: 0

cargo fmt