This server connects Claude—or any MCP client—with Gmail using Gmail's local oauth tokens. This server is designed for experimentation and testing purposes. Note that any emails fetched will be sent to Claude's servers.
You'll first need to generate a personal oauth token following this guide. Create Oauth client ID credentials as a server-side application.
You'll need credentials.json
in your root directory that represents the Google oauth token, as well as token.json
. token.json
is automatically generated the first time you use your Google oauth credentials.
docker build
Build the image by running docker build -t programmable-email .
Verify that it runs with docker run -i --rm programmable-email
.
Access the directory where MCP server configs live: cd ~/Library/Application\ Support/Claude
Edit claude_desktop_config.json
with the following:
{
"mcpServers": {
"programmable-email": {
"command": "docker",
"args": ["run", "-i", "--rm", "programmable-email"]
}
}
}
gmail_api.ts
for capabilities)
{
"mcpServers": {
"programmable-email": {
"env": {},
"args": [
"run",
"-i",
"--rm",
"programmable-email"
],
"command": "docker"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.