1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Claude+MCPでGoogleドライブに書き込んだり、メールを送ったり

Last updated at Posted at 2025-05-31

Claude+MCPでGoogleドライブに書き込んだり、メールを送ったり

Claudeは、Gmailを見たり、Google Driveを見たりできますが、そのままでは、Gmailを送ったり、Google Driveに書き込んだりはできません。

そこで、

Activepieces

https://www.activepieces.com/

を使って、gmailを送ったり、google driveに書き込んだりできるように
します。(Activepieces以外にもN8Nなどを使えます)
これは、MCPを使って他のクラウドストレージやサービスなどとの連携の仕方を
の手習いになります。
Activepiecesは、他の多くのクラウドサービスと連携できます。

これで、Claudeと音声での会話ができるようになると、「◯◯さんに、〜っていうメールを送っておいて」 と言うだけで、メールが送れるようになるわけです。

MCP-> +Add Piece -> Select a piece -> Gmail

MCP-> +Add Piece -> Select a piece -> Google Drive

で、GmailとGoogle Driveを接続します。

Activepieces https://www.activepieces.com/
に、gmailアカウント情報などでログインします。

左のタブのMCPをタップし、

Client Setup Instructions 画面でClaudeを選択する下の画面になります。

スクリーンショット 2025-06-01 6.47.25.png

画面のスクリーンショット 2025-06-01 6.57.44.png ボタンをタップすると、"•••••••••••••••••••••"の部分が数値で表示されますので、このConfigrationをコピーして、Claudeのclaude_desktop_config.json を編集して設定します。
→を参考にしてください https://qiita.com/quittardis/items/a3ba1cc395bcb1c29570

次に、Client Setup Instructions 画面の My Tools の Add Pieceで
Google Driveと、Gmailを追加します。
スクリーンショット 2025-06-01 7.16.11.png

Claude Desktopをいったん終了(重要)し、起動します。

ここで、Google Driveテストとして、

テスト用のテキスト文書を作ってGoogle Driveにアップロードしてください

Google Mailのテストとして

テスト用のテキスト文書を作ってxxxxx@xxxx.xxx にメールしてください

で、動作テストができます。
Googleドライブにファイルがアップロードされていたり、
メールが宛先に届いていればOKです。

Google Driveにアップロードする場合、サイズに制限があります。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?