Skip to main content
Glama

MCP Server Boilerplate

.env.example1.01 kB
# Google Maps API (for existing maps tools) GOOGLE_MAPS_API_KEY=your_google_maps_api_key_here # === SERVICE ACCOUNT AUTHENTICATION (RECOMMENDED FOR MCP) === # Option 1: Path to service account JSON file GOOGLE_SERVICE_ACCOUNT_PATH=/Users/silasrhyneer/Code/MCP/google-mcp/service-account-key.json # Option 2: Service account JSON as environment variable (entire JSON as string) # GOOGLE_SERVICE_ACCOUNT_KEY={"type":"service_account","project_id":"your-project",...} # For Google Workspace domain-wide delegation (Gmail access) # GOOGLE_IMPERSONATE_USER=user@yourdomain.com # === OAUTH2 AUTHENTICATION (FALLBACK - requires browser) === # Google OAuth2 credentials (for Gmail and Calendar APIs) # GOOGLE_CLIENT_ID=your_oauth2_client_id_here # GOOGLE_CLIENT_SECRET=your_oauth2_client_secret_here # GOOGLE_REDIRECT_URI=http://localhost:3000/oauth2callback # Google OAuth2 tokens (obtained after user authorization) # GOOGLE_ACCESS_TOKEN=your_access_token_here # GOOGLE_REFRESH_TOKEN=your_refresh_token_here

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/CaptainCrouton89/maps-mcp'

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