Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/gmail-mcp-http-listener-resilient.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @razroo/gmail-mcp

## 1.8.1

### Patch Changes

- 31cb523: Make the Streamable HTTP listener resilient to port conflicts. Previously, if `PORT` (default `3000`) was already bound — typically by a zombie `gmail-mcp` from a prior session, or a second instance running in another project — `app.listen(PORT)` threw `EADDRINUSE` and the whole process crashed, which killed the stdio MCP transport too even though stdio doesn't need the port. Now we attach an `error` handler to the HTTP server: on `EADDRINUSE` we log a warning and continue, so stdio MCP clients (Claude Desktop, opencode, etc.) keep working. Also added a `DISABLE_HTTP=true` env var for consumers who only use stdio and want to skip the HTTP listener entirely.

## 1.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@razroo/gmail-mcp",
"version": "1.8.0",
"version": "1.8.1",
"description": "Gmail MCP - Provides complete Gmail API access with file-based OAuth2 authentication",
"type": "module",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ const constructRawMessage = async (gmail: gmail_v1.Gmail, params: NewMessage) =>
function createServer({ config }: { config?: Record<string, any> }) {
const serverInfo = {
name: "Gmail-MCP",
version: "1.8.0",
version: "1.8.1",
description: "Gmail MCP - Provides complete Gmail API access with file-based OAuth2 authentication"
}

Expand Down