GmailMcpServer MCP server

by RKeelan

272 downloads
Not rated
GitHub

About

Despite its name, GmailMcpServer is an MCP server that implements a simple note storage system. It provides note resources with a custom note:// URI scheme, a prompt for summarizing notes, and a tool to add new notes. It is intended for users who want to manage notes through…

Details

Author
RKeelan
Downloads
272
Categories
Other

- Custom note:// URI scheme for accessing individual notes
- Resources with name, description, and text/plain mimetype
- Summarize-notes prompt with optional detail level (brief/detailed)
- Add-note tool requiring "name" and "content" arguments
- Server state updates and client notifications on resource changes

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name GmailMcpServer MCP server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via uvx for published packages or configure the server path for local development. Add the configuration to your Claude Desktop config file (claude_desktop_config.json). The server exposes an add-note tool and a summarize-notes prompt. No specific commands beyond server setup are mentioned.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "gmailmcpserver mcp server": {
            "GmailMcpServer": {
                "command": "uv",
                "args": [
                    "sync"
                ]
            }
        }
    }
}

McpServers

{
    "GmailMcpServer": {
        "command": "uv",
        "args": [
            "sync"
        ]
    }
}

GmailMcpServer MCP server

An MCP Server for GMail

Components

Resources

The server implements a simple note storage system with:
- Custom note:// URI scheme for accessing individual notes
- Each note resource has a name, description and text/plain mimetype

Prompts

The server provides a single prompt:
- summarize-notes: Creates summaries of all stored notes
- Optional "style" argument to control detail level (brief/detailed)
- Generates prompt combining all current notes with style preference

Tools

The server implements one tool:
- add-note: Adds a new note to the server
- Takes "name" and "content" as required string arguments
- Updates server state and notifies clients of resource changes

Configuration

[TODO: Add configuration details specific to your implementation]

Quickstart

Install

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>

  "mcpServers": {
"GmailMcpServer": {
"command": "uv",
"args": [
"--directory",
"C:\Users\RKeelan\Src\GmailMcpServer",
"run",
"GmailMcpServer"
]
}
}

</details>

<details>
<summary>Published Servers Configuration</summary>

  "mcpServers": {
"GmailMcpServer": {
"command": "uvx",
"args": [
"GmailMcpServer"
]
}
}

</details>

Development

Building and Publishing

To prepare the package for distribution:

1. Sync dependencies and update lockfile:

uv sync

2. Build package distributions:

uv build

This will create source and wheel distributions in the dist/ directory.

3. Publish to PyPI:

uv publish

Note: You'll need to set PyPI credentials via environment variables or command flags:
- Token: --token or UV_PUBLISH_TOKEN
- Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging
experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

npx @modelcontextprotocol/inspector uv --directory C:\Users\RKeelan\Src\GmailMcpServer run gmailmcpserver

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.