{"id":47667456,"url":"https://github.com/stratosphereips/strato-mcp-gdocs-suite","last_synced_at":"2026-04-02T12:02:18.068Z","repository":{"id":341397968,"uuid":"1169972802","full_name":"stratosphereips/strato-mcp-gdocs-suite","owner":"stratosphereips","description":"A Python MCP server that exposes Google Docs, Google Sheets, and Google Slides as tools for Coding Agents","archived":false,"fork":false,"pushed_at":"2026-03-12T08:51:14.000Z","size":141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-12T15:23:16.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stratosphereips.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-01T14:11:32.000Z","updated_at":"2026-03-12T08:51:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/stratosphereips/strato-mcp-gdocs-suite","commit_stats":null,"previous_names":["stratosphereips/strato-mcp-gdocs-suite"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/stratosphereips/strato-mcp-gdocs-suite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stratosphereips%2Fstrato-mcp-gdocs-suite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stratosphereips%2Fstrato-mcp-gdocs-suite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stratosphereips%2Fstrato-mcp-gdocs-suite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stratosphereips%2Fstrato-mcp-gdocs-suite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stratosphereips","download_url":"https://codeload.github.com/stratosphereips/strato-mcp-gdocs-suite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stratosphereips%2Fstrato-mcp-gdocs-suite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31305971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T09:48:21.550Z","status":"ssl_error","status_checked_at":"2026-04-02T09:48:19.196Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-02T12:02:15.973Z","updated_at":"2026-04-02T12:02:18.057Z","avatar_url":"https://github.com/stratosphereips.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stratosphere MCP GDocs Suite\n\nA Python MCP server that exposes Google Docs, Google Sheets, Google Slides, and Google Forms as tools for any MCP-compatible AI assistant. Currently supporting **26 tools** across documents, spreadsheets, presentations, and forms.\n\n## Prerequisites\n\nEnable these APIs in your Google Cloud project:\n1. Google Docs API\n2. Google Sheets API\n3. Google Slides API\n4. Google Drive API\n5. Google Forms API\n\nThen create OAuth credentials:\n1. Go to `APIs \u0026 Services` -\u003e `OAuth consent screen` and configure it\n2. On the OAuth consent screen, go to **Scopes** and add the following scopes:\n   - `https://www.googleapis.com/auth/documents`\n   - `https://www.googleapis.com/auth/spreadsheets`\n   - `https://www.googleapis.com/auth/presentations`\n   - `https://www.googleapis.com/auth/drive.readonly`\n   - `https://www.googleapis.com/auth/forms.body`\n   - `https://www.googleapis.com/auth/forms.responses.readonly`\n3. Go to `APIs \u0026 Services` -\u003e `Credentials` -\u003e `Create credentials` -\u003e `OAuth client ID` -\u003e `Desktop app`\n4. Copy the `Client ID` and `Client Secret`\n\n## Quick start (Docker)\n\n### Step 1: Build\n\n```bash\ndocker compose build\n```\n\n### Step 2: Configure\n\n```bash\ncp .env.example .env\n# Fill in GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET\n```\n\n### Step 3: Authenticate (once)\n\n```bash\ndocker compose run --rm -p 8082:8082 auth\n```\n\n### Step 4: Register with your AI assistant\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eClaude Desktop\u003c/strong\u003e\u003c/summary\u003e\n\nAdd to `~/Library/Application Support/Claude/claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"google-docs\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\", \"--rm\", \"-i\",\n        \"-v\", \"gdocs-suite-mcp-tokens:/tokens\",\n        \"--env-file\", \"/absolute/path/to/.env\",\n        \"gdocs-suite-mcp:latest\",\n        \"serve\"\n      ]\n    }\n  }\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eClaude Code\u003c/strong\u003e\u003c/summary\u003e\n\n```bash\nclaude mcp add --transport stdio google-docs -- \\\n  docker run --rm -i \\\n    -v gdocs-suite-mcp-tokens:/tokens \\\n    --env-file /absolute/path/to/.env \\\n    gdocs-suite-mcp:latest serve\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eGemini CLI\u003c/strong\u003e\u003c/summary\u003e\n\nAdd to `~/.gemini/settings.json` (or `.gemini/settings.json` for project-level):\n\n```json\n{\n  \"mcpServers\": {\n    \"gdocs-suite\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\", \"--rm\", \"-i\",\n        \"-v\", \"gdocs-suite-mcp-tokens:/tokens\",\n        \"--env-file\", \"/absolute/path/to/.env\",\n        \"gdocs-suite-mcp:latest\",\n        \"serve\"\n      ]\n    }\n  }\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eOpenAI Codex CLI\u003c/strong\u003e\u003c/summary\u003e\n\nAdd to `~/.codex/config.toml` (or `.codex/config.toml` for project-level):\n\n```toml\n[mcp_servers.gdocs-suite]\ncommand = \"docker\"\nargs = [\"run\", \"--rm\", \"-i\", \"-v\", \"gdocs-suite-mcp-tokens:/tokens\", \"--env-file\", \"/absolute/path/to/.env\", \"gdocs-suite-mcp:latest\", \"serve\"]\nenabled = true\n```\n\n\u003c/details\u003e\n\n## Alternative: local install\n\n```bash\ngit clone https://github.com/stratosphereips/strato-mcp-gdocs-suite\ncd strato-mcp-gdocs-suite\nuv venv \u0026\u0026 source .venv/bin/activate\nuv pip install -e .\ncp .env.example .env\n```\n\nAuthenticate once:\n\n```bash\ngdocs-suite-auth\n```\n\nStart MCP server:\n\n```bash\ngdocs-suite-mcp\n```\n\n## Available Tools\n\n### Documents\n\n| Tool | Parameters | Description |\n|---|---|---|\n| `list_documents_tool` | `max_results=10`, `query=\"\"` | List Google Docs files, optionally filtered by name |\n| `search_documents_tool` | `query`, `max_results=10` | Full-text search across document content |\n| `get_document_tool` | `document_id` | Get document metadata and extracted plain text |\n| `create_document_tool` | `title`, `content=\"\"` | Create a document with optional initial text |\n| `update_document_tool` | `document_id`, `requests` | Apply raw [Docs API batchUpdate](https://developers.google.com/docs/api/reference/rest/v1/documents/batchUpdate) requests |\n\n### Spreadsheets\n\n| Tool | Parameters | Description |\n|---|---|---|\n| `list_spreadsheets_tool` | `max_results=10`, `query=\"\"` | List Google Sheets files, optionally filtered by name |\n| `get_spreadsheet_tool` | `spreadsheet_id` | Get spreadsheet metadata and sheet names |\n| `create_spreadsheet_tool` | `title` | Create a new spreadsheet |\n| `read_range_tool` | `spreadsheet_id`, `range` | Read cell values from an A1-notation range (e.g. `Sheet1!A1:C10`) |\n| `write_range_tool` | `spreadsheet_id`, `range`, `values` | Write a 2D list of values to a range |\n| `append_rows_tool` | `spreadsheet_id`, `range`, `values` | Append rows below the last row with data in the range |\n\n### Presentations\n\n| Tool | Parameters | Description |\n|---|---|---|\n| `list_presentations_tool` | `max_results=10`, `query=\"\"` | List Google Slides files, optionally filtered by name |\n| `get_presentation_tool` | `presentation_id` | Get presentation metadata, slide count, and slide titles |\n| `create_presentation_tool` | `title` | Create a new presentation |\n\n### Forms\n\n| Tool | Parameters | Description |\n|---|---|---|\n| `list_forms_tool` | `max_results=10`, `query=\"\"` | List Google Forms files, optionally filtered by name |\n| `get_form_tool` | `form_id` | Get form metadata, description, and all items/questions |\n| `create_form_tool` | `title`, `description=\"\"` | Create a new form with optional description |\n| `add_question_tool` | `form_id`, `question_type`, `title`, `required=False`, `index=None`, `options=None` | Add a question (types: `text`, `paragraph`, `multiple_choice`, `checkbox`, `dropdown`, `scale`, `date`, `time`) |\n| `update_form_info_tool` | `form_id`, `title=\"\"`, `description=\"\"` | Update form title and/or description |\n| `delete_item_tool` | `form_id`, `item_id` | Delete a question/item by item ID |\n| `list_responses_tool` | `form_id`, `max_results=100` | List all responses for a form |\n| `get_response_tool` | `form_id`, `response_id` | Get a single response by response ID |\n| `move_item_tool` | `form_id`, `original_index`, `new_index` | Move an item to a new position (0-based indices) |\n| `add_text_item_tool` | `form_id`, `title`, `description=\"\"`, `index=0` | Add a section header with optional description |\n| `add_page_break_tool` | `form_id`, `title=\"\"`, `index=0` | Add a page break to start a new section |\n| `update_form_settings_tool` | `form_id`, `email_collection_type=\"\"`, `is_quiz=None` | Set email collection (`DO_NOT_COLLECT`, `VERIFIED`, `RESPONDER_INPUT`) and/or quiz mode |\n\n\u003e **Note:** The Forms tools require two additional OAuth scopes (`forms.body` and `forms.responses.readonly`). If you previously authenticated without these scopes, re-run the auth step: `docker compose run --rm -p 8082:8082 auth`\n\n## Configuration reference\n\n| Variable | Required | Default | Description |\n|---|---|---|---|\n| `GOOGLE_CLIENT_ID` | Yes | - | OAuth client ID |\n| `GOOGLE_CLIENT_SECRET` | Yes | - | OAuth client secret |\n| `GOOGLE_REDIRECT_URI` | No | `http://localhost:8082` | OAuth redirect URI |\n| `TOKEN_STORE_PATH` | No | `~/.config/gdocs-suite-mcp/` (local) / `/tokens` (Docker) | Token storage directory |\n| `GOOGLE_SCOPES` | No | docs + sheets + slides + drive.readonly | Comma-separated OAuth scopes |\n| `LOG_LEVEL` | No | `WARNING` | Log level (stderr only) |\n\n## Development\n\n```bash\nuv pip install -e \".[dev]\"\nuv run pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstratosphereips%2Fstrato-mcp-gdocs-suite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstratosphereips%2Fstrato-mcp-gdocs-suite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstratosphereips%2Fstrato-mcp-gdocs-suite/lists"}