# Gmail — MCP server on mcp.ai > Read, search and send Gmail messages straight from your AI agent. By: Composio · official Page: https://mcp.ai/gmail ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_gmail?ms=1781044500000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/gmail/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/gmail/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/gmail/skill.md Postman collection (v2.1): https://mcp.ai/gmail/postman.json