Skip to content

mcp-lint v1.1

Choose a tag to compare

@7shep 7shep released this 08 Nov 02:53
· 36 commits to main since this release
1592ac9

mcp-lint v1.1 adds MCP security checks. v1.0 asked whether a server's tools are easy for an agent to use. v1.1 also asks whether they can be trusted.

What's new

  • S8: hidden text in tool metadata. A server can hide instructions where the model reads them but the user doesn't. S8 searches every description, nested schema field, parameter name and enum value for:

    • invisible characters: Unicode TAG-block, zero-width and bidi;
    • HTML comments;
    • secret paths such as ~/.ssh and .env;
    • phrases aimed at the model, such as "do not tell the user";
    • mentions of other servers' tools.

    It is quiet on the 18 real servers surveyed.

  • mcp-lint lock / lock --check: a tool lockfile against rug pulls. It records a hash of each tool's definition in mcp-lint.lock. On each check, it reports any change to text the model reads, or any schema that now accepts or asks for more, as an error. lock --check exits non-zero, so it can gate CI.

  • I1 install lint and mcp-lint check-config. These read Claude Desktop, Claude Code, Cursor and VS Code MCP configs and flag:

    • npx/uvx/pipx packages with no exact version;
    • git sources not pinned to a commit;
    • container images without a digest;
    • pip install without --require-hashes.

    Known-bad releases (postmark-mcp 1.0.16; litellm 1.82.7, 1.82.8, 1.107.0) are errors, and run, proxy, lock and init-fixtures refuse to launch them.

Fixes

  • run --json now stores a hash of the launch command (server.command_sha256), not the command itself, so tokens passed as arguments don't end up in reports. Breaking for scripts that read server.command.
  • Tools nested more than 64 levels deep are rejected cleanly on every platform.

Also

  • CI runs the tests on Ubuntu with Python 3.10–3.13 and on Windows with 3.13, and builds the wheel.

Requires Python 3.10+.