Skip to main content
Glama

Google Workspace MCP Server

sdk.ts1.18 kB
export class McpError extends Error { code: string; details?: Record<string, any>; constructor(code: string, message: string, details?: Record<string, any>) { super(message); this.code = code; this.details = details; this.name = 'McpError'; } } export enum ErrorCode { InternalError = 'INTERNAL_ERROR', InvalidRequest = 'INVALID_REQUEST', MethodNotFound = 'METHOD_NOT_FOUND', InvalidParams = 'INVALID_PARAMS', AuthenticationRequired = 'AUTHENTICATION_REQUIRED', AuthenticationFailed = 'AUTHENTICATION_FAILED', PermissionDenied = 'PERMISSION_DENIED', ResourceNotFound = 'RESOURCE_NOT_FOUND', ServiceUnavailable = 'SERVICE_UNAVAILABLE', ParseError = 'PARSE_ERROR' } export class Server { private config: any; public onerror: ((error: Error) => void) | undefined; constructor(config: any, options?: any) { this.config = config; } async connect(transport: any): Promise<void> { // Mock implementation return Promise.resolve(); } async close(): Promise<void> { // Mock implementation return Promise.resolve(); } setRequestHandler(schema: any, handler: any): void { // Mock implementation } }

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/aaronsb/google-workspace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server