Purpose: CallLint is a preflight risk scanner for MCP and agent tool configurations. Before an agent loads a server, it checks the scope of what each tool can read, write, execute, connect to, send, or modify, and gives a verdict with evidence (SAFE / REVIEW / BLOCK / UNKNOWN). It never executes, installs, or connects to the servers being inspected.
Main capabilities: Thirteen built-in static detectors covering prompt injection, hidden instructions, dangerous commands, unverified local sources, overly broad file paths, unpinned package versions, secret environment variables, unknown remotes, external changes, financial operations, and more; findings are summarized into S0 to S5 risk levels and an aggregate verdict. Supports baseline/verification drift detection, flagging changes in the risk surface of approved servers (rug-pull). Output formats include terminal, --compact, --json, --sarif, --markdown, --html. Also includes Trust Gateway (prepare/approve/apply/verify, atomic writes and rollback on failure), Continuous Guard (git, GitHub, Claude Code, Copilot, Gemini, VS Code hooks), calllint integrate and the Claude plugin (PreToolUse hook, advisory only, non-blocking), and the calllint-mcp server (exposing scan_mcp_config_path, scan_mcp_config_json, verify_baseline, explain_finding, generate_agent_rule, generate_ci_gate_snippet).
Usage: Requires Node.js ≥ 20, install the npm package calllint (CLI) or calllint-mcp (MCP server). You can scan all agent configurations with zero configuration, or scan by specifying a configuration file path; policy is managed in calllint.policy.json, with calllint policy init and calllint policy explain available. Telemetry is off by default, can be disabled with CALLLINT_TELEMETRY=0, and calllint telemetry status/enable/disable/reset management.
Use cases: Perform static risk preflight before approving or installing an MCP server, use as a gate in CI, prompt to scan first in the editor, and use baselines/verification to detect subsequent changes to approved tools.
Limitations: It only analyzes configuration and the provided tool metadata; it does not read secret values, does not analyze server source code, and does not observe runtime behavior; --online only provides advisory queries and does not make verdicts more permissive; verdicts are heuristic and subject to false positives and false negatives, and UNKNOWN is never silently upgraded to SAFE; a clean result is only a necessary condition and cannot replace manual security review, least-privilege tokens, and runtime controls.