Skip to main content
Glama

Google Cloud MCP Server

by andyl25
state-manager.d.ts1.22 kB
import { EventEmitter } from 'events'; /** * State manager for the application */ declare class StateManager extends EventEmitter { private state; private static instance; /** * Get the singleton instance */ static getInstance(): StateManager; /** * Private constructor to enforce singleton pattern */ private constructor(); /** * Initialize the state manager */ private initialize; /** * Save the state to disk */ private saveState; /** * Get the current project ID * * @returns The current project ID or null if not set */ getCurrentProjectId(): string | null; /** * Set the current project ID * * @param projectId The project ID to set */ setCurrentProjectId(projectId: string): Promise<void>; /** * Set the auth initialization state * * @param initialized Whether auth has been initialized */ setAuthInitialized(initialized: boolean): void; /** * Get the auth initialization state * * @returns Whether auth has been initialized */ isAuthInitialized(): boolean; } export declare const stateManager: StateManager; export {};

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/andyl25/googlecloud-mcp'

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