mcp-gsuite
Сообществоот MarkusPfundstein
MCP Server to interact with Google Gsuite prodcuts
Установка
npx -y @smithery/cli install mcp-gsuite --client claudeОписание
# mcp-gsuite MCP server [](https://smithery.ai/server/mcp-gsuite) MCP server to interact with Google products. ## Example prompts Right now, this MCP server supports Gmail and Calendar integration with the following capabilities: 1. General * Multiple google accounts 2. Gmail * Get your Gmail user information * Query emails with flexible search (e.g., unread, from specific senders, date ranges, with attachments) * Retrieve complete email content by ID * Create new draft emails with recipients, subject, body and CC options * Delete draft emails * Reply to existing emails (can either send immediately or save as draft) * Retrieve multiple emails at once by their IDs. * Save multiple attachments from emails to your local system. 3. Calendar * Manage multiple calendars * Get calendar events within specified time ranges * Create calendar events with: + Title, start/end times + Optional location and description + Optional attendees + Custom timezone support + Notification preferences * Delete calendar events Example prompts you can try: * Retrieve my latest unread messages * Search my emails from the Scrum Master * Retrieve all emails from accounting * Take the email about ABC and summarize it * Write a nice response to Alice's last email and upload a draft. * Reply to Bob's email with a Thank you note. Store it as draft * What do I have on my agenda tomorrow? * Check my private account's Family agenda for next week * I need to plan an event with Tim for 2hrs next week. Suggest some time slots. ## Quickstart ### Install ### Installing via Smithery To install mcp-gsuite for Claude Desktop automatically via [Smithery](https://smithery.ai/server/mcp-gsuite): ```bash npx -y @smithery/cli install mcp-gsuite --client claude ``` #### Oauth 2 Google Workspace (G Suite) APIs require OAuth2 authorization. Follow these steps to set up authentication: 1. Create OAuth2 Credentials: - Go to the [Google Cloud Console](https://console.cloud.google.com/) - Create a new project or select an existing one - Enable the Gmail API and Google Calendar API for your project - Go to "Credentials" → "Create Credentials" → "OAuth client ID" - Select "Desktop app" or "Web application" as the application type - Configure the OAuth consent screen with required information - Add authorized redirect URIs (include `http://localhost:4100/code` for local development) 2. Required OAuth2 Scopes: ```json [ "openid", "https://mail.google.com/", "https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/userinfo.email" ] ``` 3. Then create a `.gauth.json` in your working directory with client ```json { "web": { "client_id": "$your_client_id", "client_secret": "$your_client_secret", "redirect_uris": ["http://localhost:4100/code"], "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token" } } ``` 4. Create a `.accounts.json` file with account information ```json { "accounts": [ { "email": "alice@bob.com", "account_type": "personal", "extra_info": "Additional info that you want to tell Claude: E.g. 'Contains Family Calendar'" } ] } ``` You can specifiy multiple accounts. Make sure they have access in your Google Auth app. The `extra_info` field is especially interesting as you can add info here that you want to tell the AI about the account (e.g. whether it has a specific agenda) Note: When you first execute one of the tools for a specific account, a browser will open, redirect you to Google and ask for your credentials, scope, etc. After a successful login, it stores the credentials in a local file called `.oauth.{email}.json` . Once you are authorized, the refresh token will be used. #### Claude Desktop On MacOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json` On Windows: `%APPDATA%/Claude/claude_desktop_config.json` <details> <summary>Development/Unpublished Servers Configuration</summary> ```json { "mcpServers": { "mcp-gsuite": { "command": "uv", "args": [ "--directory", "<dir_to>/mcp-gsuite", "run", "mcp-gsuite" ] } } } ``` Note: You can also use the `uv run mcp-gsuite --accounts-file /path/to/custom/.accounts.json` to specify a different accounts file or `--credentials-dir /path/to/custom/credentials` to specify a different credentials directory. ```json { "mcpServers": { "mcp-gsuite": { "command": "uv", "args": [ "--directory", "<dir_to>/mcp-gsuite", "run", "mcp-gsuite", "--accounts-file", "/path/to/custom/.accounts.json", "--credentials-dir", "/path/to/custom/credentials" ] } } } ``` </details> <details> <summary>Published Servers Configuration</summa
Отзывы (0)
Пока нет отзывов. Будьте первым!
Статистика
Информация
Технологии
Похожие серверы
mcp-google-ads
An MCP tool that connects Google Ads with Claude AI/Cursor and others, allowing you to analyze your advertising data through natural language conversations. This integration gives you access to campaign information, performance metrics, keyword analytics, and ad management—all through simple chat with Claude, Cursor or Windsurf.
agent
A unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.
MetasploitMCP
MCP Server for Metasploit
awesome-mcp-security
Security Threats related with MCP (Model Context Protocol), MCP Servers and more