Problem
The README's current "Cloud Deployment (Optional)" section is framed around a single deploy path (gapp + Cloud Run). The upstream design in echomodel/mcp-app#26 and echomodel/mcp-app#27 established that an mcp-app solution should document its multiple supported deploy paths as peers — stdio, gapp, bare gcloud run deploy --source ., future mcp-app deploy, etc. — without elevating one over the others.
monarch-access should follow that posture in its own README.
Starting point
Initial hunks for this restructure live on branch wip/readme-deployment-restructure — one commit that strips the existing stdio-registration subsections from the ## MCP Server for AI Assistants section and inserts a pointer to a future ## Deployment section. The stripped stdio content is meant to be restored inside the new Deployment section as a peer subsection to the HTTP paths.
The branch is WIP and should not be merged as-is. Pick up from there or redo the strip from main — either is fine; the branch is a convenience.
Proposed target structure
Replace the current "MCP Server for AI Assistants" + "Cloud Deployment (Optional)" sections with a unified "Deployment" section whose subsections are the supported paths, each as a peer:
## Deployment
monarch-access can deploy via any of the paths below. Each is
documented as a peer — none is canonical. Pick the one that matches
your environment.
### Runtime contract
<existing env-var table + endpoint paths + start command>
### stdio (local MCP client subprocess)
<stdio registration commands for Claude Code + Gemini CLI, and the
user-profile setup for the 'local' user via monarch-admin>
### gcloud run deploy (bare, source build)
<if Procfile ships: "gcloud run deploy --source ." with env-var flags
and secret + volume setup>
### gapp deploy (GCP Cloud Run via gapp)
<existing gapp deploy walkthrough, mostly as-is>
### mcp-app deploy (when provider is available)
<placeholder referencing future mcp-app-cloudrun provider, with a
note that this section will expand once the provider exists>
Dependencies and ordering
- Depends on a decision about whether to ship a
Procfile (see separate issue). If no Procfile ships, the "gcloud run deploy (bare)" subsection becomes "gcloud run deploy with --command" and is clunkier; still worth documenting as a path.
- Depends on
echomodel/mcp-app cutting a release that includes the App-as-ASGI-callable change from echomodel/mcp-app#28 before the "mcp-app deploy" subsection becomes concrete. Until then, that subsection can be a placeholder noting the future path.
Both dependencies are soft — the restructure can ship with a good "gcloud run deploy with --command" recipe and a placeholder for mcp-app deploy, and then tighten later.
Work breakdown
Notes
This is content-only — no code changes, no behavior changes. Entirely a documentation restructure to reflect the multi-path posture blessed upstream in echomodel/mcp-app#26 and #27.
Problem
The README's current "Cloud Deployment (Optional)" section is framed around a single deploy path (gapp + Cloud Run). The upstream design in
echomodel/mcp-app#26andechomodel/mcp-app#27established that an mcp-app solution should document its multiple supported deploy paths as peers — stdio, gapp, baregcloud run deploy --source ., futuremcp-app deploy, etc. — without elevating one over the others.monarch-access should follow that posture in its own README.
Starting point
Initial hunks for this restructure live on branch
wip/readme-deployment-restructure— one commit that strips the existing stdio-registration subsections from the## MCP Server for AI Assistantssection and inserts a pointer to a future## Deploymentsection. The stripped stdio content is meant to be restored inside the new Deployment section as a peer subsection to the HTTP paths.The branch is WIP and should not be merged as-is. Pick up from there or redo the strip from
main— either is fine; the branch is a convenience.Proposed target structure
Replace the current "MCP Server for AI Assistants" + "Cloud Deployment (Optional)" sections with a unified "Deployment" section whose subsections are the supported paths, each as a peer:
Dependencies and ordering
Procfile(see separate issue). If no Procfile ships, the "gcloud run deploy (bare)" subsection becomes "gcloud run deploy with--command" and is clunkier; still worth documenting as a path.echomodel/mcp-appcutting a release that includes the App-as-ASGI-callable change fromechomodel/mcp-app#28before the "mcp-app deploy" subsection becomes concrete. Until then, that subsection can be a placeholder noting the future path.Both dependencies are soft — the restructure can ship with a good "gcloud run deploy with --command" recipe and a placeholder for mcp-app deploy, and then tighten later.
Work breakdown
monarch-admin connect local+users add local, thenclaude mcp addandgemini mcp addstdio registration commands)#deployment)Notes
This is content-only — no code changes, no behavior changes. Entirely a documentation restructure to reflect the multi-path posture blessed upstream in
echomodel/mcp-app#26and#27.