From a1b592c21a67da47755a47bba90c13810d7cf015 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 9 Jun 2026 09:44:42 +0000 Subject: [PATCH] docs: add mcpproxy-rest-auth volume to Docker run commands Persist OAuth tokens for REST authorization_code providers across container restarts by mounting the .rest-auth cache, matching the docker-compose volume. Added to both the persistent-caches and home-directory run examples with a short explanatory note. https://claude.ai/code/session_01L9uGbkXi2RwUmBQHdVaNoZ --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3a8ddcf..d318a9b 100755 --- a/README.md +++ b/README.md @@ -327,6 +327,7 @@ docker run -d --rm \ -v mcpproxy-npm:/root/.npm \ -v mcpproxy-uv-tools:/root/.local/share/uv \ -v mcpproxy-mcp-auth:/app/.mcp-auth \ + -v mcpproxy-rest-auth:/app/.rest-auth \ -e MCP_REMOTE_CONFIG_DIR=/app/.mcp-auth \ --name mcpproxy \ ghcr.io/billjr99/mcpproxy:latest @@ -373,10 +374,15 @@ docker run -d \ -v mcpproxy-npm:/root/.npm \ -v mcpproxy-uv-tools:/root/.local/share/uv \ -v mcpproxy-mcp-auth:/app/.mcp-auth \ + -v mcpproxy-rest-auth:/app/.rest-auth \ --name mcpproxy \ ghcr.io/billjr99/mcpproxy:latest ``` +The `mcpproxy-rest-auth` volume persists OAuth tokens for REST `authorization_code` +providers (see [REST / OAuth providers](#rest--oauth-providers)) so you authorize once +rather than on every fresh container. Omit it if you don't use REST OAuth providers. + #### `.env`: the two flags it needs, and why The `.env` file is referenced **twice** above, and each reference does a different job —