Skip to content

error in terminal and traeΒ #15

@alexzlw

Description

@alexzlw
Image when I run mcp-google-map in terminal, it stopped at listening on port 3000.

when I add MCP in trae , it shows the error below.
[INFO] πŸ—ΊοΈ Google Maps MCP Server
[INFO] A Model Context Protocol server for Google Maps services
[INFO]
[INFO] πŸš€ Starting Google Maps MCP Server...
[INFO] πŸ“ Available tools: search_nearby, get_place_details, maps_geocode, maps_reverse_geocode, maps_distance_matrix, maps_directions, maps_elevation, echo
[INFO]
[INFO] πŸ”§ [MCP-Server] Initializing MCP Server in HTTP mode on port 3000...
[INFO] βœ… [MCP-Server] MCP Server started successfully!
[INFO] 🌐 Endpoint: http://localhost:3000/mcp
[INFO] πŸ“š Tools: 7 available
[INFO]
[INFO] πŸŽ‰ Server initialization completed!
[INFO] πŸ’‘ Need help? Check the README.md for configuration details.
node:events:485
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE: address already in use :::3000
at Server.setupListenHandle [as _listen2] (node:net:1940:16)
at listenInCluster (node:net:1997:12)
at Server.listen (node:net:2102:7)
at app.listen (/opt/homebrew/lib/node_modules/@cablate/mcp-google-map/node_modules/express/lib/application.js:635:24)
at x.startHttpServer (file:///opt/homebrew/lib/node_modules/@cablate/mcp-google-map/dist/cli.js:3:7779)
at file:///opt/homebrew/lib/node_modules/@cablate/mcp-google-map/dist/cli.js:3:9659
at Array.map ()
at Ge (file:///opt/homebrew/lib/node_modules/@cablate/mcp-google-map/dist/cli.js:3:9114)
at file:///opt/homebrew/lib/node_modules/@cablate/mcp-google-map/dist/cli.js:3:11495
at ModuleJob.run (node:internal/modules/esm/module_job:371:25)
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1976:8)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
code: 'EADDRINUSE',
errno: -48,
syscall: 'listen',
address: '::',
port: 3000
}

Node.js v24.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions