-
Notifications
You must be signed in to change notification settings - Fork 54
Description
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