MCP Server Policy

GOOGLE WORKSPACE DRIVE (GWS CLI) MCP POLICY

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

gws mcp -s drive 28 read 29 write 57 tools total
google-workspace drive files storage google

GET STARTED

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

terminal

# Download policy scaffold

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

# Run with Intercept

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

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

READ TOOLS

28

WRITE TOOLS

21

DESTRUCTIVE TOOLS

8

POLICY YAML

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

google-workspace-drive.yaml
version: "1"
description: "Policy for gws mcp -s drive"
default: "allow"
tools:
    drive_about_get:
        rules: []
    drive_accessproposals_get:
        rules: []
    drive_accessproposals_list:
        rules: []
    drive_approvals_get:
        rules: []
    drive_approvals_list:
        rules: []
    drive_apps_get:
        rules: []
    drive_apps_list:
        rules: []
    drive_changes_getStartPageToken:
        rules: []
    drive_changes_list:
        rules: []
    drive_comments_get:
        rules: []
    drive_comments_list:
        rules: []
    drive_drives_get:
        rules: []
    drive_drives_list:
        rules: []
    drive_files_download:
        rules: []
    drive_files_export:
        rules: []
    drive_files_generateIds:
        rules: []
    drive_files_get:
        rules: []
    drive_files_list:
        rules: []
    drive_files_listLabels:
        rules: []
    drive_operations_get:
        rules: []
    drive_permissions_get:
        rules: []
    drive_permissions_list:
        rules: []
    drive_replies_get:
        rules: []
    drive_replies_list:
        rules: []
    drive_revisions_get:
        rules: []
    drive_revisions_list:
        rules: []
    drive_teamdrives_get:
        rules: []
    drive_teamdrives_list:
        rules: []
    drive_accessproposals_resolve:
        rules: []
    drive_changes_watch:
        rules: []
    drive_channels_stop:
        rules: []
    drive_comments_create:
        rules: []
    drive_comments_update:
        rules: []
    drive_drives_create:
        rules: []
    drive_drives_hide:
        rules: []
    drive_drives_unhide:
        rules: []
    drive_drives_update:
        rules: []
    drive_files_copy:
        rules: []
    drive_files_create:
        rules: []
    drive_files_modifyLabels:
        rules: []
    drive_files_update:
        rules: []
    drive_files_watch:
        rules: []
    drive_permissions_create:
        rules: []
    drive_permissions_update:
        rules: []
    drive_replies_create:
        rules: []
    drive_replies_update:
        rules: []
    drive_revisions_update:
        rules: []
    drive_teamdrives_create:
        rules: []
    drive_teamdrives_update:
        rules: []
    drive_comments_delete:
        rules: []
    drive_drives_delete:
        rules: []
    drive_files_delete:
        rules: []
    drive_files_emptyTrash:
        rules: []
    drive_permissions_delete:
        rules: []
    drive_replies_delete:
        rules: []
    drive_revisions_delete:
        rules: []
    drive_teamdrives_delete:
        rules: []

RELATED POLICIES

FREQUENTLY ASKED QUESTIONS

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

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

How do I enforce policies on Google Workspace Drive (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 Drive (gws CLI) MCP server. Every tool call is evaluated against your YAML policy before execution.

Is the Google Workspace Drive (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 DRIVE (GWS CLI)

Open source. One binary. Zero dependencies.