Google Workspace Code MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GOOGLE_WORKSPACE_TOKEN | No | Path to the stored OAuth token. Defaults to '~/.pi/google-workspace/token.json'. | |
| GOOGLE_WORKSPACE_AUTH_MODE | No | Authentication mode, either 'cloud' or 'local'. Defaults to 'cloud'. | cloud |
| GOOGLE_WORKSPACE_CLIENT_ID | No | The Google Workspace Client ID. | |
| GOOGLE_WORKSPACE_CONFIG_DIR | No | The configuration directory for Google Workspace. Defaults to '~/.pi/google-workspace'. | |
| GOOGLE_WORKSPACE_CREDENTIALS | No | Path to or content of Google Workspace credentials. | |
| GOOGLE_WORKSPACE_CALLBACK_HOST | No | The host used for the OAuth callback flow. | |
| GOOGLE_WORKSPACE_CLOUD_FUNCTION_URL | No | The URL for the Google Workspace Cloud Function. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| executeB | Execute JavaScript/TypeScript inside a Node vm context with authenticated Google Workspace access. TypeScript type syntax is stripped before execution. The script runs inside an async function body and can use: auth, google, workspace, state. Return values with |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mitsuhiko/google-workspace-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server