forked from ArtyMcLabin/Gmail-MCP-Server
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathserver.json
More file actions
46 lines (46 loc) · 1.86 KB
/
Copy pathserver.json
File metadata and controls
46 lines (46 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
"name": "io.github.klodr/gmail-mcp",
"description": "Gmail MCP server — scope-gated tools (read-only / send-only / modify) with attachment and download path jails, OAuth credentials hardened to 0o600, supply-chain hardening (Sigstore attestations + SPDX/CycloneDX SBOMs + npm provenance).",
"version": "1.2.1",
"repository": {
"url": "https://github.com/klodr/gmail-mcp",
"source": "github"
},
"packages": [
{
"registryType": "npm",
"identifier": "@klodr/gmail-mcp",
"version": "1.2.1",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"name": "GMAIL_OAUTH_PATH",
"description": "Absolute path to the Google OAuth2 client keys file (gcp-oauth.keys.json). Defaults to ~/.gmail-mcp/gcp-oauth.keys.json.",
"isRequired": false,
"isSecret": true
},
{
"name": "GMAIL_CREDENTIALS_PATH",
"description": "Absolute path to the persisted OAuth credentials file (refresh token + granted scopes). Defaults to ~/.gmail-mcp/credentials.json.",
"isRequired": false,
"isSecret": true
},
{
"name": "GMAIL_MCP_ATTACHMENT_DIR",
"description": "Directory from which outgoing attachments may be read. Enforced as a realpath jail (symlinks to outside are rejected). Defaults to ~/GmailAttachments/.",
"isRequired": false,
"isSecret": false
},
{
"name": "GMAIL_MCP_DOWNLOAD_DIR",
"description": "Directory where downloaded emails and attachments are written. Opens the leaf with O_NOFOLLOW to defeat symlink-based jail escapes. Defaults to ~/GmailDownloads/.",
"isRequired": false,
"isSecret": false
}
]
}
]
}