io.github.dan-fetch-studio/tidyports
See and kill the dev servers your coding agents leave running, and get collision-free ports.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
@tidyports/mcpclaude mcp add tidyports -- npx -y @tidyports/mcp@0.1.2
{
"mcpServers": {
"tidyports": {
"command": "npx",
"args": [
"-y",
"@tidyports/mcp@0.1.2"
]
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
TidyPorts integrations
Let your coding agent see and control the local dev servers it starts.
If you run Claude Code, Cursor or Codex across several git worktrees, each one starts dev
servers you never typed a command for. Ports collide, and an agent that hits EADDRINUSE
often can't tell a port conflict from a bug — so it "fixes" working code instead.
These integrations give the agent a way to look, rather than guess.
mcp/ | An MCP server — typed tools for any MCP client (Claude Code, Cursor, Claude Desktop, Windsurf, Zed). |
skills/ | A Claude Code skill, if you'd rather it shelled out to the CLI directly. |
guard/ | Wrap your dev command so EADDRINUSE names what is holding the port, instead of only saying that something is. |
raycast/ | A Raycast extension for the same list, without leaving the launcher. |
Tools
| Tool | What it does |
|---|---|
list_servers | Listening dev servers: port, process, branch, owner, idle. Read-only. |
kill_port | Stop the server on a given port. |
alloc_port | A stable, collision-free port for this worktree — the fix for parallel agents fighting over :3000. |
free_port | A port nothing is listening on right now, to bind immediately. |
Install
The skill, for any agent (Claude Code, Cursor, Copilot, Gemini…):
npx skills add dan-fetch-studio/tidyports-integrations
The MCP server:
npm install -g @tidyports/mcp
Then register it with your client, pointing at the installed tidyports-mcp binary. For
Claude Code:
claude mcp add tidyports -- tidyports-mcp
It needs the TidyPorts app
These are a thin layer over the tidy-ports CLI, which ships inside
TidyPorts — a free macOS menu-bar app that shows every dev server
running on your Mac and which agent started it.
brew install --cask dan-fetch-studio/tap/tidyports
Or download it from tidyports.app/download. macOS 15+.
Licence
The integrations here are MIT (see LICENSE). The TidyPorts app itself is source-available under its own licence.
Questions fréquentes
Qu'est-ce que io.github.dan-fetch-studio/tidyports ?
See and kill the dev servers your coding agents leave running, and get collision-free ports.
Comment installer io.github.dan-fetch-studio/tidyports ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add tidyports -- npx -y @tidyports/mcp@0.1.2. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour io.github.dan-fetch-studio/tidyports ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
io.github.dan-fetch-studio/tidyports est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient io.github.dan-fetch-studio/tidyports ?
Il est publié par dan-fetch-studio. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.