Key Changes:
-
Environment Variable Configuration:
- You can now configure the server using
GOOGLE_OAUTH_CLIENT_ID
andGOOGLE_OAUTH_CLIENT_SECRET
environment variables. - The credential loading priority is:
- Environment Variables
GOOGLE_CLIENT_SECRETS
pathclient_secret.json
in the root directory.
- You can now configure the server using
-
Updated Authentication Flow:
- A new function
auth/google_auth.py:88
was added to load secrets from the environment. - The
create_oauth_flow()
function inauth/google_auth.py
now centralizes OAuth flow creation, prioritizing environment variables over file-based configuration. - Functions
start_auth_flow()
andhandle_auth_callback()
were refactored to use this new flow.
- A new function
-
Improved Error Handling & Logging:
- Enhanced error messages in
core/server.py
andauth/oauth_callback_server.py
to guide users on setting up credentials if they are missing. - Added logging to indicate whether credentials were loaded from environment variables or a file.
- Enhanced error messages in
Feature: Google Docs Comment Management
This PR adds comprehensive comment management functionality to the Google Workspace MCP server.
New Tools Added:
- `read_doc_comments` - Read all comments and replies from a Google Doc
- `reply_to_comment` - Reply to specific comments in documents
- `create_doc_comment` - Create new comments on documents
- `resolve_comment` - Mark comments as resolved