Skip to main content

Barie Google Docs MCP Server

A Model Context Protocol (MCP) server for managing Google Docs - list docs, create docs, fetch document structure, rename documents, and edit content.

Installation

# Run directly from PyPI (recommended)
uvx barie-google-docs-mcp --help

# Optional: pin a version
uvx barie-google-docs-mcp==0.1.1 --help

# Or install locally
pip install -e .

Usage

uvx barie-google-docs-mcp \
  --access-token "YOUR_ACCESS_TOKEN" \
  --refresh-token "YOUR_REFRESH_TOKEN" \
  --client-id "YOUR_CLIENT_ID" \
  --client-secret "YOUR_CLIENT_SECRET" \
  --scopes '["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/documents"]'

Cursor MCP Config

{
  "mcpServers": {
    "google-docs": {
      "command": "uvx",
      "args": [
        "barie-google-docs-mcp",
        "--access-token", "YOUR_ACCESS_TOKEN",
        "--refresh-token", "YOUR_REFRESH_TOKEN",
        "--client-id", "YOUR_CLIENT_ID",
        "--client-secret", "YOUR_CLIENT_SECRET"
      ]
    }
  }
}

Required Arguments

  • --access-token - Google OAuth2 access token
  • --refresh-token - Google OAuth2 refresh token
  • --client-id - Google OAuth2 client ID
  • --client-secret - Google OAuth2 client secret

Optional Arguments

  • --expiry - Token expiry timestamp (ISO format)
  • --scopes - OAuth2 scopes as JSON array string

Tools

Tool Description
list-documents List Google Docs files from Drive
get-document Get a document structure by ID
create-document Create a new Google Doc
update-document-title Rename an existing Google Doc
insert-text Insert text at a given index
replace-text Replace all matching text in a document

Development

python server.py --help

Metadata

Release files for barie-google-docs-mcp 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for barie-google-docs-mcp 0.1.4
File Size Uploaded Provenance
barie_google_docs_mcp-0.1.4.tar.gz 6.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for barie-google-docs-mcp 0.1.4
File Interpreter ABI Platform
barie_google_docs_mcp-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / barie_google_docs_mcp-0.1.4.tar.gz

Download URL barie_google_docs_mcp-0.1.4.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
efcf278628642b3f1d785ddda426d16ba36a9e30e12e624c3b68c1517f2b2cfe
BLAKE2b-256 checksum
How to use checksums
6d42527f12d3b3676e1253c04d0dd90ed7cf926cab7f07b72b7137db1b73aad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / barie_google_docs_mcp-0.1.4-py3-none-any.whl

Download URL barie_google_docs_mcp-0.1.4-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a759d1d00bb2380e17ea05eb37f94ecc948bb50a76f28578cd6ee71506b5f624
BLAKE2b-256 checksum
How to use checksums
75f9e860aee17600164762e9067a85183d482c6bc09c9127c322f108a5e6695f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Security for barie-google-docs-mcp 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page