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. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| execute | 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 | |