google-chat-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GOOGLE_CHAT_MCP_TOKEN | No | Path to the saved Google OAuth token file. Defaults to ~/.config/google-chat-mcp/token.json. | |
| GOOGLE_CHAT_MCP_CREDENTIALS | No | Path to the Google OAuth client credentials JSON file. Defaults to ~/.config/google-chat-mcp/credentials.json. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Google Chat を読み取り専用で読む MCP サーバー。送信・編集・削除・既読の変更はできない。まず list_spaces でスペースを確かめ、get_messages で読む。記録をとるときは get_messages の next_since を記録に残し、次回はそれを since に渡して続きから読む。get_unread の未読は利用者が画面で開くと消えるので、記録の起点には使わない。
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_spacesA | 参加している Google Chat のスペース(スペース・グループチャット・DM)を、最近動いた順に一覧する。読み取り専用。 DM とグループチャットは相手の名前で表示する(例「DM: 山田 太郎」「グループ: 佐藤、鈴木」)。 last_active は人の最後の発言の時刻で、ボット・アプリの投稿では更新されない。 返り値の space(spaces/…)か名前を、ほかのツールの space 引数に渡す。 Args: space_type: "SPACE"・"GROUP_CHAT"・"DIRECT_MESSAGE" のどれかで絞る。 active_since: この時刻以降に動いたものだけ(例 "2026-11-01"、"2026-11-01T09:00"。時差なしは日本時間)。 name_contains: 名前の一部で絞る(全角半角・大文字小文字を区別しない)。 unread_only: True なら、利用者がチャットの画面でまだ開いていない発言があるスペースだけを、 last_read(既読の時刻)付きで返す。スペースごとに問い合わせるので少し時間がかかる。 |
| get_messagesA | 1つのスペースのメッセージを読む。読み取り専用で、既読にもしない。 since を渡すかどうかで、返り値と続きの読み方が変わる。
Args: space: スペースの名前(一部でよい)・URL・ID(spaces/…)のどれか。DM は相手の名前で指定できる。 since: この時刻より後だけ(例 "2026-11-01"、"2026-11-01T09:00"、または前回の next_since)。 until: この時刻より前だけ(古い分を読むときは older_until を渡す)。 limit: 最大件数(既定 100、上限 500)。 thread: このスレッドだけを読む(メッセージの thread の値)。 include_bots: 既定 true(ボット・アプリの発言も含める)。false にすると除く。記録では既定のままにする。 |
| search_messagesA | 期間を区切って、キーワードでメッセージを探す。Google 側に検索の仕組みが無いため、取得して手元で照合する。
Args: keywords: 探す語(空白区切り)。 spaces: 調べるスペースの名前・URL・ID のリスト。省略時は期間内に動いたスペースすべて。 since: この時刻より後だけ(既定は 30日前)。 until: この時刻より前だけ。 limit: 返すヒットの最大件数(既定 50)。 |
| get_membersA | スペースの参加者(名前・メール・種類・役割)を返す。記録の「参加者」欄に使う。 Args: space: スペースの名前(一部でよい)・URL・ID のどれか。 |
| get_unreadA | 利用者がチャットの画面でまだ開いていない(未読の)メッセージを、スペースごとにまとめて返す。 読むだけで既読にはしない。利用者自身の発言は数えない。
Args: space: スペースの名前・URL・ID。省略時は全スペース。 limit: 返すメッセージの合計の最大件数(既定 200)。 include_bots: 既定 true(ボット・アプリの発言も含める)。false にすると除く。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool has a clear primary role: listing spaces, fetching members, reading messages, keyword search, and unread retrieval. The main overlap is get_unread versus list_spaces with unread_only=true, plus some conceptual overlap between get_messages and search_messages, but descriptions explain the differences well.
All five tools follow a consistent snake_case verb_noun pattern (get_members, list_spaces, get_messages, search_messages, get_unread). The verb choice (get/list/search) matches the read semantics predictably.
Five tools is a well-scoped set for a focused read/record-oriented server, with each tool covering a distinct need (spaces, members, messages, search, unread). No tool feels redundant or vestigial.
The read-only surface is coherent and internally complete (list, read, search, unread, members), with pagination handled well. However, there is no way to send or reply to messages, list threads explicitly, or download attachments, which are gaps for a full Google Chat domain.