Runs Google Workspace administration tasks through the GAM command-line tool from an MCP client.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add gam --env GAM_PATH='<GAM_PATH>' -- node /absolute/path/to/gam-mcp-server/dist/index.js~/.codex/config.toml
[mcp_servers.gam]
command = "node"
args = ["/absolute/path/to/gam-mcp-server/dist/index.js"]
env = { GAM_PATH = "<GAM_PATH>" }
# codex mcp add gam --env GAM_PATH='<GAM_PATH>' -- node /absolute/path/to/gam-mcp-server/dist/index.js~/.cursor/mcp.json
{
"mcpServers": {
"gam": {
"command": "node",
"args": [
"/absolute/path/to/gam-mcp-server/dist/index.js"
],
"env": {
"GAM_PATH": "<GAM_PATH>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"gam": {
"type": "stdio",
"command": "node",
"args": [
"/absolute/path/to/gam-mcp-server/dist/index.js"
],
"env": {
"GAM_PATH": "<GAM_PATH>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gam": {
"command": "node",
"args": [
"/absolute/path/to/gam-mcp-server/dist/index.js"
],
"env": {
"GAM_PATH": "<GAM_PATH>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gam": {
"command": "node",
"args": [
"/absolute/path/to/gam-mcp-server/dist/index.js"
],
"env": {
"GAM_PATH": "<GAM_PATH>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"gam": {
"command": "node",
"args": [
"/absolute/path/to/gam-mcp-server/dist/index.js"
],
"env": {
"GAM_PATH": "<GAM_PATH>"
}
}
}
}Environment variables
GAM_PATH
Replace the placeholders with your own credentials and keep them out of version control.