This MCP server allows you to interact with your Gmail account using AI assistance for searching, reading, deleting, and sending emails. It's designed to work with the multimodal-mcp-client as the frontend interface, providing a voice-powered way to manage your emails.
To install and run the systemprompt-mcp-gmail server, you'll need to set up Google authentication credentials and obtain an API key.
The server requires two environment variables containing base64 encoded credentials:
GOOGLE_CREDENTIALS
GOOGLE_TOKEN
To generate these credentials, follow these steps:
After generating your base64 encoded Google credentials, you can run the server using npx:
# Make sure to set your environment variables first
export GOOGLE_CREDENTIALS="your-base64-encoded-credentials"
export GOOGLE_TOKEN="your-base64-encoded-token"
export API_KEY="your-systemprompt-api-key"
# Run the server
npx systemprompt-mcp-gmail
The server provides several Gmail operations that can be performed through the multimodal-mcp-client.
To use this server with the recommended client:
Once connected to the client, you can use natural language commands like:
The server supports advanced MCP features including:
These features require an advanced MCP client that supports these capabilities, such as the recommended multimodal-mcp-client.
To see the systemprompt-mcp-gmail server in action, check out the demonstration video: Watch Demo Video
The demo shows the voice-controlled interactions, multimodal processing, and real-time voice synthesis capabilities of the system.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.