프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Gmail

제작자: pulsemcp버전 0.4.12i★ –i내 컴퓨터에서 실행
레지스트리 이름com.pulsemcp/gmail

설치

개요

제작자가 쓴 설명(영어 원문)

MCP server for Gmail with OAuth2 (personal) and service account (Workspace) support.

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 채팅 및 이메일
  • 입력해야 할 값: GMAIL_OAUTH_CLIENT_ID, GMAIL_OAUTH_CLIENT_SECRET, GMAIL_OAUTH_REFRESH_TOKEN, GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: GMAIL_OAUTH_CLIENT_ID, GMAIL_OAUTH_CLIENT_SECRET, GMAIL_OAUTH_REFRESH_TOKEN, GMAIL_SERVICE_ACCOUNT_CLIENT_EMAIL, GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY, GMAIL_IMPERSONATE_EMAIL, GMAIL_ENABLED_TOOLGROUPS

비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.

필요한 것

  • npmNode.js 설치(npx 명령어용)

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": [
        "-y",
        "gmail-workspace-mcp-server"
      ],
      "env": {
        "GMAIL_OAUTH_CLIENT_ID": "your-value",
        "GMAIL_OAUTH_CLIENT_SECRET": "your-value",
        "GMAIL_OAUTH_REFRESH_TOKEN": "your-value",
        "GMAIL_SERVICE_ACCOUNT_CLIENT_EMAIL": "your-value",
        "GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY": "your-value",
        "GMAIL_IMPERSONATE_EMAIL": "your-value",
        "GMAIL_ENABLED_TOOLGROUPS": "your-value"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add gmail --env GMAIL_OAUTH_CLIENT_ID=your-value --env GMAIL_OAUTH_CLIENT_SECRET=your-value --env GMAIL_OAUTH_REFRESH_TOKEN=your-value --env GMAIL_SERVICE_ACCOUNT_CLIENT_EMAIL=your-value --env GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY=your-value --env GMAIL_IMPERSONATE_EMAIL=your-value --env GMAIL_ENABLED_TOOLGROUPS=your-value -- npx -y gmail-workspace-mcp-server

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": [
        "-y",
        "gmail-workspace-mcp-server"
      ],
      "env": {
        "GMAIL_OAUTH_CLIENT_ID": "your-value",
        "GMAIL_OAUTH_CLIENT_SECRET": "your-value",
        "GMAIL_OAUTH_REFRESH_TOKEN": "your-value",
        "GMAIL_SERVICE_ACCOUNT_CLIENT_EMAIL": "your-value",
        "GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY": "your-value",
        "GMAIL_IMPERSONATE_EMAIL": "your-value",
        "GMAIL_ENABLED_TOOLGROUPS": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "gmail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gmail-workspace-mcp-server"
      ],
      "env": {
        "GMAIL_OAUTH_CLIENT_ID": "your-value",
        "GMAIL_OAUTH_CLIENT_SECRET": "your-value",
        "GMAIL_OAUTH_REFRESH_TOKEN": "your-value",
        "GMAIL_SERVICE_ACCOUNT_CLIENT_EMAIL": "your-value",
        "GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY": "your-value",
        "GMAIL_IMPERSONATE_EMAIL": "your-value",
        "GMAIL_ENABLED_TOOLGROUPS": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • GMAIL_OAUTH_CLIENT_ID 비밀 env
    OAuth2 client ID from Google Cloud Console (for personal Gmail accounts).
  • GMAIL_OAUTH_CLIENT_SECRET 비밀 env
    OAuth2 client secret from Google Cloud Console.
  • GMAIL_OAUTH_REFRESH_TOKEN 비밀 env
    Refresh token from the OAuth2 setup script.
  • GMAIL_SERVICE_ACCOUNT_CLIENT_EMAIL env
    Service account email address (for Google Workspace).
  • GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY 비밀 env
    Service account private key in PEM format (for Google Workspace).
  • GMAIL_IMPERSONATE_EMAIL env
    Email address to impersonate (required for service account mode).
  • GMAIL_ENABLED_TOOLGROUPS env
    Comma-separated list of tool groups to enable (readonly, readwrite, readwrite_external).

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 도메인 pulsemcp.com 기준으로 확인되었어요(레지스트리가 도메인 소유를 확인해요)

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

채팅 및 이메일 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 1760개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 1760개 중 27%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 1760개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Gmail, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: GMAIL_OAUTH_CLIENT_ID, GMAIL_OAUTH_CLIENT_SECRET, GMAIL_OAUTH_REFRESH_TOKEN, GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.4.12)은 2개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Vexa, emailmd, MCP WhatsApp Cloud

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Vexa

제작자: Vexa-ai

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

클라우드에서 실행★ 2,949Apache-2.02개월 전 업데이트
설치

emailmd

제작자: anypost

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

컴퓨터 또는 클라우드★ 1,385MIT30일 전 업데이트
설치

MCP WhatsApp Cloud

제작자: codespar

MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API

내 컴퓨터에서 실행★ 277MIT5개월 전 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

Gmail Workspace MCP Server

An MCP (Model Context Protocol) server that provides Gmail integration for AI assistants. Supports both personal Gmail accounts (via OAuth2) and Google Workspace accounts (via service account with domain-wide delegation).

Features

  • List Email Conversations: Retrieve emails with label filtering
  • Get Email Details: Fetch full email content including body and attachments info
  • Search Emails: Search using Gmail's powerful query syntax
  • Manage Emails: Mark as read/unread, star/unstar, archive, apply labels
  • Create Drafts: Compose draft emails with reply support
  • Send Emails: Send new emails or replies, directly or from drafts
  • Two Auth Methods: OAuth2 for personal accounts, Service Account for Google Workspace

Installation

npm install gmail-workspace-mcp-server

Or run directly with npx:

npx gmail-workspace-mcp-server

Authentication

This server supports two authentication modes. Choose the one that matches your account type.

Option 1: OAuth2 (Personal Gmail Accounts)

Use this for personal @gmail.com accounts or any Google account without Workspace admin access.

Prerequisites
  1. Go to Google Cloud Console
  2. Create or select a project
  3. Enable the Gmail API
  4. Configure the OAuth consent screen:
  • Choose External user type
  • Add yourself as a test user
  • Publish the app (click "Publish" on the consent screen) to prevent refresh tokens from expiring every 7 days. No full Google verification is needed for personal use.
  1. Create OAuth 2.0 credentials:
  • Choose Desktop app as the application type
  • Important: Create new credentials _after_ publishing the app
  1. Copy the Client ID and Client Secret
Getting a Refresh Token

Run the built-in setup command:

npx gmail-workspace-mcp-server oauth-setup <client_id> <client_secret>

You can also pass credentials via environment variables:

GMAIL_OAUTH_CLIENT_ID=... GMAIL_OAUTH_CLIENT_SECRET=... npx gmail-workspace-mcp-server oauth-setup

Port conflict? If port 3000 is already in use, specify a different port:

PORT=3001 npx gmail-workspace-mcp-server oauth-setup <client_id> <client_secret>

Desktop app credentials automatically allow http://localhost redirects on any port, so no additional Google Cloud Console configuration is needed.

This will open your browser for Google sign-in and print the refresh token. You only need to do this once — the refresh token does not expire (as long as the OAuth consent screen is published).

Environment Variables (OAuth2)
VariableRequiredDescription
GMAIL_OAUTH_CLIENT_IDYesOAuth2 client ID from Google Cloud Console
GMAIL_OAUTH_CLIENT_SECRETYesOAuth2 client secret
GMAIL_OAUTH_REFRESH_TOKENYesRefresh token from the setup script
GMAIL_ENABLED_TOOLGROUPSNoComma-separated list of tool groups (default: all)
Claude Desktop Configuration (OAuth2)
{

"mcpServers": { "gmail": { "command": "npx", "args": ["gmail-workspace-mcp-server"], "env": { "GMAIL_OAUTH_CLIENT_ID": "your-client-id.apps.googleusercontent.com", "GMAIL_OAUTH_CLIENT_SECRET": "your-client-secret", "GMAIL_OAUTH_REFRESH_TOKEN": "your-refresh-token" } } } }

Option 2: Service Account (Google Workspace)

Use this for Google Workspace organizations where a domain admin can grant domain-wide delegation.

Prerequisites
  1. Go to Google Cloud Console
  2. Create or select a project
  3. Enable the Gmail API
  4. Create a service account with domain-wide delegation enabled
  5. In Google Workspace Admin Console, grant the service account access to the following scopes:
  • https://www.googleapis.com/auth/gmail.readonly (read emails)
  • https://www.googleapis.com/auth/gmail.modify (modify labels)
  • https://www.googleapis.com/auth/gmail.compose (create drafts)
  • https://www.googleapis.com/auth/gmail.send (send emails)
  1. Download the JSON key file
Environment Variables (Service Account)
VariableRequiredDescription
GMAIL_SERVICE_ACCOUNT_CLIENT_EMAILYesService account email address
GMAIL_SERVICE_ACCOUNT_PRIVATE_KEYYesService account private key (PEM format)
GMAIL_IMPERSONATE_EMAILYesEmail address to impersonate
GMAIL_ENABLED_TOOLGROUPSNoComma-separated list of tool groups to enable (default: all groups)

You can find the client_email and private_key values in your service account JSON key file.

Claude Desktop Configuration (Service Account)
{

"mcpServers": { "gmail": { "command": "npx", "args": ["gmail-workspace-mcp-server"], "env": { "GMAIL_SERVICE_ACCOUNT_CLIENT_EMAIL": "my-service-account@my-project.iam.gserviceaccount.com", "GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY": "[PopNx MCP ตัดค่าที่หน้าตาเหมือนกุญแจออก]", "GMAIL_IMPERSONATE_EMAIL": "user@yourdomain.com" } } } }

Note: For the private key, you can either:

  1. Use the key directly with \n for newlines (as shown above)
  2. Set the environment variable from a shell that preserves newlines

Tool Groups

The server supports three tool groups for permission-based access control:

GroupTools IncludedRisk Level
readonlylist_email_conversations, get_email_conversation, search_email_conversations, list_draft_emailsLow
readwriteAll readonly tools + change_email_conversation, upsert_draft_emailMedium
readwrite_externalAll readwrite tools + send_emailHigh

By default, all tool groups are enabled. To restrict access, set the GMAIL_ENABLED_TOOLGROUPS environment variable:

# Read-only access (no write/send capabilities)

GMAIL_ENABLED_TOOLGROUPS=readonly

Read and write, but no external sending

GMAIL_ENABLED_TOOLGROUPS=readwrite

Full access including sending emails (default)

GMAIL_ENABLED_TOOLGROUPS=readwrite_external

Security Note: The send_email tool is in a separate readwrite_external group because it can send emails externally, which carries higher risk than internal operations like modifying labels or creating drafts.

Available Tools

list_email_conversations

List email conversations from Gmail with optional filtering.

Parameters:

  • count (number, optional): Number of emails to return (default: 10, max: 100)
  • labels (string, optional): Comma-separated label IDs to filter by (default: "INBOX")
  • sort_by (string, optional): Sort order - "recent" (newest first) or "oldest" (default: recent)
  • after (string, optional): Only return emails after this datetime, exclusive (ISO 8601 UTC, e.g., "2024-01-15T14:30:00Z")
  • before (string, optional): Only return emails before this datetime, exclusive (ISO 8601 UTC, e.g., "2024-01-15T14:30:00Z")

Example:

{

"count": 20, "labels": "INBOX,STARRED", "after": "2024-01-15T00:00:00Z", "before": "2024-01-20T23:59:59Z" }

get_email_conversation

Retrieve the full content of a specific email by its ID.

Parameters:

  • email_id (string, required): The unique identifier of the email

Example:

{

"email_id": "18abc123def456" }

search_email_conversations

Search emails using Gmail's powerful query syntax.

Parameters:

  • query (string, required): Gmail search query (e.g., "from:user@example.com", "is:unread", "subject:meeting")
  • count (number, optional): Maximum results to return (default: 10, max: 100)

Example:

{

"query": "from:alice@example.com is:unread", "count": 20 }

change_email_conversation

Modify email labels and status (read/unread, starred, archived).

Parameters:

  • email_id (string, required): The email ID to modify
  • status (string, optional): "read", "unread", or "archived"
  • is_starred (boolean, optional): Star or unstar the email
  • labels (string, optional): Comma-separated labels to add
  • remove_labels (string, optional): Comma-separated labels to remove

Example:

{

"email_id": "18abc123def456", "status": "read", "is_starred": true }

list_draft_emails

List draft emails from Gmail with optional thread filtering.

Parameters:

  • count (number, optional): Maximum number of drafts to return (default: 10, max: 100)
  • thread_id (string, optional): Filter drafts by conversation thread ID

Example:

{

"thread_id": "18abc123def456" }

upsert_draft_email

Create, update, or delete a draft email. Optionally as a reply to an existing conversation.

Parameters:

  • draft_id (string, optional): ID of an existing draft to update or delete (omit to create a new draft)
  • delete (boolean, optional): Set to true to delete the draft specified by draft_id. All other parameters are ignored when deleting
  • to (string, required for create/update): Recipient email address
  • subject (string, required for create/update): Email subject
  • plaintext_body (string): Plain text body content (at least one of plaintext_body or html_body required for create/update)
  • html_body (string): HTML body content for rich text formatting (at least one of plaintext_body or html_body required for create/update)
  • cc (string, optional): CC recipients
  • bcc (string, optional): BCC recipients
  • thread_id (string, optional): Thread ID for replies
  • reply_to_email_id (string, optional): Email ID to reply to (sets References/In-Reply-To headers)

For create/update: at least one of plaintext_body or html_body must be provided. If both are provided, a multipart email is sent with both versions.

Example (create new draft):

{

"to": "recipient@example.com", "subject": "Meeting Follow-up", "plaintext_body": "Thanks for the meeting today!" }

Example (update existing draft):

{

"draft_id": "r123456789", "to": "recipient@example.com", "subject": "Meeting Follow-up (revised)", "html_body": " Thanks for the meeting today! Check out the notes . " }

Example (delete a draft):

{

"draft_id": "r123456789", "delete": true }

send_email

Send an email directly or from an existing draft.

Parameters:

  • to (string, conditional): Recipient email (required unless sending from draft)
  • subject (string, conditional): Email subject (required unless sending from draft)
  • plaintext_body (string): Plain text body content (at least one of plaintext_body or html_body required, unless sending a draft)
  • html_body (string): HTML body content for rich text formatting (at least one of plaintext_body or html_body required, unless sending a draft)
  • cc (string, optional): CC recipients
  • bcc (string, optional): BCC recipients
  • `from_d

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기