tecnologicachile/mail-mcp
tecnologicachile is a community-maintained (tecnologicachile) entry covering Gmail with read + write access and DWD: no.
- access mode act
- read+act (IMAP search/flags/delete/draft, SMTP send)
- domain-wide delegation no
- no (IMAP/SMTP OAuth2 XOAUTH2)
- is_agentic client recommended
- recommended (own client)
- APIs covered (1)
- Gmail
Verified from upstream tool definitions or official docs.
Per-user OAuth or non-DWD flow.
Mark on your OAuth client in Cloud Console before Nov 12, 2026.
Deployment readiness
Single-user (0/6 core criteria yes, 3 partial)Connects via IMAP/SMTP with static per-account XOAUTH2 refresh tokens in env vars and has no built-in caller authentication on its optional HTTP transport.
| Criterion | Value | Verified evidence | Source |
|---|---|---|---|
| auth_model Auth model (service account / DWD vs per-user OAuth) | no | Uses per-account OAuth2 refresh tokens (MAIL_OAUTH2_<SEGMENT>_REFRESH_TOKEN) for IMAP/SMTP XOAUTH2; no Google Workspace service account DWD. | src/oauth2.rs#L16 |
| multi_user Multi-user tenancy (one deployment serving many users) | no | Pre-configured accounts in env vars are shared by anyone reaching the server; HTTP transport has no built-in caller authentication. | README.md#L87 |
| admin_controls Admin controls (allowlist / scope restriction / OU scope) | partial | Supports MAIL_IMAP_WRITE_ENABLED, MAIL_SMTP_WRITE_ENABLED, MAIL_DRAFTS_ENABLED, and MAIL_ATTACHMENT_UPLOAD_DIR gates. | README.md#L29 |
| audit_trail Audit trail (logs which user/agent did what, exportable) | no | Standard process logging only; no per-caller audit trail. | README.md#L87 |
| hosting Hosting posture (Google-hosted / container / streamable HTTP) | partial | Supports opt-in stateless streamable HTTP (MAIL_MCP_TRANSPORT=http), but requires an external authenticating gateway. | README.md#L82 |
| secrets_handling Secrets handling (managed store vs plaintext local disk) | partial | Reads refresh tokens and client secrets from environment variables into SecretString memory wrappers. | src/oauth2.rs#L73 |
| is_agentic_client_support is_agentic client support (docs on agentic OAuth flag) | no | Does not mention Google's is_agentic OAuth client flag. | README.md#L1 |
Verified MCP Tools & Capabilities (5)
Pinned commit / docs verification from capabilities.json. Every tool links to its source file and line or official documentation section.
| Product / API | Capability | State | MCP Tool Name | Source Evidence |
|---|---|---|---|---|
| users.messages.list/get, users.threads | Search and read own mail Uses IMAP/SMTP, not the Gmail API. Gmail IMAP via XOAUTH2 needs the full https://mail.google.com/ scope (Google docs); the repo does not declare it. | works | imap_search_messages | src/server.rs:288 |
| users.messages.send | Send mail Uses IMAP/SMTP, not the Gmail API. Gmail IMAP via XOAUTH2 needs the full https://mail.google.com/ scope (Google docs); the repo does not declare it. | works | smtp_send_message | src/server.rs:690 |
| users.drafts.create | Create drafts Uses IMAP/SMTP, not the Gmail API. Gmail IMAP via XOAUTH2 needs the full https://mail.google.com/ scope (Google docs); the repo does not declare it. | works | draft_* | src/server.rs:892 |
| users.messages.modify, users.labels | Label, archive, mark read Uses IMAP/SMTP, not the Gmail API. Gmail IMAP via XOAUTH2 needs the full https://mail.google.com/ scope (Google docs); the repo does not declare it. | works | imap_update_message_flags | src/server.rs:405 |
| users.messages.trash/delete | Trash or delete own mail Uses IMAP/SMTP, not the Gmail API. Gmail IMAP via XOAUTH2 needs the full https://mail.google.com/ scope (Google docs); the repo does not declare it. | works | imap_delete_message | src/server.rs:465 |
Role Tasks This Server Unlocks (4)
All 32 role tasksUpstream Repository & Feed Status
Changelog- GitHub repository
- tecnologicachile/mail-mcp
- Repository state
- active (2d since push)
- Last push / stars / open issues
- Atom feeds
- releases.atom commits.atom
Security Notes
Uses IMAP/SMTP with OAuth2 XOAUTH2 rather than the Gmail REST API; Gmail IMAP/SMTP requires the full https://mail.google.com/ scope.
Credential Storage Posture
Local configuration / token store
Agentic OAuth Client Policy (is_agentic)
OAuth client guide
Not enforced, recommended: set it on your own OAuth client; Google recommends marking agent clients before the lock (authenticates with your OAuth2 XOAUTH2 client over IMAP/SMTP).
Declared OAuth 2.0 Scopes
| Declared Scope / Posture | Risk Level | Auditor Rationale |
|---|---|---|
| https://mail.google.com/ (required by Gmail IMAP/SMTP XOAUTH2; src/oauth2.rs#L9) | Full IMAP/SMTP Mailbox Scope | Full mail.google.com scope required by IMAP/SMTP XOAUTH2 grants unrestricted mailbox read, send, and delete access. |
Registry JSON Record
src/data/servers.json {
"name": "tecnologicachile/mail-mcp",
"short_name": "tecnologicachile",
"slug": "tecnologicachile-mail-mcp",
"url": "https://github.com/tecnologicachile/mail-mcp",
"maintainer": "tecnologicachile",
"type": "community",
"type_detail": "community",
"status": "active",
"apis": [
"Gmail"
],
"scopes": [
"https://mail.google.com/ (required by Gmail IMAP/SMTP XOAUTH2; src/oauth2.rs#L9)"
],
"dwd": "no",
"dwd_detail": "no (IMAP/SMTP OAuth2 XOAUTH2)",
"access": "act",
"access_detail": "read+act (IMAP search/flags/delete/draft, SMTP send)",
"credential_storage": "Local configuration / token store",
"last_commit": "2026-10-15",
"last_push": "2026-10-15T10:36:52Z",
"archived": false,
"archived_source": "https://api.github.com/repos/tecnologicachile/mail-mcp",
"stale": false,
"days_since_push": 2,
"open_issues": 9,
"releases_feed": "https://github.com/tecnologicachile/mail-mcp/releases.atom",
"commits_feed": "https://github.com/tecnologicachile/mail-mcp/commits/main.atom",
"license": "MIT",
"is_agentic_notes": "Not enforced, recommended: set it on your own OAuth client; Google recommends marking agent clients before the 2026-11-12 lock (authenticates with your OAuth2 XOAUTH2 client over IMAP/SMTP).",
"security_notes": "Uses IMAP/SMTP with OAuth2 XOAUTH2 rather than the Gmail REST API; Gmail IMAP/SMTP requires the full https://mail.google.com/ scope.",
"featured": false,
"github_stars": 104,
"stars": 104,
"verified_on": "2026-10-18",
"last_verified": "2026-10-18",
"enterprise": {
"auth_model": {
"value": "no",
"evidence": "Uses per-account OAuth2 refresh tokens (MAIL_OAUTH2_<SEGMENT>_REFRESH_TOKEN) for IMAP/SMTP XOAUTH2; no Google Workspace service account DWD.",
"source_url": "https://github.com/tecnologicachile/mail-mcp/blob/da362f41fef8c0969b14b63e6bb5194b84e84549/src/oauth2.rs#L16"
},
"multi_user": {
"value": "no",
"evidence": "Pre-configured accounts in env vars are shared by anyone reaching the server; HTTP transport has no built-in caller authentication.",
"source_url": "https://github.com/tecnologicachile/mail-mcp/blob/da362f41fef8c0969b14b63e6bb5194b84e84549/README.md#L87"
},
"admin_controls": {
"value": "partial",
"evidence": "Supports MAIL_IMAP_WRITE_ENABLED, MAIL_SMTP_WRITE_ENABLED, MAIL_DRAFTS_ENABLED, and MAIL_ATTACHMENT_UPLOAD_DIR gates.",
"source_url": "https://github.com/tecnologicachile/mail-mcp/blob/da362f41fef8c0969b14b63e6bb5194b84e84549/README.md#L29"
},
"audit_trail": {
"value": "no",
"evidence": "Standard process logging only; no per-caller audit trail.",
"source_url": "https://github.com/tecnologicachile/mail-mcp/blob/da362f41fef8c0969b14b63e6bb5194b84e84549/README.md#L87"
},
"hosting": {
"value": "partial",
"evidence": "Supports opt-in stateless streamable HTTP (MAIL_MCP_TRANSPORT=http), but requires an external authenticating gateway.",
"source_url": "https://github.com/tecnologicachile/mail-mcp/blob/da362f41fef8c0969b14b63e6bb5194b84e84549/README.md#L82"
},
"secrets_handling": {
"value": "partial",
"evidence": "Reads refresh tokens and client secrets from environment variables into SecretString memory wrappers.",
"source_url": "https://github.com/tecnologicachile/mail-mcp/blob/da362f41fef8c0969b14b63e6bb5194b84e84549/src/oauth2.rs#L73"
},
"is_agentic_client_support": {
"value": "no",
"evidence": "Does not mention Google's is_agentic OAuth client flag.",
"source_url": "https://github.com/tecnologicachile/mail-mcp/blob/da362f41fef8c0969b14b63e6bb5194b84e84549/README.md#L1"
}
}
}