Skip to main content
Glama
mitsuhiko
by mitsuhiko

Execute JavaScript/TypeScript

execute

Run JavaScript/TypeScript scripts with authenticated access to Google Workspace APIs like Calendar and Drive for custom automation and data operations.

Instructions

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 return ....

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scriptYesJavaScript/TypeScript async function body. Type syntax is stripped before execution. Available variables: auth, google, workspace, state.
timeoutMsNoExecution timeout in milliseconds (default: 30000).
scopesNoOptional OAuth scopes override. Defaults to broad Google Workspace scopes.
resetStateNoReset persistent `state` object before execution.

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

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