MCP Server Policy

GOOGLE WORKSPACE CHAT (GWS CLI) MCP POLICY

Enforce policies on every tool call to the Google Workspace Chat (gws CLI). 37 tools listed, categorised, and ready for rules.

gws mcp -s chat 18 read 19 write 37 tools total
google-workspace chat messaging spaces google

GET STARTED

Download this policy scaffold and add your rules. Intercept enforces them on every tool call before it reaches Google Workspace Chat (gws CLI).

terminal

# Download policy scaffold

curl -o google-workspace-chat.yaml https://raw.githubusercontent.com/policylayer/intercept/main/policies/google-workspace-chat.yaml

# Run with Intercept

intercept --policy google-workspace-chat.yaml -- npx -y @gws mcp -s chat

Server documentation: https://github.com/googleworkspace/cli

READ TOOLS

18

WRITE TOOLS

14

DESTRUCTIVE TOOLS

5

POLICY YAML

This scaffold lists every tool with empty rules. Add conditions — rate limits, argument validation, deny rules — then deploy with Intercept.

google-workspace-chat.yaml
version: "1"
description: "Policy for gws mcp -s chat"
default: "allow"
tools:
    chat_customEmojis_get:
        rules: []
    chat_customEmojis_list:
        rules: []
    chat_media_download:
        rules: []
    chat_spaces_findDirectMessage:
        rules: []
    chat_spaces_get:
        rules: []
    chat_spaces_list:
        rules: []
    chat_spaces_members_get:
        rules: []
    chat_spaces_members_list:
        rules: []
    chat_spaces_messages_attachments_get:
        rules: []
    chat_spaces_messages_get:
        rules: []
    chat_spaces_messages_list:
        rules: []
    chat_spaces_messages_reactions_list:
        rules: []
    chat_spaces_search:
        rules: []
    chat_spaces_spaceEvents_get:
        rules: []
    chat_spaces_spaceEvents_list:
        rules: []
    chat_users_spaces_getSpaceReadState:
        rules: []
    chat_users_spaces_spaceNotificationSetting_get:
        rules: []
    chat_users_spaces_threads_getThreadReadState:
        rules: []
    chat_customEmojis_create:
        rules: []
    chat_media_upload:
        rules: []
    chat_spaces_completeImport:
        rules: []
    chat_spaces_create:
        rules: []
    chat_spaces_members_create:
        rules: []
    chat_spaces_members_patch:
        rules: []
    chat_spaces_messages_create:
        rules: []
    chat_spaces_messages_patch:
        rules: []
    chat_spaces_messages_reactions_create:
        rules: []
    chat_spaces_messages_update:
        rules: []
    chat_spaces_patch:
        rules: []
    chat_spaces_setup:
        rules: []
    chat_users_spaces_spaceNotificationSetting_patch:
        rules: []
    chat_users_spaces_updateSpaceReadState:
        rules: []
    chat_customEmojis_delete:
        rules: []
    chat_spaces_delete:
        rules: []
    chat_spaces_members_delete:
        rules: []
    chat_spaces_messages_delete:
        rules: []
    chat_spaces_messages_reactions_delete:
        rules: []

RELATED POLICIES

FREQUENTLY ASKED QUESTIONS

What tools does the Google Workspace Chat (gws CLI) MCP server expose?

The Google Workspace Chat (gws CLI) exposes 37 tools across 3 categories: Read, Write, Destructive. Each tool can be individually controlled with Intercept policies.

How do I enforce policies on Google Workspace Chat (gws CLI)?

Download the policy scaffold, add rules (rate limits, argument validation, deny rules), then run Intercept as a proxy in front of the Google Workspace Chat (gws CLI) MCP server. Every tool call is evaluated against your YAML policy before execution.

Is the Google Workspace Chat (gws CLI) policy free to use?

Yes. All Intercept policies are open source under the Apache 2.0 licence. Download, modify, and deploy without restrictions.

ENFORCE POLICIES ON GOOGLE WORKSPACE CHAT (GWS CLI)

Open source. One binary. Zero dependencies.