Confidential guide on numerology and astrology, based of GG33 Public information

Gmail-MCP-Server
Serveur de protocole de contexte de modèle (MCP) pour Gmail
3 years
Works with Finder
1
Github Watches
11
Github Forks
28
Github Stars
Gmail Server for Model Context Protocol (MCP)
This MCP server integrates with Gmail to enable sending, removing, reading, drafting, and responding to emails.
Note: This server enables an MCP client to read, remove, and send emails. However, the client prompts the user before conducting such activities.
https://github.com/user-attachments/assets/5794cd16-00d2-45a2-884a-8ba0c3a90c90
Components
Tools
-
send-email
- Sends email to email address recipient
- Input:
-
recipient_id
(string): Email address of addressee -
subject
(string): Email subject -
message
(string): Email content
-
- Returns status and message_id
-
trash-email
- Moves email to trash
- Input:
-
email_id
(string): Auto-generated ID of email
-
- Returns success message
-
mark-email-as-read
- Marks email as read
- Input:
-
email_id
(string): Auto-generated ID of email
-
- Returns success message
-
get-unread-emails
- Retrieves unread emails
- Returns list of emails including email ID
-
read-email
- Retrieves given email content
- Input:
-
email_id
(string): Auto-generated ID of email
-
- Returns dictionary of email metadata and marks email as read
-
open-email
- Open email in browser
- Input:
-
email_id
(string): Auto-generated ID of email
-
- Returns success message and opens given email in default browser
Setup
Gmail API Setup
- Create a new Google Cloud project
- Enable the Gmail API
-
Configure an OAuth consent screen
- Select "external". However, we will not publish the app.
- Add your personal email address as a "Test user".
- Add OAuth scope
https://www.googleapis.com/auth/gmail/modify
- Create an OAuth Client ID for application type "Desktop App"
- Download the JSON file of your client's OAuth keys
- Rename the key file and save it to your local machine in a secure location. Take note of the location.
- The absolute path to this file will be passed as parameter
--creds-file-path
when the server is started.
- The absolute path to this file will be passed as parameter
Authentication
When the server is started, an authentication flow will be launched in your system browser.
Token credentials will be subsequently saved (and later retrieved) in the absolute file path passed to parameter --token-path
.
For example, you may use a dot directory in your home folder, replacing [your-home-folder]
.:
Parameter | Example |
---|---|
--creds-file-path |
/[your-home-folder]/.google/client_creds.json |
--token-path |
/[your-home-folder]/.google/app_tokens.json |
Usage with Desktop App
Using uv is recommended.
To integrate this server with Claude Desktop as the MCP Client, add the following to your app's server configuration. By default, this is stored as ~/Library/Application\ Support/Claude/claude_desktop_config.json
.
{
"mcpServers": {
"gdrive": {
"command": "uv",
"args": [
"--directory",
"[absolute-path-to-git-repo]",
"run",
"gmail",
"--creds-file-path",
"[absolute-path-to-credentials-file]",
"--token-path",
"[absolute-path-to-access-tokens-file]"
]
}
}
}
The following parameters must be set
Parameter | Example |
---|---|
--directory |
Absolute path to gmail directory containing server |
--creds-file-path |
Absolute path to credentials file created in Gmail API Setup. |
--token-path |
Absolute path to store and retrieve access and refresh tokens for application. |
Troubleshooting with MCP Inspector
To test the server, use MCP Inspector. From the git repo, run the below changing the parameter arguments accordingly.
npx @modelcontextprotocol/inspector uv run [absolute-path-to-git-repo]/src/gmail/server.py --creds-file-path [absolute-path-to-credentials-file] --token-path [absolute-path-to-access-tokens-file]
相关推荐
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
I find academic articles and books for research and literature reviews.
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle
La communauté du curseur et de la planche à voile, recherchez des règles et des MCP
Serveurs MCP géniaux - une liste organisée de serveurs de protocole de contexte de modèle
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Activer les clients adjoints AI comme Cursor, Windsurf et Claude Desktop pour contrôler le moteur Unreal à travers le langage naturel à l'aide du Protocole de contexte modèle (MCP).
Reviews

user_XXkv4KTG
I've been using the gmail-mcp-server by jasonsum and it has significantly improved my email management workflows. The setup was straightforward thanks to the comprehensive documentation. Integration with my existing systems was seamless, and performance has been impeccable. Highly recommend it for anyone looking to enhance their email server capabilities!