Home / MCP servers / Developer tools / localhost-mcp

localhost-mcp

localhost-mcp is a MCP server by HasanJahidul that inspect, manage and kill local dev servers: see what listens on each port, diagnose port conflicts, find zombie processes and kill by PID or port.

Updated 2026-05-11

What is localhost-mcp?

localhost-mcp is a MCP server by HasanJahidul that inspect, manage and kill local dev servers: see what listens on each port, diagnose port conflicts, find zombie processes and kill by PID or port. It is listed under Developer tools and has 4 GitHub stars.

TypeMcp server
AuthorHasanJahidul
RepositoryHasanJahidul/localhost-mcp
Popularity4 GitHub stars
CategoryDeveloper tools
SecurityReview before installing (72/100)
Rank#2,300 of 4,418 MCP servers; #503 in Developer tools
LicenseMIT
Last commit2026-05-11
RunsLocally
LanguageTypeScript
PlatformsmacOS, Windows, Linux

Is localhost-mcp safe to install?

localhost-mcp scores 72/100 on the MCPMods security check: Review before installing. Things to review: can take actions such as send, write or deploy; executes code or shell commands. It passed 3 of 6 checks.

MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.

CheckResult
Community-built serverNote
Runs on your machine onlyPass
No credentials mentionedPass
Can take actions such as send, write or deployReview
Executes code or shell commandsReview
Source on GitHubPass

How do I install localhost-mcp?

  1. Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
    https://github.com/HasanJahidul/localhost-mcp
  2. Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
    claude mcp add localhost-mcp -- <command from README>
    claude mcp add --transport http localhost-mcp <server-url>
  3. Check it connected. This lists your MCP servers and their status.
    claude mcp list

Or ask Claude to set it up

Paste this into Claude Code and it installs localhost-mcp for you:

Add the "localhost-mcp" MCP server from https://github.com/HasanJahidul/localhost-mcp to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.