プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Google Docs

作者:pulsemcpバージョン 0.1.4i★ –iパソコンで動く
レジストリ名com.pulsemcp/google-docs

インストール

概要

作者による説明(英語の原文)

MCP server for Google Docs integration with OAuth2 and service account support.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 文書・表計算・事務作業
  • 入力が必要なもの:GOOGLE_DOCS_OAUTH_CLIENT_ID, GOOGLE_DOCS_OAUTH_CLIENT_SECRET, GOOGLE_DOCS_OAUTH_REFRESH_TOKEN, GOOGLE_DOCS_SERVICE_ACCOUNT_PRIVATE_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: GOOGLE_DOCS_OAUTH_CLIENT_ID, GOOGLE_DOCS_OAUTH_CLIENT_SECRET, GOOGLE_DOCS_OAUTH_REFRESH_TOKEN, GOOGLE_DOCS_SERVICE_ACCOUNT_CLIENT_EMAIL, GOOGLE_DOCS_SERVICE_ACCOUNT_PRIVATE_KEY, GOOGLE_DOCS_IMPERSONATE_EMAIL, GOOGLE_DOCS_ENABLED_TOOLGROUPS

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "google-docs": {
      "command": "npx",
      "args": [
        "-y",
        "google-docs-workspace-mcp-server"
      ],
      "env": {
        "GOOGLE_DOCS_OAUTH_CLIENT_ID": "your-value",
        "GOOGLE_DOCS_OAUTH_CLIENT_SECRET": "your-value",
        "GOOGLE_DOCS_OAUTH_REFRESH_TOKEN": "your-value",
        "GOOGLE_DOCS_SERVICE_ACCOUNT_CLIENT_EMAIL": "your-value",
        "GOOGLE_DOCS_SERVICE_ACCOUNT_PRIVATE_KEY": "your-value",
        "GOOGLE_DOCS_IMPERSONATE_EMAIL": "your-value",
        "GOOGLE_DOCS_ENABLED_TOOLGROUPS": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add google-docs --env GOOGLE_DOCS_OAUTH_CLIENT_ID=your-value --env GOOGLE_DOCS_OAUTH_CLIENT_SECRET=your-value --env GOOGLE_DOCS_OAUTH_REFRESH_TOKEN=your-value --env GOOGLE_DOCS_SERVICE_ACCOUNT_CLIENT_EMAIL=your-value --env GOOGLE_DOCS_SERVICE_ACCOUNT_PRIVATE_KEY=your-value --env GOOGLE_DOCS_IMPERSONATE_EMAIL=your-value --env GOOGLE_DOCS_ENABLED_TOOLGROUPS=your-value -- npx -y google-docs-workspace-mcp-server

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "google-docs": {
      "command": "npx",
      "args": [
        "-y",
        "google-docs-workspace-mcp-server"
      ],
      "env": {
        "GOOGLE_DOCS_OAUTH_CLIENT_ID": "your-value",
        "GOOGLE_DOCS_OAUTH_CLIENT_SECRET": "your-value",
        "GOOGLE_DOCS_OAUTH_REFRESH_TOKEN": "your-value",
        "GOOGLE_DOCS_SERVICE_ACCOUNT_CLIENT_EMAIL": "your-value",
        "GOOGLE_DOCS_SERVICE_ACCOUNT_PRIVATE_KEY": "your-value",
        "GOOGLE_DOCS_IMPERSONATE_EMAIL": "your-value",
        "GOOGLE_DOCS_ENABLED_TOOLGROUPS": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "google-docs": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "google-docs-workspace-mcp-server"
      ],
      "env": {
        "GOOGLE_DOCS_OAUTH_CLIENT_ID": "your-value",
        "GOOGLE_DOCS_OAUTH_CLIENT_SECRET": "your-value",
        "GOOGLE_DOCS_OAUTH_REFRESH_TOKEN": "your-value",
        "GOOGLE_DOCS_SERVICE_ACCOUNT_CLIENT_EMAIL": "your-value",
        "GOOGLE_DOCS_SERVICE_ACCOUNT_PRIVATE_KEY": "your-value",
        "GOOGLE_DOCS_IMPERSONATE_EMAIL": "your-value",
        "GOOGLE_DOCS_ENABLED_TOOLGROUPS": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • GOOGLE_DOCS_OAUTH_CLIENT_ID 秘密 env
    OAuth2 client ID from Google Cloud Console.
  • GOOGLE_DOCS_OAUTH_CLIENT_SECRET 秘密 env
    OAuth2 client secret from Google Cloud Console.
  • GOOGLE_DOCS_OAUTH_REFRESH_TOKEN 秘密 env
    Long-lived refresh token obtained from the oauth-setup command.
  • GOOGLE_DOCS_SERVICE_ACCOUNT_CLIENT_EMAIL env
    Service account email address for domain-wide delegation.
  • GOOGLE_DOCS_SERVICE_ACCOUNT_PRIVATE_KEY 秘密 env
    Service account private key in PEM format.
  • GOOGLE_DOCS_IMPERSONATE_EMAIL env
    Email address to impersonate in Google Workspace.
  • GOOGLE_DOCS_ENABLED_TOOLGROUPS env
    Comma-separated list of tool groups to enable (readonly, readwrite, readwrite_external).

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名はドメイン pulsemcp.com で確認済みです(レジストリがドメインの所有を確認しています)

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

文書・表計算・事務作業のほかのサーバーとの比較i

  • このカテゴリのほかの2167件のうち0%よりスターが多い
  • このカテゴリのほかの2167件のうち14%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2167件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Google Docsは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:GOOGLE_DOCS_OAUTH_CLIENT_ID, GOOGLE_DOCS_OAUTH_CLIENT_SECRET, GOOGLE_DOCS_OAUTH_REFRESH_TOKEN, GOOGLE_DOCS_SERVICE_ACCOUNT_PRIVATE_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.4)がレジストリに届いたのは5 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Excel MCP Server

作者:haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

パソコンで動く★ 4,276MIT5 日前更新
インストール

MCP Server for Excel

作者:sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

パソコンで動く★ 847MIT3 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Google Docs Workspace MCP Server

An MCP (Model Context Protocol) server that provides Google Docs integration for AI assistants. Supports both personal Google accounts (via OAuth2) and Google Workspace accounts (via service account with domain-wide delegation).

Features

  • Read documents: Fetch full body or just the heading outline of a Google Doc, by document ID or shareable URL
  • Create documents: Create new Google Docs with optional initial content
  • Edit documents:
  • Append text to the end of a document
  • Insert text at a specific index
  • Replace all occurrences of a string
  • Apply raw documents.batchUpdate requests for full structural control
  • Delete documents: Move to Drive trash by default, or permanently delete with an explicit flag
  • Export documents: Export to Markdown, HTML, plain text, PDF, DOCX, ODT, RTF, or EPUB
  • Share documents (gated): Grant read/comment/write access to a user, group, domain, or anyone with a link
  • Two auth methods: OAuth2 for personal accounts, service account for Google Workspace
  • Permission gating: Restrict tools by group via GOOGLE_DOCS_ENABLED_TOOLGROUPS

Installation

npm install google-docs-workspace-mcp-server

Or run directly with npx:

npx google-docs-workspace-mcp-server

Authentication

This server supports two authentication modes. Choose the one that matches your account type.

Option 1: OAuth2 (Personal Google Accounts)

Use this for personal @gmail.com accounts or any Google account without Workspace admin access.

Prerequisites
  1. Go to Google Cloud Console
  2. Create or select a project
  3. Enable the Google Docs API and the Google Drive API
  4. Configure the OAuth consent screen:
  • Choose External user type
  • Add yourself as a test user
  • Publish the app (click "Publish" on the consent screen) to prevent refresh tokens from expiring every 7 days. No full Google verification is needed for personal use.
  1. Create OAuth 2.0 credentials:
  • Choose Desktop app as the application type
  • Important: Create new credentials _after_ publishing the app
  1. Copy the Client ID and Client Secret
Getting a Refresh Token

Run the built-in setup command:

npx google-docs-workspace-mcp-server oauth-setup <client_id> <client_secret>

You can also pass credentials via environment variables:

GOOGLE_DOCS_OAUTH_CLIENT_ID=... GOOGLE_DOCS_OAUTH_CLIENT_SECRET=... npx google-docs-workspace-mcp-server oauth-setup

Port conflict? If port 3000 is already in use, specify a different port:

PORT=3001 npx google-docs-workspace-mcp-server oauth-setup <client_id> <client_secret>

Desktop app credentials automatically allow http://localhost redirects on any port, so no additional Google Cloud Console configuration is needed.

This will open your browser for Google sign-in and print the refresh token. You only need to do this once — the refresh token does not expire (as long as the OAuth consent screen is published).

Environment Variables (OAuth2)
VariableRequiredDescription
GOOGLE_DOCS_OAUTH_CLIENT_IDYesOAuth2 client ID from Google Cloud Console
GOOGLE_DOCS_OAUTH_CLIENT_SECRETYesOAuth2 client secret
GOOGLE_DOCS_OAUTH_REFRESH_TOKENYesRefresh token from the setup script
GOOGLE_DOCS_ENABLED_TOOLGROUPSNoComma-separated list of tool groups (default: all)
Claude Desktop Configuration (OAuth2)
{

"mcpServers": { "google-docs": { "command": "npx", "args": ["google-docs-workspace-mcp-server"], "env": { "GOOGLE_DOCS_OAUTH_CLIENT_ID": "your-client-id.apps.googleusercontent.com", "GOOGLE_DOCS_OAUTH_CLIENT_SECRET": "your-client-secret", "GOOGLE_DOCS_OAUTH_REFRESH_TOKEN": "your-refresh-token" } } } }

Option 2: Service Account (Google Workspace)

Use this for Google Workspace organizations where a domain admin can grant domain-wide delegation.

Prerequisites
  1. Go to Google Cloud Console
  2. Create or select a project
  3. Enable the Google Docs API and the Google Drive API
  4. Create a service account with domain-wide delegation enabled
  5. In Google Workspace Admin Console, grant the service account access to the following scopes:
  • https://www.googleapis.com/auth/documents (read and edit documents)
  • https://www.googleapis.com/auth/drive (full read/write access to the impersonated user's Drive — required to export, read comments on, and manage arbitrary existing docs, including files this app did not create)
  1. Download the JSON key file
Environment Variables (Service Account)
VariableRequiredDescription
GOOGLE_DOCS_SERVICE_ACCOUNT_CLIENT_EMAILYesService account email address
GOOGLE_DOCS_SERVICE_ACCOUNT_PRIVATE_KEYYesService account private key (PEM format)
GOOGLE_DOCS_IMPERSONATE_EMAILYesEmail address to impersonate
GOOGLE_DOCS_ENABLED_TOOLGROUPSNoComma-separated list of tool groups to enable (default: all groups)

You can find the client_email and private_key values in your service account JSON key file.

Claude Desktop Configuration (Service Account)
{

"mcpServers": { "google-docs": { "command": "npx", "args": ["google-docs-workspace-mcp-server"], "env": { "GOOGLE_DOCS_SERVICE_ACCOUNT_CLIENT_EMAIL": "my-service-account@my-project.iam.gserviceaccount.com", "GOOGLE_DOCS_SERVICE_ACCOUNT_PRIVATE_KEY": "[PopNx MCP ตัดค่าที่หน้าตาเหมือนกุญแจออก]", "GOOGLE_DOCS_IMPERSONATE_EMAIL": "user@yourdomain.com" } } } }

Note: For the private key, you can either:

  1. Use the key directly with \n for newlines (as shown above)
  2. Set the environment variable from a shell that preserves newlines

Tool Groups

The server supports three tool groups for permission-based access control:

GroupTools IncludedRisk Level
readonlyget_document, get_document_outline, export_document, list_commentsLow
readwriteAll readonly tools + create_document, update_document, delete_document, append_text, insert_text, replace_textMedium
readwrite_externalAll readwrite tools + share_documentHigh

By default, all tool groups are enabled. To restrict access, set the GOOGLE_DOCS_ENABLED_TOOLGROUPS environment variable:

# Read-only access (no writes or sharing)

GOOGLE_DOCS_ENABLED_TOOLGROUPS=readonly

Read and write, but no sharing

GOOGLE_DOCS_ENABLED_TOOLGROUPS=readwrite

Full access including sharing (default)

GOOGLE_DOCS_ENABLED_TOOLGROUPS=readwrite_external

Security Note: The share_document tool is in a separate readwrite_external group because it can grant access to users outside your organization, which carries higher risk than purely internal edits.

Available Tools

All tools that take a document_id accept either a raw Google Docs ID (e.g., 1AbCdEf...) or a shareable Docs URL (e.g., https://docs.google.com/document/d/1AbCdEf.../edit). The server extracts the ID automatically.

get_document

Fetch a Google Doc and return its title, outline, and full body.

Parameters:

  • document_id (string, required): Google Docs ID or URL
  • format (string, optional): text (default) for human-readable output, or json for the raw documents.get API resource
get_document_outline

Return only the heading structure of a document — useful for getting your bearings on a long doc without pulling the full body.

Parameters:

  • document_id (string, required): Google Docs ID or URL
create_document

Create a new Google Doc.

Parameters:

  • title (string, required): Document title
  • initial_content (string, optional): Plain text inserted into the new document
update_document

Apply raw documents.batchUpdate requests. This is the escape hatch for any Docs API operation not covered by the more focused tools (e.g., applying paragraph styles, inserting tables, manipulating named ranges).

Parameters:

  • document_id (string, required): Google Docs ID or URL
  • requests (array, required): Array of documents.batchUpdate request objects (API reference)

Example:

{

"document_id": "1AbCdEf...", "requests": [ { "insertText": { "location": { "index": 1 }, "text": "Hello, world!\n" } }, { "updateParagraphStyle": { "range": { "startIndex": 1, "endIndex": 14 }, "paragraphStyle": { "namedStyleType": "HEADING_1" }, "fields": "namedStyleType" } } ] }

append_text

Append text to the end of a document. Resolves the end-of-body index for you.

Parameters:

  • document_id (string, required): Google Docs ID or URL
  • text (string, required): Text to append
insert_text

Insert text at a specific index.

Parameters:

  • document_id (string, required): Google Docs ID or URL
  • index (number, required): Insertion index (must be ≥ 1)
  • text (string, required): Text to insert
replace_text

Find and replace text throughout a document. Reports the number of occurrences replaced.

Parameters:

  • document_id (string, required): Google Docs ID or URL
  • find (string, required): String to find
  • replace (string, required): Replacement string
  • match_case (boolean, optional): Whether matching is case-sensitive (default: false)
delete_document

Move a document to Drive trash by default, or permanently delete it.

Parameters:

  • document_id (string, required): Google Docs ID or URL
  • permanent (boolean, optional): When true, permanently delete instead of trashing (default: false)
export_document

Export a document in a different format.

Parameters:

  • document_id (string, required): Google Docs ID or URL
  • format (string, required): One of markdown, html, txt, pdf, docx, odt, rtf, epub

Text formats (markdown, html, txt) are returned inline. Binary formats (pdf, docx, odt, rtf, epub) are returned base64-encoded.

list_comments

List the comments on a document, including threaded replies and resolved state. Reads the Drive comments.list API and surfaces each comment's author, timestamps, resolved/open state, the anchored quoted text it refers to, the comment body, and any replies (including replies that resolved or reopened the thread).

Parameters:

  • document_id (string, required): Google Docs ID or URL
  • include_resolved (boolean, optional): Include resolved (closed) threads (default: true). Set false to see only open comments.
  • `include_delet

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く