Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Gws MCP

MCP server by fioenix Verified · npm:gws-mcp

Gws MCP is an MCP server that wraps the local gws Google Workspace CLI. It lets sandboxed agents use Google Workspace through the OAuth credentials stored on the host.

  • Score 67
  • 0 stars
  • 34 a week
  • MIT
  • Updated

Install Gws MCP

Built from the published package, never by AI.

claude mcp add gws-mcp -- npx -y gws-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Gws MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the gws-mcp block.

About

Gws MCP is a Model Context Protocol server that wraps the locally installed gws Google Workspace CLI. It lets Claude Desktop, Claude Code, Claude Cowork and other MCP-capable agents use Google Workspace through OAuth credentials kept in the host keyring, without exposing those credentials to the agent. The server provides schema-aware tools, bundled skill guides and safety controls such as a service allowlist, a method denylist and an NDJSON audit log.

It uses stdio by default and offers Streamable HTTP with bearer-token auth for remote sandboxes. Credential profiles let one host switch between several Google accounts. It is aimed at users who want sandboxed or remote agents to reach Google Workspace without direct access to host credentials.

Written from the project's README and checked against it.

Tools it gives your assistant

  • gws_list_servicesLists the Google Workspace services this server is allowed to call.
  • gws_helpRuns gws help for a given set of arguments to discover resources and methods.
  • gws_schemaReturns the JSON schema for a service.resource.method before a call is made.
  • gws_callGeneric dispatcher for Google Workspace API calls, with optional dry run and pagination.
  • gws_profile_currentShows which credential profile the next call uses and whether its token is valid.
  • gws_profile_listLists every credential profile on the host with account, project and token state.
  • gws_profile_useSwitches the credential profile for the current session without a restart.
  • gws_gcpRuns the host's gcp zsh helper for credential diagnostics.
  • gws_list_skillsLists the skill guides bundled with this server.
  • gws_get_skillReturns the full markdown of a bundled skill guide.

What you need

  • gws CLI installed and logged in
  • Node.js 20 or later
  • macOS or Linux
  • Your own Google OAuth client for credentials

Try asking

  • Show me the next 10 files in my Google Drive.
  • Check which Google account the current session is using.
  • Summarise my Google Calendar events for tomorrow.

Good to know

  • Windows is untested.
  • A reauth_required error needs a browser, so the agent cannot fix it.
  • Each credential profile needs its own gws config directory.
  • Output returned to the agent is capped by default at 1 MB and extra is truncated.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Gws MCP

All alternatives →
LearnHouse learnhouse
95

LearnHouse is an open source learning platform for building courses, learning paths and communities in your own academy. Its MCP server lets AI assistants read and build courses in your organization.

ACA Remote 2.5k
Agent-Native CalendarBuilderIO
94

Agent-Native Calendar is the Calendar agent in Agent-Native, an open-source TypeScript framework for building agents with UIs. The README describes it as a way to find time, schedule events, and manage bookings. It is aimed at developers building agent apps.

AAA Remote 7.8k
Agent-Native ClipsBuilderIO
94

Agent-Native Clips is the Clips agent from the Agent-Native framework, an open-source TypeScript project. It records and helps people understand meetings, screens, and voice notes.

AAA Remote 7.8k
Agent-Native SlidesBuilderIO
94

Agent-Native Slides is the Slides agent in the Agent-Native open-source framework, described as a way to create and edit on-brand presentations. It is aimed at developers who build agents with a purpose-built UI.

AAA Remote 7.8k
AIHawkfeder-cr
94

AIHawk is an AI job application bot. It finds recent job postings that match your resume, then fills in and sends applications on the company's own forms after you pick the jobs.

AAA Local 33k
Microsoft 365 MCP ServerSofteria
94

Connects AI assistants to Microsoft 365 and Office services through the Microsoft Graph API. It suits users and administrators who want an assistant to work with Outlook, calendar, OneDrive, Teams and SharePoint data.

AAA Local 87k/wk

Compare with LearnHouse, Agent-Native Calendar or Agent-Native Clips

Gws MCP: common questions

Does the agent get my Google credentials?

No. The README says the server uses OAuth credentials stored in the host keyring without exposing them to the agent itself.

Can I restrict which actions an agent can run?

Yes. GWS_MCP_ALLOWED_SERVICES sets a service allowlist, GWS_MCP_DENIED_METHODS sets a method denylist, and GWS_MCP_AUDIT_LOG writes an audit record of tool calls.

Can it work with more than one Google account?

Yes. Credential profiles can be selected with GWS_PROFILE, and gws_profile_use switches identity during a session.

How do I install Gws MCP?

In Claude Code run claude mcp add gws-mcp -- npx -y gws-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Gws MCP the official server?

Gws MCP is published by npm:gws-mcp from its verified domain in the official MCP Registry.

Is Gws MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Gws MCP safe to use?

It scores 67 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Gws MCP?

Similar MCP servers: LearnHouse, Agent-Native Calendar, Agent-Native Clips, Agent-Native Slides.

Does Gws MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Gws MCP Install

Add to stack

Loading.