From 6ccb349da8449863c731b2f782d605a28f5579c8 Mon Sep 17 00:00:00 2001 From: Yongli Qi Date: Fri, 8 May 2026 16:35:24 +0200 Subject: [PATCH] Update README.md Conflict with the port exposed in Dockerfile, update README --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a11aa6a..8dc92af 100644 --- a/README.md +++ b/README.md @@ -72,13 +72,13 @@ To enable it, set the following environment variables: - `GOOGLE_ADS_MCP_OAUTH_CLIENT_ID`: Your Google Cloud OAuth 2.0 Client ID. - `GOOGLE_ADS_MCP_OAUTH_CLIENT_SECRET`: Your Google Cloud OAuth 2.0 Client Secret. -- `GOOGLE_ADS_MCP_BASE_URL`: (Optional) The base URL where the server is accessible (defaults to `http://localhost:8000`). +- `GOOGLE_ADS_MCP_BASE_URL`: (Optional) The base URL where the server is accessible (defaults to `http://localhost:8080`). Once this is enabled, you can authenticate to the API through your MCP client: for example, in Gemini CLI, the command `/mcp auth google-ads-mcp` triggers the authentication flow. When these variables are set, the server automatically switches to the `streamable-http` transport (SSE/HTTP) instead of `stdio`. -You will need to run the server as a separate process and configure your MCP client to connect to the SSE endpoint (e.g., `http://localhost:8000/mcp`). +You will need to run the server as a separate process and configure your MCP client to connect to the SSE endpoint (e.g., `http://localhost:8080/mcp`). #### Option 2: Configure credentials using Application Default Credentials @@ -151,14 +151,14 @@ popular clients. - Option 1: Using FastMCP OAuth Proxy (Streamable HTTP) - You can run the server as a separate process and configure your MCP client to connect to the SSE endpoint (e.g., `http://localhost:8000/mcp`). + You can run the server as a separate process and configure your MCP client to connect to the SSE endpoint (e.g., `http://localhost:8080/mcp`). This also allows using FastMCP's [OAuth proxy](https://gofastmcp.com/servers/auth/oauth-proxy) feature for dynamic user authentication. ```json { "mcpServers": { "google-ads-mcp": { - "httpUrl":"http://localhost:8000/mcp", + "httpUrl":"http://localhost:8080/mcp", "env": { "GOOGLE_PROJECT_ID": "YOUR_PROJECT_ID", "GOOGLE_ADS_DEVELOPER_TOKEN": "YOUR_DEVELOPER_TOKEN" @@ -378,4 +378,4 @@ While that guide is specific to Gemini CLI, Agent Skills are an open standard an ## Contributing -Contributions welcome! See the [Contributing Guide](CONTRIBUTING.md). \ No newline at end of file +Contributions welcome! See the [Contributing Guide](CONTRIBUTING.md).