
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A stdio MCP server that lets AI agents inspect listening dev servers, find port conflicts, detect zombie processes, and kill servers with safety guards.
localhost-mcp: MCP server for local dev servers is cataloged as an MCP server attributed to hasanjahidul. A stdio MCP server that lets AI agents inspect listening dev servers, find port conflicts, detect zombie processes, and kill servers with safety guards. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for localhost-mcp: MCP server for local dev servers are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. kill_server runs as a dry-run unless confirm=true is passed, refuses to kill PIDs under 1000, and only targets processes on a dev whitelist.
macOS and Linux have full support, while Windows supports only basic port scanning with limited cwd and framework detection.
README.md · e15be8a16f34 · Fetched 2026-11-13 10:44:01 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
MCP server that inspects, manages, and kills local dev servers. Stop guessing what's on :3000.

Pairs with terminal-history-mcp — together they give your AI agent full memory of your dev environment: what you ran, what's running.
Every dev hits these daily:
Error: listen EADDRINUSE :::3000 — what's holding the port?node / vite / next PIDs from last week eating RAMlsof -i :3000, kill -9 <pid>, repeatlocalhost-mcp makes it one tool call.
npm install -g localhost-mcp
Wire into Claude Code:
claude mcp add --scope user localhost -- localhost-mcp
Or any MCP-compatible client. The command runs as a stdio MCP server.
| Tool | Purpose |
|---|---|
list_dev_servers | All listening dev servers w/ port, pid, framework, project, uptime, mem, cpu |
port_info | Inspect single port — who holds it |
kill_server | Kill by pid or port. Dry-run by default; pass confirm=true to execute |
find_zombies | Detect long-running, idle, memory-heavy dev servers |
port_conflict | Why is port X busy + 5 free alternatives nearby |
{
"port": 3000,
"pid": 48211,
"process": "node",
"cmdline": "next dev",
"cwd": "/Users/me/code/myapp",
"project_name": "myapp",
"framework": "next.js",
"uptime_seconds": 14523,
"memory_mb": 412,
"cpu_pct": 0.3,
"user": "me"
}
kill_server defaults to dry-run. Must pass confirm=true.next.js, vite, nuxt, remix, astro, webpack-dev-server, esbuild, create-react-app, express, fastify, koa, hono, rails, django, flask, fastapi, uvicorn, gunicorn, deno, bun, php-builtin, jekyll, hugo.
Falls back to package.json sniffing when the cmdline is generic (node server.js).
lsof)lsof + /proc)netstat); cwd / framework detection limitedlocalhost-mcp list # JSON list of all dev servers
localhost-mcp zombies # JSON list of zombie candidates
localhost-mcp # Start MCP stdio server
git clone https://github.com/hasanjahidul/localhost-mcp.git
cd localhost-mcp
npm install
npm run build
node dist/cli.js list
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for localhost-mcp: MCP server for local dev servers from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/localhost-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.