Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ–₯️ Command Line
  3. Localhost MCP
Localhost MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 1:49:29 PM

Localhost MCP

User RatingsBe the first to rate and review this MCP server!
View Repository3 GitHub StarsTotal stargazers on GitHub for the source repository (3 stars).
developer-toolslocal-developmentprocess-managementport-monitoring

Inspects local development servers, explains port conflicts, identifies zombie processes, and safely terminates approved processes.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hasanjahidul-localhost-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "localhost-mcp"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ–₯️ More in Command Line

Overview

HasanJahidul/localhost-mcp MCP server lets an MCP-compatible client inspect and manage development servers running on the local machine. It reports listening ports, process IDs, frameworks, project directories, uptime, memory, and CPU usage, and can explain conflicts with nearby free-port suggestions. Reach for it when a development port is occupied, forgotten servers are consuming resources, or you need to identify a process before stopping it. Server termination uses a dry-run default and safety checks before sending signals.

Use cases

β€’Inspect which process owns a development port
β€’Diagnose port conflicts and find nearby free ports
β€’Find idle or resource-heavy development servers
β€’Preview and confirm termination of a server by PID or port

Key features

β€’Lists ports, PIDs, frameworks, projects, uptime, memory, and CPU
β€’Inspects individual ports
β€’Detects zombie development processes
β€’Suggests five free alternatives for busy ports
β€’Uses dry-run termination with process safety checks
β€’Supports macOS, Linux, and basic Windows scanning

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Localhost MCP.

Extracted Tool Capabilities
Lists ports, PIDs, frameworks, projects, uptime, memory, and CPU
Inspects individual ports
Detects zombie development processes
Suggests five free alternatives for busy ports
Uses dry-run termination with process safety checks
Supports macOS, Linux, and basic Windows scanning

How Localhost MCP works

What HasanJahidul/localhost-mcp MCP server does

HasanJahidul/localhost-mcp MCP server exposes local development-server inspection and process-management operations through MCP. It is intended for diagnosing issues such as an occupied port, forgotten development processes, or uncertainty about which project owns a running server.

The server can enumerate listening development servers and report their port, PID, process name, command line, working directory, project name, detected framework, uptime, memory use, CPU use, and user. It can also inspect one port, locate likely zombie processes, and explain why a port is unavailable while suggesting five nearby free ports.

Supported framework detection includes 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’s built-in server, Jekyll, and Hugo. When the command line is generic, the project’s package.json is used as a fallback signal.

How it works

HasanJahidul/localhost-mcp MCP server runs as a local stdio MCP server. On macOS it uses lsof for full support. Linux uses lsof and /proc; Windows support is limited to basic port scanning through netstat, so working-directory and framework details may be incomplete.

The included command-line interface can emit JSON for a complete server list or zombie candidates. Running localhost-mcp without a subcommand starts the MCP stdio server. The repository also notes that it can be paired with terminal-history-mcp, although that is a separate project rather than a dependency described here.

Setup and configuration

Install the npm package globally:

Terminal
npm install -g localhost-mcp

For Claude Code, register the executable with:

Terminal
claude mcp add --scope user localhost -- localhost-mcp

The README states that the command can also be used with other MCP-compatible clients. No environment variables, API credentials, or hosted service configuration are documented. To build from source, clone the repository, run npm install, run npm run build, and use node dist/cli.js list for a JSON listing.

Tools and capabilities

HasanJahidul/localhost-mcp MCP server provides these operations:

  • list_dev_servers: Lists detected development servers and their process and resource details.
  • port_info: Identifies the process holding a selected port.
  • kill_server: Targets a server by PID or port.
  • find_zombies: Finds long-running, idle, or memory-heavy development servers.
  • port_conflict: Explains a busy port and returns five nearby alternatives.

The command-line equivalents include localhost-mcp list and localhost-mcp zombies.

Limitations and notes

Killing is conservative by design. kill_server previews the action unless confirm=true is supplied, refuses PIDs below 1000, and only permits processes from a development whitelist. It sends SIGTERM first and escalates to SIGKILL after five seconds.

Windows provides only basic port scanning, with limited framework and current-working-directory detection. The server focuses on local development processes rather than general system-process management.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Command Line View all alternatives
  • MCP Ssh Manager logoMCP Ssh Manager

    Manage multiple SSH servers from one MCP: command execution, file transfer/rsync, database dump/import/query (MySQL/PostgreSQL/MongoDB), backups & restore, health monitoring, persistent sessions, tunnels, ProxyJump/bastion, and opt-in per-server security modes (readonly/restricted) with audit log. Linux, macOS & Windows OpenSSH.

    πŸ–₯️ Command Line7 views
    Compare vs MCP Ssh Manager β†’
  • When logoWhen

    Developer toolkit: auto-detect stack for AI context files, catch port conflicts, validate .env schemas, spot docs drift, audit dependency licenses, and time coding tasks β€” 7 MCP tools, one install.

    πŸ–₯️ Command Line2 views
    Compare vs When β†’
  • Sage logoSage

    Local-first CLI and MCP wrapper for AI coding agents. Routes shell commands through sage run --, stores command history locally, and returns compressed terminal output to reduce context noise.

    πŸ–₯️ Command Line5 views
    Compare vs Sage β†’
  • Cygnus Ssh MCP logoCygnus Ssh MCP

    MCP server for SSH-based control of remote Linux, macOS, and Windows servers with 46 purpose-built tools instead of one generic command-runner: line-level file editing (no download/edit/upload round-trip), background task launch/monitor/kill, real sudo support, host aliases, recursive directory ops, archive create/extract, and full Unicode via SFTP (avoids PowerShell OEM code page corruption on Windows targets). pip install cygnus-ssh-mcp or uvx cygnus-ssh-mcp.

    πŸ–₯️ Command Line5 views
    Compare vs Cygnus Ssh MCP β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
3
Stargazers on the source repository.
Directory activity
3 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Localhost MCP

Install the npm package globally with `npm install -g localhost-mcp`.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLocalhost MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hasanjahidul-localhost-mcp?style=directory)](https://allmcps.com/mcp/hasanjahidul-localhost-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/hasanjahidul-localhost-mcp"><img src="https://allmcps.com/api/badge/hasanjahidul-localhost-mcp?style=directory" alt="Localhost MCP on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ–₯️Command Line
PricingFree
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
AuthNo auth required
LicenseMIT
ClientsClaude Desktop, Cursor, Windsurf, Cline / VS Code
Last updatedSep 7, 2026
Views3
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars3
GitHub Star CountTotal stargazers on GitHub representing community popularity (3 stars).
48Quality signal: Fair Β· 48/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools24/30
Adoption & activity2/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ–₯️ Command Line β†’Best MCP servers for Command Line & Terminal β†’Alternatives to Localhost MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code