Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Automating Google Docs with Claude | Document Drafting, Editing & Filing
Agentic AI for Automating Daily Office Tasks
course content

Contenuti del Corso

Agentic AI for Automating Daily Office Tasks

Agentic AI for Automating Daily Office Tasks

1. Meet Your AI Coworker
2. Smarter Communication & Time Control
3. Document Drafting, Editing & Filing

book
Automating Google Docs with Claude

Google Cloud Console Configuration

New Project Setup
expand arrow
  1. Access Google Cloud Console through browser interface;
  2. Click current project name to access project selector;
  3. Select "New Project" and provide descriptive name (e.g., "docs mcp");
  4. Wait for project creation and switch to new project.
Required API Activations
expand arrow
  1. Google Docs API: navigate to APIs & ServicesLibrary, search "Google Docs API", and enable;
  2. Google Drive API: similarly enable Google Drive API for file management capabilities.

These APIs provide comprehensive access to Google's document ecosystem, enabling read, write, create, edit, and delete operations across both Docs and Drive platforms.

Configure OAuth Consent Screen
expand arrow
  1. Navigate to the "Credentials" tab;
  2. If prompted, click "Configure consent screen";
  3. Click "Get started";
  4. Enter application name (e.g., "gmail agent");
  5. Input your email address;
  6. Select "External Audience" for user type, if you use general Gmail account;
  7. Re-enter your email address when prompted;
  8. Accept the user data policy;
  9. Click Continue and Create.
Create OAuth Credentials
expand arrow
  • Click "Create OAuth Client";
  • Select "Desktop App" for local AI agents and scripts;
  • Accept suggested naming or customize as needed;
  • Download the JSON file and save it as credentials.json in your project directory;
  • Now you need to move the file with credentials to the folder with the AI agent (/MCP-Google-Doc). You can do that manually by moving the file icon to the opened folder in the file explorer. Or use Terminal/Command line and copy the file with the command cp path/to/file_name ., for example:
cp ~/Desktop/credentials.json .

The dot (.) at the end specifies current directory as destination;

  • Confirm successful file transfer and remove from original location.

Installation and Repository Setup

Local Environment Preparation
expand arrow
  • Navigate to designated directory for AI agent storage
cd Documents/projects
git clone https://github.com/ophydami/MCP-Google-Doc.git
cd MCP-Google-Doc
  • Download all required packages and dependencies
npm install
Build and Authentication Process
expand arrow

Optimize code, minify files, and create production-ready bundles

npm run build
Authentication Initialization
expand arrow

Launch authentication server and initiate OAuth flow

npm start

Claude Desktop Integration

Settings Access
expand arrow
  1. Open Claude Desktop settings (Cmd+, or Ctrl+,);
  2. Navigate to Developer tab;
  3. Select "Edit Config" to access configuration file.
Configuration Integration
expand arrow
  • Add comma after existing configuration blocks;
  • Insert Google Docs MCP configuration block
    "googledocs": {
      "command": "node",
      "args": [
        "/path/to/build/server.js"
      ]
    }
  • Update path information using pwd command output in the Terminal/Command line;
  • Save configuration file and restart Claude Desktop.
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 3. Capitolo 1

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

course content

Contenuti del Corso

Agentic AI for Automating Daily Office Tasks

Agentic AI for Automating Daily Office Tasks

1. Meet Your AI Coworker
2. Smarter Communication & Time Control
3. Document Drafting, Editing & Filing

book
Automating Google Docs with Claude

Google Cloud Console Configuration

New Project Setup
expand arrow
  1. Access Google Cloud Console through browser interface;
  2. Click current project name to access project selector;
  3. Select "New Project" and provide descriptive name (e.g., "docs mcp");
  4. Wait for project creation and switch to new project.
Required API Activations
expand arrow
  1. Google Docs API: navigate to APIs & ServicesLibrary, search "Google Docs API", and enable;
  2. Google Drive API: similarly enable Google Drive API for file management capabilities.

These APIs provide comprehensive access to Google's document ecosystem, enabling read, write, create, edit, and delete operations across both Docs and Drive platforms.

Configure OAuth Consent Screen
expand arrow
  1. Navigate to the "Credentials" tab;
  2. If prompted, click "Configure consent screen";
  3. Click "Get started";
  4. Enter application name (e.g., "gmail agent");
  5. Input your email address;
  6. Select "External Audience" for user type, if you use general Gmail account;
  7. Re-enter your email address when prompted;
  8. Accept the user data policy;
  9. Click Continue and Create.
Create OAuth Credentials
expand arrow
  • Click "Create OAuth Client";
  • Select "Desktop App" for local AI agents and scripts;
  • Accept suggested naming or customize as needed;
  • Download the JSON file and save it as credentials.json in your project directory;
  • Now you need to move the file with credentials to the folder with the AI agent (/MCP-Google-Doc). You can do that manually by moving the file icon to the opened folder in the file explorer. Or use Terminal/Command line and copy the file with the command cp path/to/file_name ., for example:
cp ~/Desktop/credentials.json .

The dot (.) at the end specifies current directory as destination;

  • Confirm successful file transfer and remove from original location.

Installation and Repository Setup

Local Environment Preparation
expand arrow
  • Navigate to designated directory for AI agent storage
cd Documents/projects
git clone https://github.com/ophydami/MCP-Google-Doc.git
cd MCP-Google-Doc
  • Download all required packages and dependencies
npm install
Build and Authentication Process
expand arrow

Optimize code, minify files, and create production-ready bundles

npm run build
Authentication Initialization
expand arrow

Launch authentication server and initiate OAuth flow

npm start

Claude Desktop Integration

Settings Access
expand arrow
  1. Open Claude Desktop settings (Cmd+, or Ctrl+,);
  2. Navigate to Developer tab;
  3. Select "Edit Config" to access configuration file.
Configuration Integration
expand arrow
  • Add comma after existing configuration blocks;
  • Insert Google Docs MCP configuration block
    "googledocs": {
      "command": "node",
      "args": [
        "/path/to/build/server.js"
      ]
    }
  • Update path information using pwd command output in the Terminal/Command line;
  • Save configuration file and restart Claude Desktop.
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 3. Capitolo 1
some-alt