Gmail MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ALLOW_GMAIL_SEND | No | Enable Gmail send. Set to 'true' to allow. | false |
| ALLOW_GMAIL_DRAFT_CREATE | No | Enable Gmail draft creation. Set to 'true' to allow. | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| health_checkA | Verify that the MCP server is running and show integration status. |
| echo_textA | Echo non-empty text to verify argument handling and tool responses. |
| add_numbersA | Add two numbers to verify typed numeric tool arguments. |
| gmail_auth_statusA | Check local Gmail OAuth credential and token readiness without a network call. |
| gmail_get_profileA | Verify the Gmail API connection and return mailbox totals. |
| gmail_list_messagesC | List recent Gmail messages with IDs, sender, subject, date, and snippet. |
| gmail_search_messagesB | Search Gmail using Gmail search syntax such as from:, subject:, or is:unread. |
| gmail_read_messageA | Read a Gmail message using a message_id returned by list or search. |
| gmail_create_draftC | Create a Gmail draft after explicit enablement in .env. |
| gmail_send_emailC | Send an email after explicit enablement in .env. |
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
- 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/suryanandan1/MCP_and_gmail_connection'
If you have feedback or need assistance with the MCP directory API, please join our Discord server