Listed from the MCP registry; nobody on Odel publishes it.
Gmail messages, threads, labels, drafts and sending, as MCP tools via the Gmail API.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @reneturcios/mailport
MCP client config
{
"mcpServers": {
"mailport": {
"command": "npx",
"args": [
"-y",
"@reneturcios/mailport"
]
}
}
}Run
docker run -i --rm ghcr.io/cloudcorprecords/mailport:0.1.0
MCP client config
{
"mcpServers": {
"mailport": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/cloudcorprecords/mailport:0.1.0"
]
}
}
}Gmail messages, threads and labels as MCP tools, talking to the Gmail API. mailport is a clean-room rebuild of the core surface of the Gmail reference MCP server, under a new name: fresh code written from the public Gmail API documentation, no copied branding.
list_messages, get_message, list_threads, get_thread,
list_labels, send_message, create_draft, modify_message,
trash_message, create_label.
Label update/delete, draft get/update/delete/send, message delete and batchModify, history, profile/settings/watch, and attachment downloads from the wider Gmail surface are not in this subset.
Set a Google OAuth access token:
export GOOGLE_ACCESS_TOKEN=ya29....
Optionally override the API base with GMAIL_API_URL
(default https://gmail.googleapis.com/gmail/v1). Without the token,
every tool call fails with an error naming the missing variable.
npx @reneturcios/mailport list_messages '{"query":"in:inbox","max_results":5}'
npx @reneturcios/mailport mcp # stdio MCP server
Each tool name is a subcommand taking one JSON object argument.
{
"mcpServers": {
"mailport": {
"command": "npx",
"args": ["-y", "@reneturcios/mailport", "mcp"],
"env": { "GOOGLE_ACCESS_TOKEN": "ya29...." }
}
}
}
docker run -i -e GOOGLE_ACCESS_TOKEN ghcr.io/cloudcorprecords/mailport
npm install
npm run build
npm test
MIT