🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@tidyports/mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tidyports/mcp

See and kill the dev servers your coding agents leave running, and get collision-free ports.

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

TidyPorts MCP server

Exposes the tidy-ports CLI as structured tools over the Model Context Protocol, so any MCP client (Claude Code, Cursor, Claude Desktop, Windsurf, Zed) can see and kill local dev servers natively, not just Claude Code.

Where the Claude Code skill advises the model how to shell out, this server gives it typed tools with structured results.

Tools

ToolWhat it does
list_serversListening dev servers: port, process, branch, owner, idle. Read-only.
kill_portStop the server on a given port.
alloc_portA stable, collision-free port for this worktree (dodges parallel-agent EADDRINUSE).
free_portA port that nothing is listening on right now, to bind immediately.

Install

Requires the tidy-ports CLI on your PATH (install TidyPorts first) and Node ≥ 18.

cd integrations/mcp
npm install

Then register it with your client, pointing at the absolute path to server.js:

Claude Code (.mcp.json in your project, or claude mcp add):

{
  "mcpServers": {
    "tidyports": { "command": "node", "args": ["/ABS/PATH/TidyPorts/integrations/mcp/server.js"] }
  }
}

Cursor (~/.cursor/mcp.json) / Claude Desktop (claude_desktop_config.json) use the same mcpServers shape.

Restart the client and the tidyports.* tools appear in its tool list (and can be permissioned there). Once published to npm this becomes "command": "npx", "args": ["-y", "@tidyports/mcp"], no clone required.

Skill vs. MCP

  • Skill: cheapest on-ramp, Claude Code only, advises the model. Start here.
  • MCP: portable across clients, structured I/O. The platform layer. See docs/roadmap.md.

Keywords

mcp

FAQs

Package last updated on 26 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts