Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

Sweep MCP

de les-kversión 0.1.1i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.les-k/sweep-mcp

Instalar

Resumen

Descripción del creador (original en inglés)

An MCP server that can delete directories, and the guard rails that make that acceptable.

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Otros

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

Necesitas

  • PyPIuv de Python instalado (para el comando uvx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "sweep": {
      "command": "uvx",
      "args": [
        "sweep-mcp",
        "--root",
        "your-value"
      ]
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add sweep -- uvx sweep-mcp --root your-value

Este necesita valores en su línea de comandos, así que copia la configuración y complétalos.

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "sweep": {
      "command": "uvx",
      "args": [
        "sweep-mcp",
        "--root",
        "your-value"
      ]
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este necesita valores en su línea de comandos, así que copia la configuración y complétalos.

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "sweep": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sweep-mcp",
        "--root",
        "your-value"
      ]
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub les-k, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Otrosi

  • Más estrellas que el 0% de los otros 32727 servidores de esta categoría
  • Publicado en el registro más recientemente que el 53% de los otros 32727 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 32727 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro Sweep MCP?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (0.1.1) llegó al registro hace 36 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: Spec Driven Development, Remote Desktop Commander, Foliosio

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Spec Driven Development

de formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Se ejecuta en tu computadora★ 440MITActualizado hace 14 meses
Instalar

Remote Desktop Commander

de desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Se ejecuta en la nube★ 211Actualizado anteayer
Instalar

Foliosio

de foliosio.com

Read your support inbox, tag conversations and save draft replies from your AI agent. Never sends.

Se ejecuta en la nubeActualizado hoy
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

sweep-mcp

In plain terms: this lets an AI clear out the junk folders that pile up

on a developer's machine, and makes it incapable of touching anything else. It

works only inside folders you name, only deletes things it found itself, and

checks again in the instant before deleting — so nothing can be swapped in at

the last second.

An MCP server that deletes directories — and the guard rails that make handing that capability to a language model something other than reckless.

It exposes sweep over the Model Context Protocol, so an agent can find and reclaim node_modules, .venv, target, __pycache__ and friends. The interesting part is not the deleting. It is everything that has to be true before a delete is allowed to happen.

Research published in 2026 found security issues in 66% of 1,808 scanned MCP servers, with 30+ CVEs filed against MCP implementations in a single quarter. This repository is one server written the other way round: the refusals first, the feature second.


The threat model

An MCP server that can delete directories is a loaded gun pointed at whatever the process can reach. Five things could go wrong, and each has a control and a test that makes it fire.

RiskControlTest
Agent scans / or C:\ and deletes the machineRoot allowlist, fixed at server start. The agent cannot set, extend or read past it. No roots configured → every request refusedtest_empty_allowlist_denies_every_path
../../ or a symlink used to escape the allowlistEvery path is resolve()d before the containment check, so it is judged on where it really pointstest_dotdot_traversal_is_denied, test_symlink_pointing_outside_root_is_denied
Agent asks to delete a path it never scanned`reclaim` accepts ids, not paths. There is no path-shaped route to deletion anywhere in the APItest_there_is_no_way_to_delete_by_path
The directory changes between scan and deleteEvery find is re-checked against the live filesystem at deletion time — still contained, still a directory, still not a link, marker file still presenttest_revalidate_refuses_a_directory_swapped_for_a_symlink
Accidental destructionDry run is the default. Deletion requires confirm="delete" exactly; anything else is treated as notest_a_wrong_confirmation_string_stays_a_dry_run

Two smaller ones, for the same reason:

  • Ticket ids are random, not sequential. f-3a91c02b77de, not 1. A counting id invites an agent to iterate until something deletes.
  • Tool descriptions are string literals. They are never assembled from anything read off disk, so a directory named ignore-previous-instructions reaches the model as data rather than as a sentence (test_tool_descriptions_are_static).

What it does *not* protect against

The controls above are worth exactly what they cover, and no more.

  • A misconfigured root. Start it with --root / and it will happily work through your filesystem. The allowlist is only as good as what you put in it, and nothing here second-guesses that choice.
  • A malicious client. The guard constrains *what* may be deleted, never *who* is asking. A client that scans legitimately and then confirms legitimately gets exactly what it asked for.
  • An agent that has been talked into it. Static tool descriptions keep filesystem content out of the model's instructions, but nothing here can stop an agent that decides, for its own bad reasons, to delete a real node_modules it genuinely found.
  • The last few milliseconds. revalidate() narrows the window between check and delete; it does not close it. Closing it properly needs directory file descriptors held across the operation, which shutil.rmtree does not offer portably. This is a real race, and it is smaller, not absent.
  • Windows junctions on Python 3.11. os.path.isjunction arrived in 3.12. Below that, junction detection degrades to symlinks only — the same compromise sweep itself makes, stated here rather than buried.
  • Privilege. This is not a sandbox. It runs as whoever started it.

Scanner results

Run against agent-audit 0.19.2 on 18 August 2026.

Static scan — 0 findings, risk score 0.0 (LOW), 7 files.

One low finding appeared on the first pass: AGENT-110, source-map artifacts not excluded from distribution. This package ships no JavaScript, so there were no source maps to leak, but the exclusion is now declared in pyproject.toml anyway — it costs nothing, and arguing with a supply-chain checklist is a poor use of anyone's afternoon.

Tool inspection — 0 tool findings. No tool-poisoning, cross-origin or rug-pull patterns detected in any of the three definitions.

The risk ratings it assigned are worth reproducing, because they are wrong in an instructive way:

ToolRatedInferred permissions
list_targetsMEDIUMSHELL_EXEC, FILE_READ
scanHIGHFILE_DELETE, SHELL_EXEC, FILE_READ
reclaimHIGHFILE_DELETE, SHELL_EXEC, FILE_READ

scan cannot delete anything. It is read-only, declared read_only_hint=True, and there is a test asserting it stays that way. It was rated HIGH with a FILE_DELETE permission because the scanner matches keywords against the description, and this server's scan description contains the sentence:

"Read-only: this never deletes anything."

The word *deletes* is on the FILE_DELETE keyword list. SHELL_EXEC comes from the word *command*, in "the command that regenerates it" — this server never executes a shell command at all.

The description could be reworded to score better. It has not been, because the description's audience is a language model deciding whether to call the tool, and "this never deletes anything" is the single most useful sentence in it. A keyword scanner is a smoke detector, not a judge — a clean run is worth having and worth publishing, and a rating derived from string matching on prose is not evidence about behaviour in either direction.

Two scanners were tried and one could not be run: Invariant Labs' mcp-scan has been renamed snyk-agent-scan following the Snyk acquisition and now requires a SNYK_TOKEN. Cisco's mcp-scanner is not published to PyPI. agent-audit's own stdio transport also times out against this server on Windows while a hand-driven handshake to the identical binary returns in milliseconds, so its analyser was fed the real tools/list output directly — the transport was bypassed, the analysis was not.

Install

pip install sweep-mcp

From a source checkout: pip install -e .

Configure

The server takes one or more --root directories. It has no default. Starting it without a root is an error rather than an invitation to scan everything:

{

"mcpServers": { "sweep": { "command": "sweep-mcp", "args": ["--root", "/home/you/code", "--root", "/home/you/work"] } } }

The tools

ToolDestructiveWhat it does
list_targetsnoThe kinds of directory it knows how to reclaim, and the command that regenerates each
scannoFinds reclaimable directories under a path inside the roots. Returns ids, sizes, and the regenerate command
reclaimyesDeletes finds by id. Dry run unless confirm="delete"

All three carry MCP ToolAnnotations, so a client that gates destructive tools behind a confirmation prompt has what it needs: reclaim declares destructive_hint=True, the other two declare read_only_hint=True. That is asserted in the suite too — a hint that silently regressed would be worse than none.

A session

scan(path="/home/you/code")

→ 12 finds, 3.4 GB f-3a91c02b77de /home/you/code/api/node_modules 1.9 GB npm install f-8e0244fd1b6c /home/you/code/ml/.venv 842 MB python -m venv .venv

reclaim(ids=["f-3a91c02b77de"]) → dry_run: true would_delete: 1 path, 1.9 GB note: Nothing was deleted. Call again with confirm='delete'.

reclaim(ids=["f-3a91c02b77de"], confirm="delete") → deleted: 1 path, reclaimed 1.9 GB

Tests

38 tests. 34 run on Windows; all 38 run on Linux.

The four that skip locally need to create symlinks, which Windows refuses without developer mode — and one of them covers the swap-between-scan-and-delete attack, which is the single most important test here. Skipping it quietly would make the suite a decoration, so CI runs on Linux and fails the build if those tests report as skipped there.

pytest -q --cov=sweep_mcp

Coverage sits at 83%. The gap is mostly main() and the argparse wiring, which the suite drives through build_server instead — the transport is the part least worth mocking and least likely to be where the damage comes from.

Nothing in the suite mocks the filesystem. A mocked Path would pass every test in here while the server still deleted the wrong directory.

Layout

src/sweep_mcp/

guard.py 212 lines - the allowlist, the tickets, the re-check. Imports no MCP. server.py 280 lines - three tools. Translation only. tests/ test_guard.py 23 tests - one per rule, each named for the attack it stands in for test_server.py 15 tests - driven through call_tool, the way a client would

guard.py deliberately knows nothing about MCP. Every decision that could lose someone their data is testable without a client, a transport or an agent in the loop. If a rule looks like it is enforced in server.py, that is a bug — it belongs one layer down, where the tests can reach it.

Licence

MIT.

Author

Built by Leslie Kadenge. I do independent security reviews of MCP servers; my public survey of thirteen production servers is at les-k.github.io/field-notes.html.

Pregunta a PopNx