gmail-mcp-server-typescript
by daviiiL
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port inside the container | 8080 |
| BIND_HOST | No | Interface to bind. Defaults to loopback so a bare `pnpm dev` is never exposed. Containers must set 0.0.0.0. | 127.0.0.1 |
| LOG_LEVEL | No | debug | info | warn | error | info |
| UPSTREAM_URL | No | Google's MCP endpoint | https://gmailmcp.googleapis.com/mcp/v1 |
| MAX_BODY_BYTES | No | Request body cap. Gmail allows 25 MB attachments and base64 inflates ~33%, so a compose call can legitimately reach ~34 MB. Bodies are buffered to allow replay on a 401 retry, so this is also a memory bound. | 41943040 |
| TOKEN_ENDPOINT | No | Override for testing | https://oauth2.googleapis.com/token |
| GOOGLE_CLIENT_ID | Yes | OAuth client ID | |
| GOOGLE_CLIENT_SECRET | Yes | OAuth client secret | |
| GOOGLE_REFRESH_TOKEN | Yes | Long-lived token minted in step 3 |
Capabilities
Server capabilities have not been inspected yet.
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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/daviiiL/gmail-mcp-server-typescript-autogenerated'
If you have feedback or need assistance with the MCP directory API, please join our Discord server