Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Server port | 3000 |
| DB_URL | No | SQLite database path | ./data/gmail-mcp.db |
| BASE_URL | Yes | Public URL of the server | |
| JWT_SECRET | Yes | Secret for signing MCP-level JWTs | |
| ALLOWED_ORIGINS | No | Comma-separated CORS origins | |
| GOOGLE_CLIENT_ID | Yes | Google OAuth client ID | |
| OAUTH_REDIRECT_URI | Yes | OAuth callback URL (e.g., http://localhost:3000/oauth/callback) | |
| GOOGLE_CLIENT_SECRET | Yes | Google OAuth client secret | |
| TOKEN_ENCRYPTION_KEY | Yes | 32-byte key for encrypting stored tokens |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |