Skip to main content
Glama
README.md
# marco-tenant-mcp

Streamable HTTP MCP (Model Context Protocol) Server for Gemini Spark, facilitating Google Apps Script operations for property management workflows.

## Architecture

- **Hosting Environment**: Hosted on **Google Cloud Run**
- **MCP Transport**: Streamable HTTP transport (`/mcp` endpoint) on Port 8080
- **Backend Integrations**: Connects to Google Apps Script Web App via HTTP POST requests

## Endpoints & Tools

- `/.well-known/mcp-configuration`: Spark Discovery Endpoint
- `/mcp`: Streamable HTTP MCP server endpoint

### MCP Tools Available:
1. `convert_html_to_pdf`: HTML to PDF conversion saved to Google Drive
2. `make_file_public`: Sets Google Drive file permissions to public view
3. `update_datastore`: In-place updates to `datastore.json` on Google Drive
4. `trash_file`: Moves Google Drive files to trash

## Remote Inspection & Management

To inspect or manage the Google Cloud Run service configuration via CLI:

```bash
# Authenticate with Google Cloud
gcloud auth login

# Set GCP project
gcloud config set project <YOUR_PROJECT_ID>

# Describe Cloud Run service configuration
gcloud run services describe marco-tenant-mcp --region <REGION>
```