Token导航 LogoToken导航TokenDH.com
Shamp Mail logo
AI代理未说明官方级别未说明来源级核验

Shamp Mail

MCP Server

ShampMail是一个轻量级、仅发送的MCP服务器,通过OAuth2将Claude Desktop直接连接到Gmail,允许Claude代表用户发送电子邮件。

工具数

1

提示词数

0

GitHub Stars

0

资源数

0
Gmail集成JavaScriptClaudeClaude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

shampeh

提供方

shampeh

最后核验

2026/5/17 20:19

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

////////////////////////////////////////////////////////////////////////////////
//                                                                            //
//  ░██████╗██╗░░██╗░█████╗░███╗░░░███╗██████╗░███╗░░░███╗░█████╗░██╗██╗   //
//  ██╔════╝██║░░██║██╔══██╗████╗░████║██╔══██╗████╗░████║██╔══██╗██║██║   //
//  ╚█████╗░███████║███████║██╔████╔██║██████╔╝██╔████╔██║███████║██║██║   //
//  ░╚═══██╗██╔══██║██╔══██║██║╚██╔╝██║██╔═══╝░██║╚██╔╝██║██╔══██║██║██║   //
//  ██████╔╝██║░░██║██║░░██║██║░╚═╝░██║██║░░░░░██║░╚═╝░██║██║░░██║██║██║   //
//  ╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░╚═╝╚═╝░░░░░╚═╝░░░░░╚═╝╚═╝░░╚═╝╚═╝╚═╝   //
//                                                                            //
//                  [ Gmail Send-Only MCP Server v1.0.0 ]                    //
//                                                                            //
////////////////////////////////////////////////////////////////////////////////

 ╔══════════════════════════════════════════════════════════════════════════╗
 ║  RLS  DATE  :  2026                                                      ║
 ║  RLS  TYPE  :  MCP Server / Gmail Integration                            ║
 ║  LANGUAGE   :  Node.js (CommonJS)                                        ║
 ║  RUNTIME    :  Node.js v18+                                              ║
 ║  PROTECTION :  OAuth2 / Google Identity Platform                         ║
 ║  FILES      :  server.js / auth.js / package.json                        ║
 ╚══════════════════════════════════════════════════════════════════════════╝

 ┌──────────────────────────────────────────────────────────────────────────┐
 │  :: RELEASE NOTES                                                        │
 └──────────────────────────────────────────────────────────────────────────┘

   ShampMail is a lean, send-only MCP (Model Context Protocol) server that
   wires Claude Desktop directly to Gmail via OAuth2. No inbox access.
   No read permissions. No bloat. Drop it in, run auth once, and Claude
   can send emails on your behalf from that point forward.

   Communicates over stdio transport. Must be running before Claude Desktop
   starts. That's it.

 ┌──────────────────────────────────────────────────────────────────────────┐
 │  :: REQUIREMENTS                                                         │
 └──────────────────────────────────────────────────────────────────────────┘

   [x]  Node.js v18 or higher
   [x]  A Google Cloud project with Gmail API enabled
   [x]  OAuth2 Desktop App credentials  (credentials.json)
   [x]  Claude Desktop

 ┌──────────────────────────────────────────────────────────────────────────┐
 │  :: INSTALL                                                              │
 └──────────────────────────────────────────────────────────────────────────┘

   01.  Clone the repo to a local directory
        e.g.  C:\MCP_Servers\ShampMail\

   02.  Go to console.cloud.google.com
        Enable the Gmail API on your project
        Create OAuth2 credentials  (type: Desktop App)
        Download and save as  credentials.json  in the project folder

   03.  Install dependencies

          npm install

   04.  Run the auth script ONE TIME to generate token.json

          node auth.js

        Open the printed URL in your browser
        Sign in and grant Gmail send permission
        token.json is written automatically — you will not need to repeat this

   05.  Start the server

          node server.js

        Server must be running BEFORE launching Claude Desktop

 ┌──────────────────────────────────────────────────────────────────────────┐
 │  :: CLAUDE DESKTOP INTEGRATION                                           │
 └──────────────────────────────────────────────────────────────────────────┘

   Edit your Claude Desktop config file:

     C:\Users\\AppData\Roaming\Claude\claude_desktop_config.json

   Add the following block:

     {
       "mcpServers": {
         "ShampMail": {
           "command": "node",
           "args": ["C:\\MCP_Servers\\ShampMail\\server.js"]
         }
       }
     }

   Restart Claude Desktop. The  gmail_send  tool will be available immediately.

 ┌──────────────────────────────────────────────────────────────────────────┐
 │  :: TOOL PARAMETERS                                                      │
 └──────────────────────────────────────────────────────────────────────────┘

   PARAM        REQUIRED    DESCRIPTION
   ─────────    ────────    ─────────────────────────────────────────────
   to           YES         Recipient address(es), comma-separated
   subject      YES         Email subject line
   body         YES         Plain-text email body
   cc           no          CC recipients, comma-separated
   bcc          no          BCC recipients, comma-separated

 ┌──────────────────────────────────────────────────────────────────────────┐
 │  :: KNOWN ISSUES / NUKES                                                 │
 └──────────────────────────────────────────────────────────────────────────┘

   [!]  Server MUST be running before Claude Desktop launches
        or the tool will not register in the session

   [!]  Plain text only — HTML email is not supported

   [!]  credentials.json and token.json contain sensitive OAuth data
        Both are listed in .gitignore — do NOT commit to a public repo

   [i]  Tokens auto-refresh on expiry and are written back to token.json
        No manual re-auth required after initial setup

 ┌──────────────────────────────────────────────────────────────────────────┐
 │  :: FILE STRUCTURE                                                       │
 └──────────────────────────────────────────────────────────────────────────┘

   ShampMail/
   ├── server.js          - MCP server entry point
   ├── auth.js            - One-time OAuth2 authentication flow
   ├── package.json       - Dependencies and scripts
   ├── .gitignore         - Excludes credentials and token files
   ├── credentials.json   - OAuth2 client credentials   [DO NOT COMMIT]
   └── token.json         - OAuth2 access/refresh tokens  [DO NOT COMMIT]

////////////////////////////////////////////////////////////////////////////////
//  Provided as-is for personal use. Use responsibly.                        //
////////////////////////////////////////////////////////////////////////////////

目录标签

目录标签

Gmail集成JavaScriptClaude邮件发送本地部署OAuth2认证MCP服务器Claude集成

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

oauth

工具数量(toolCount,工具数)

1

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明oauth部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP