Calllint

io.github.calllint由 GitHub 账号 calllint 发布v0.2.1更新于 Oct 29, 2026

Static preflight safety gate for MCP servers — scan configs before you run them. Never executes.

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

静态预检安全网关:扫描 MCP 与代理工具配置,在不运行服务器的情况下给出有证据支撑的 SAFE、REVIEW、BLOCK 或 UNKNOWN 判定。

可以做什么
  • 扫描 MCP 配置文件或 JSON 文本,返回每个服务器的判定、指纹哈希与原因码
  • 将新扫描结果与已记录的基线比对,报告漂移与 rug-pull 信号
  • 逐条解释判定依据,并引用具体配置字段作为证据
  • 生成代理安全规则文本与 GitHub Actions CI 门禁片段
  • 检索已发布的信任页并获取已知 MCP 服务器的采用契约
  • 准备、应用并校验按摘要锁定的安装,并列出持续防护会安装哪些组件
适用场景
适合在安装或批准其他 MCP 服务器之前使用,以确定、离线的方式查看该工具配置会授予哪些权限。也适合需要对代理工具面做漂移检测或 CI 门禁的团队。
运行要求
以 npm 包 calllint-mcp 通过 stdio 在本地运行,通常用 npx 启动。需要 Node.js 20 或更高版本。未声明需要账号、API 密钥或环境变量。默认离线工作,可选的在线模式仅提供参考性注册表查询。
安装前请注意
判定属于启发式决策辅助,并非安全保证;它只读取配置与工具元数据,不观察运行时行为或源码,也不读取密钥值。calllint_apply_prepared_install 是唯一会写入宿主配置的工具,需提供明确的批准摘要。持续防护会向项目添加常驻钩子。匿名遥测为可选加入,默认关闭。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Calllint,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[CallLint logo]

CallLint

Your agent can run tools faster than you can review them.

CallLint is a pre-flight risk linter for MCP and agent-tool configs. It checks the blast radius before the tool runs: what each tool can read, write, execute, connect to, send, or mutate — then returns an evidence-backed verdict (SAFE / REVIEW / BLOCK / UNKNOWN) before your agent ever loads the server.

It never executes, installs, or connects to the servers it judges.

bash
npx calllint scan .cursor/mcp.json

Status: 1.9.2 stable CLI release. Actively hardened. Verdicts are heuristic decision support, not a safety guarantee. Read Limitations before relying on a verdict for a security decision.

text
$ npx calllint scan .cursor/mcp.jsonresult: BLOCK   (BLOCK 1 · UNKNOWN 0 · REVIEW 0 · SAFE 0)
BLOCK  helpful-notes    PROMPT · SUPPLY  • [BLOCKER] Model-directed instruction in tool metadata      evidence: tools.save_note.description = "do not tell the user"  • Package version is not pinned      evidence: package = helpful-notes@latest  autonomous use: deny · manual approval: required

What is CallLint?

The authority a tool configuration grants is the union of the permissions and capabilities CallLint can observe in that configuration and its supplied tool metadata. A single MCP server can add filesystem write, shell execution, network egress, or model-directed instructions to an autonomous agent — usually described only by untrusted, tool-provided metadata. CallLint inspects that static surface and tells you, with evidence, what you would be granting before you grant it; it does not claim to observe an agent's total runtime or cloud authority.

  • Deterministic — same input, same verdict. No model in the decision path.
  • Offline by default — no network unless you pass --online (advisory only).
  • Evidence-backed — every finding cites the exact config field it came from.
  • Never executes the target — it reasons about configuration, not behavior.

What it checks

CallLint runs thirteen static detectors over each server entry:

DetectorRisk symbolWhat it flags
secretEnvKeys🔐 SecretsEnv keys whose names imply credentials (tokens, keys, passwords), incl. docker inline -e KEY
broadFilesystemPath📁 FilesFilesystem roots that grant broad read/write (/, ~, home, drive roots), incl. docker bind-mount host paths
unknownRemote🌐 NetworkRemote/HTTP transports to unrecognized or unpinned hosts
promptPoisoning🧠 PromptModel-directed instructions hidden in tool names, descriptions, or schemas
hiddenInstructions🧠 PromptHidden/obfuscated content (zero-width, bidi, tag-char, HTML comments) in model-visible metadata
dangerousCommand⚙️ ExecShell-out / interpreter / package-runner commands (bash -c, npx, …)
unverifiedLocalSource⚙️ ExecLocal script/binary that is not a recognized package, pinned image, or remote
externalMutation✉️ ActionTools that send or mutate external state (email, messages, posts)
messagingSend✉️ ActionTools that send messages/email on your behalf (Slack, Twilio, SMTP, …)
oauthScope✉️ ActionOAuth scopes that are undeclared, broad, or expansive (admin, *, repo, …)
gatewayRuntime✉️ ActionLong-running gateway runtimes that proxy many downstream tools under one auth
financialAction💸 MoneyPayment / transfer / irreversible financial actions
unpinnedPackage🧩 SupplyUnpinned package specs (@latest, no version) — rug-pull surface

Findings roll up into a risk class (S0 metadata-only → S5 financial/irreversible) and an aggregate verdict per server and per config.

Drift detection (baseline / verify) records an approved risk surface and flags rug-pulls (🔁) — a previously-approved server whose risk surface later changed.

What it does not check

This list matters more than the feature list. CallLint is a pre-flight check, not a proof of safety.

  • It does not execute, install, or connect to servers — so it cannot observe actual runtime behavior (what a server really reads, writes, or sends).
  • It does not read or validate secret values — it inspects config shape (key names), never the contents of your .env or credential stores.
  • It does not analyze server source code — only the configuration and any tool metadata you provide under x-calllint.tools.
  • It does not fetch anything unless you pass --online, and online results are advisory — they never upgrade a verdict toward SAFE.
  • It does not certify third-party tools, replace human security review, or guarantee an agent is safe.
  • A clean run is necessary, not sufficient. Pair it with code review, least-privilege tokens, and runtime controls.

UNKNOWN is a real verdict: when CallLint cannot verify what a server will do, it says so and never silently upgrades UNKNOWN to SAFE.

What CallLint is — and is not

CallLint is notCallLint is
a runtime sandboxa pre-run risk linter for agent-tool configs
a secret scanner (it never reads secret values)a config-shape inspector that flags credential-shaped keys
npm audit (known package CVEs)a blast-radius check on the authority you are granting
a server source-code analyzera static config + tool-metadata analyzer
a safety certificateheuristic decision support, not a safety guarantee
a replacement for human reviewthe start of a review, with evidence attached

Install

bash
# run without installing (recommended):npx calllint scan ./mcp.json
# or install globally:npm install -g calllint

Requires Node.js ≥ 20. The published package is a single self-contained bundle with zero runtime dependencies. calllint on the latest tag is the current stable CLI release; @next carries release candidates and @preview older previews.

Quick start

Zero-config scanning — discover and scan all your agent configs:

bash
# Auto-discover and scan all agents (Cursor, Claude Code, Claude Desktop, VS Code, Windsurf)calllint scan --auto
# List all discovered agent configscalllint inventory
# Scan a specific agent typecalllint scan --agent cursorcalllint scan --agent vscode

Manual path scanning — scan a specific config file:

bash
# scan a config file (auto-detects common locations if no path given)calllint scan ./mcp.json
# scan from stdin, machine-readable JSON outcat .cursor/mcp.json | calllint scan --stdin --json
# CI gate: non-zero exit per policy (BLOCK=30, UNKNOWN=20, REVIEW=10 if enabled)calllint scan ./mcp.json --ci --no-emoji
# synthesize a config for an npm package (offline) or a GitHub repo (--online)calllint scan npm:[email protected]calllint scan github:owner/repo --online
# record an approved baseline, then detect drift / rug-pulls latercalllint baseline ./mcp.jsoncalllint verify ./mcp.json --ci
# explain one server's verdict from the last scancalllint explain filesystem
# structured diagnostics for editor / agent-host integrationcalllint diagnostics ./mcp.json --json

Output formats: default terminal, --compact, --json (stable schema), --sarif (GitHub Code Scanning), --markdown (PR comments / GitHub Step Summary), --html (self-contained report). The diagnostics command emits a separate editor/agent-host JSON (calllint.diagnostics.v0).

See CallLint running in CI on a deliberately risky config — calllint-demo-risky-mcp publishes one Code Scanning alert per finding on every push.

Beyond config scanning

The same engine and verdict semantics extend past MCP-config scanning to other points where an agent grants authority:

bash
# Preflight a planned external action before the agent runs itcalllint action inspect payment.json          # calllint.action.v0 descriptorcalllint action inspect email-reply.json --json
# Preflight a normalized agent inbox event (delegates to the action analyzer)calllint inbox inspect gmail-reply.normalized.json
# Record a scan as a local, verifiable receipt, then validate it latercalllint scan ./mcp.json --receipt            # writes calllint-receipt.jsoncalllint receipt verify calllint-receipt.json
# Attach an external content-scanner report as evidence (joint Trust Packet)calllint scan ./mcp.json --evidence skillspector-report.json

Receipts (calllint.receipt.v0) are a reporting layer derived from a scan — they prove which CallLint version produced which verdict over which input under which policy. They are not a second scanner and never re-judge a verdict. A receipt can carry an optional ed25519 signature; receipt keygen / receipt sign generate and sign one locally for development, and receipt verify checks the signature when present (offline, with --public-key). A signature proves provenance and integrity — never safety.

Trust Gateway — prepare, approve, apply, verify

Scanning tells you the blast radius; the Trust Gateway acts on it, safely. It resolves an agent-tool target to an immutable, digest-pinned identity, judges it deterministically, and emits a reversible install plan. Applying that plan is the only thing that ever writes live config: it re-validates every digest, writes atomically, verifies the result, and rolls back on failure. The gateway never executes, installs, or connects to the target it judges.

bash
# read-only: resolve + judge a target and emit a reversible plan (touches no live config)calllint trust prepare github:owner/repo --host claude-code --write-plancalllint trust show    .calllint/plans/<plan-id>.jsoncalllint trust explain .calllint/plans/<plan-id>.json
# the only writer of live config — applies an approved plan, atomically and reversiblycalllint trust apply --plan .calllint/plans/<plan-id>.json --approve <plan-digest> --receipt
# validate a decision receipt later (read-only; never re-judges or executes)calllint trust verify calllint-decision-receipt.json --public-key key.pub

The gateway is a deterministic, fail-closed pipeline over six sealed digests (artifact → evidence → authority → decision/policy → install-plan → receipt). An approval binds all six at once; if any digest changes between prepare and apply, the approval is void and nothing is written. UNKNOWN never becomes SAFE, and external evidence can tighten a verdict but never set it alone. Five Tier-A hosts ship the audited apply surface — Claude Code, Cursor, Windsurf, Claude Desktop, and VS Code. See the CHANGELOG (Trust Gateway Core) and ADRs 0035–0039.

Continuous Guard — catch a rug-pull after approval

A tool you approved once can change later. calllint guard records the approved authority surface and re-decides it — silent when nothing changed, and loud the moment a previously-approved server's risk surface shifts (a rug-pull, 🔁). It adds no new verdict engine: it reuses the same deterministic drift check as baseline / verify and the same stable exit codes.

bash
# re-assess the current authority surface vs the approved baseline (silent when unchanged)calllint guard
# install a guard hook into a host — a declarative shim that only shells out to `calllint guard`calllint guard install --host git       # git pre-commit hookcalllint guard install --host github    # GitHub Actions drift-gate workflowcalllint guard status                   # baseline / disable / installed-hook statecalllint guard disable                  # writes .calllint/guard.json { enabled: false }

Guard installs on seven hosts: git (pre-commit), git-pre-push, github (Actions), claude-code, copilot, gemini, and vscode. Every hook binds only to a commit / push / CI / session-start event — never a per-call gate — so a guard hook can never silently block a tool call (ADR 0045, ADR 0052). Hosts with a dedicated file (git, GitHub, Copilot) are written whole; hosts whose hook lives inside a shared user-owned config (Claude Code, Gemini, VS Code) get a fragment printed for you to merge — guard install never clobbers a shared file.

Install the preflight into your agent — integrate and the Claude plugin

calllint integrate installs CallLint's own MCP server (calllint-mcp) into the agent hosts you already use, so the agent can run the preflight itself before it approves another server. It is plan-only by default: it detects installed hosts, builds a reversible install plan, prints it with a digest, and writes nothing. Applying is a separate, explicit, approved step that reuses the Trust Gateway's exact audited writer (re-validate → atomic write → verify → roll back on failure).

bash
calllint integrate                       # detect hosts + print an install plan (writes nothing)calllint integrate --write-plan          # persist each plan to .calllint/plans/<id>.jsoncalllint integrate --apply --plan <p.json> --approve <plan-digest>   # the only writer

It is idempotent (a host that already has the calllint server yields no change) and project-scoped (it acts on configs under the repo you run it in, not your global machine state).

For Claude Code, CallLint also ships as a plugin with a PreToolUse hook. When Claude is about to write or edit an agent-tool config, the hook surfaces a one-line recommendation to scan first. It is advisory and non-blocking: it always exits 0, never vetoes a tool call, runs no scan itself, and neither the hook nor an LLM ever enters the verdict path (ADR 0051). Installing it does not install a runtime blocker.

/plugin marketplace add calllint/calllint/plugin install calllint@calllint

Run CallLint as an MCP server (calllint-mcp)

CallLint also ships as its own MCP server, so an agent can run the preflight check itself — before it installs or approves another MCP server. It is a thin wrapper over the same engine: every tool delegates to calllint, it carries zero runtime dependencies, and it never executes the server it judges.

jsonc
{  "mcpServers": {    "calllint": {      "command": "npx",      "args": ["-y", "calllint-mcp"]    }  }}

Tools exposed: scan_mcp_config_path, scan_mcp_config_json, verify_baseline, explain_finding, generate_agent_rule, generate_ci_gate_snippet. The server speaks stdio JSON-RPC and returns the same evidence-backed SAFE / REVIEW / BLOCK / UNKNOWN verdicts as the CLI. See packages/calllint-mcp for details. Published on npm as calllint-mcp.

Example report

CallLint scanconfig: ./mcp.jsonresult: BLOCK   (BLOCK 1 · UNKNOWN 0 · REVIEW 0 · SAFE 0)────────────────────────────────────────────────────────────
BLOCK  helpful-notes    PROMPT  S2 Sensitive read · reproducibility HIGH · confidence medium  "helpful-notes" is blocked. Risk: Prompt (S2 Sensitive read).
  • [BLOCKER] Suspicious model-directed instruction in tool metadata      (prompt.poisoning, observed, confidence medium)      evidence: tools.save_note.description = do not tell the user      impact: Tool metadata reaches the model directly and can hijack              autonomous tool selection or coerce data disclosure.      fix: Remove model-directed instructions from tool names,           descriptions, schemas, and server instructions.
  autonomous use: deny · manual approval: required · sandbox: recommended

Corpus and release gate

CallLint's verdicts are tested against a machine-checkable corpus. Each case pins an expected verdict, required evidence, and a "dangerous input never resolves to SAFE" policy. The corpus is enforced as a release gate: pnpm corpus:test.

  • 60 calibrated cases
  • 38 real or redacted snapshots
  • 0 dangerous false-SAFE
  • UNKNOWN ratio 10.0% (target ≤ 15%)

The corpus is a regression and calibration gate, not a claim of full MCP ecosystem coverage. See project-facts.json (the single source of truth for these numbers). Website and README copy is kept in sync by pnpm check:public-copy.

Rule list

Each rule has a detector and a human-readable doc under packages/risk-engine/rules/:

  • prompt.poisoning — model-directed instructions in tool metadata (blocker)
  • prompt.hidden-instructions — hidden/obfuscated content (zero-width, bidi, tag-char, HTML comments) in model-visible metadata (R4 prompt surface, ADR 0014)
  • prompt.surface-instructions — model-directed or hidden content in a project document read via --surface-dir (README.md / SKILL.md / AGENTS.md / package.json description); non-blocker, ADR 0015
  • exec.dangerous-command — shell-out / interpreter / package-runner commands
  • exec.unverified-local-source — runs a local script/binary that is not a recognized package, pinned image, or remote (ADR 0011)
  • files.broad-path — over-broad filesystem grants, incl. docker bind-mount host paths (--mount type=bind,src=…, -v host:container; ADR 0012)
  • supply.unpinned-package — unpinned package specs (rug-pull surface)
  • plus secretEnvKeys, unknownRemote, externalMutation, financialAction detectors (see What it checks)

Verdicts are governed by policy as code (calllint.policy.json); run calllint policy init to write the defaults and calllint policy explain to see the effective policy.

Badge

calllint scan <config> --badge emits a shields.io endpoint JSON object so an MCP author can show a truthful CallLint verdict in a README. It is built for transparency: the badge shows whatever the verdict is, and only SAFE is green — REVIEW, UNKNOWN, and BLOCK each carry a distinct non-green colour. It is a projection of the aggregate verdict (no schema change), and SAFE means no blockers observed, not a proof of runtime safety. See badge.md for the wiring and the verdict→colour map.

Security model

CallLint is a security tool, so its own boundaries are explicit and auditable.

  • No host execution. It parses and reasons about configuration only; it never runs the server it judges. (See ADR 0003.)
  • Treats all config as attacker-controlled. Tool names, descriptions, and schemas are untrusted input; report rendering escapes them.
  • Offline by default. --online adds advisory registry lookups only and can never make a verdict more permissive.
  • Deterministic and reproducible. No model, clock, or network in the decision path; the JSON output schema is stable (calllint.report.v0).

Full statement: SECURITY.md · trust boundaries: LIMITATIONS.md. Report issues to [email protected].

Anonymous usage telemetry — opt-in, off by default

CallLint collects nothing unless you say yes. Scanning works fully offline with telemetry off, and no verdict ever depends on it.

  • Off by default. On the first run in an interactive terminal, CallLint asks once. Only an explicit y/yes enables it; a bare Enter, a timeout, n, or EOF all leave it off, and the answer is remembered so you are asked at most once.
  • Never prompts non-interactively. In CI, when piped, under --json/--sarif, or with the kill-switch set, there is no prompt and no collection.
  • Kill-switch. CALLLINT_TELEMETRY=0 (also false/off) disables every tier regardless of stored state.
  • Check or change it any time: calllint telemetry status · enable · disable · reset (rotates the installation ID).

What an event may carry: event name, host family (e.g. cursor), result category (e.g. BLOCK), duration, input kind, discovery surface, CallLint version, and a random installation ID. The payload is built by an allowlist — an unlisted field is dropped, not forwarded.

Never sent: config contents · file paths · commands · arguments · secret values · prompts · finding evidence · server names · anything identifying you or your machine.

Server side, the request IP and User-Agent are used only for rate limiting and are never persisted; installation IDs are HMAC'd at ingestion and the raw value is discarded. There is no raw event log.

Limitations

CallLint sees configuration, not behavior. It can miss risks a server only reveals at runtime, and can flag surface that turns out benign. It depends on the tool metadata you provide being accurate, and a server can change after you approve it (use baseline / verify to catch that). It is heuristic: expect both false positives and false negatives, and treat REVIEW/BLOCK as the start of a review, not a complete threat assessment. See LIMITATIONS.md for the full trust-boundary document.

Roadmap

  • Broaden config-format coverage (more agent/host config dialects)
  • Richer online supply-chain signals (still advisory, never auto-SAFE)
  • More detectors and tunable policy packs
  • Editor/CI integrations beyond SARIF

CallLint stays focused on pre-run risk linting for agent-tool configurations. Hosted registries, gateways, and runtime enforcement are outside the current release scope.

Project

CallLint is the official Apache-2.0 open-source project published at calllint.com, github.com/calllint/calllint, and npm packages calllint (CLI) and calllint-mcp (MCP server). It is maintainer-led — see GOVERNANCE.md and CONTRIBUTING.md.

License

Apache-2.0 — see LICENSE and NOTICE. The CallLint name and logo are not licensed with the code; see TRADEMARKS.md.

来源:README.md,提交 8bfe976

工具

13

scan_mcp_config_path

Scan an MCP config file on disk and return the full ScanReport (verdict + evidence). Static; never executes the server.

输入参数path必填

scan_mcp_config_json

Scan MCP config JSON text and return compact decisions (one per server: verdict, fingerprint hash, reason codes). Static; never executes the server.

输入参数json必填surface

verify_baseline

Compare a fresh scan of MCP config JSON against a recorded baseline and report drift / rug-pull signals. Static; never executes the server.

输入参数json必填surfacebaseline

explain_finding

Return the full evidence-backed explanation for the servers in an MCP config JSON (why each verdict was reached).

输入参数json必填serversurface

generate_agent_rule

Generate the CallLint agent-safety rule text for a host (e.g. claude, cursor, copilot, agents). Paste into the host's rules file.

输入参数host必填

generate_ci_gate_snippet

Generate a GitHub Actions workflow (.github/workflows/calllint.yml) that gates a repo on its agent-tool surface. mode=drift fails on approved-state drift; mode=scan-all is report-only.

输入参数mode

calllint_guard_external_tools

CallLint is present in this session as a static, deterministic preflight gate for MCP servers and agent tools (a pure delegator, ADR 0025). It reads an MCP or agent-tool config and returns an evidence-backed verdict — SAFE means no blockers observed, REVIEW means human judgment required, BLOCK means a dangerous surface, UNKNOWN means it cannot verify statically; UNKNOWN is never SAFE. Verdicts come from deterministic rules, never an LLM, and CallLint never executes the server or tool it judges. Its tools: scan_mcp_config_json and scan_mcp_config_path (a verdict for a config), explain_finding (the evidence behind a verdict), verify_baseline (drift versus an approved baseline), generate_agent_rule and generate_ci_gate_snippet (wire it into a host or CI). This tool only reports that CallLint is available; it changes no verdict and performs no action of its own.

无需输入参数。

calllint_search_agent_tools

Search already-published CallLint Trust Pages for MCP servers and agent tools by name, and get each match's existing verdict. Deterministic name match only (exact, then prefix, then substring; alphabetical within a tier) over a committed index — no LLM, no fuzzy or semantic ranking, and no new score. Each result carries the page's shipped verdict verbatim — SAFE (no blockers observed), REVIEW (human judgment required), BLOCK (a dangerous surface), or UNKNOWN (could not verify statically; UNKNOWN is never SAFE) — plus its boundary-safe label, artifact digest, observed-at time, and Trust Page URL. When the resource also has a CallLint acquisition page, the result includes installUrl (the human Install page), contractUrl (the machine Agent Adoption Contract), and installability (the route: PREPARE_AVAILABLE, REVIEW_REQUIRED, BLOCKED, LOCAL_PREFLIGHT_REQUIRED, or UNSUPPORTED); these link existing pages and authorize nothing — installing always re-decides locally. A match reports an existing observation at a specific digest and time; it is not a certification, an endorsement, or a guarantee of safety, and this tool never executes a server and changes no verdict. A resource with no CallLint Trust Page simply does not appear; absence is not a verdict. To scan a config that has no page yet, use scan_mcp_config_json.

输入参数limitquery

calllint_get_adoption_contract

Fetch the committed CallLint Agent Adoption Contract for a published MCP server / agent tool, by its canonical name (the same canonicalName/slug calllint_search_agent_tools returns). Returns the exact machine contract CallLint already published: the pinned subject (package, version, artifact digest), the public observation (verdict + boundary-safe label), the authority delta, and the recommendedNextAction telling you how to proceed (usually calllint_prepare_safe_install with the exact version/artifact/contract digests to assert). The contract is served verbatim from a committed bundle — no network, no execution, no new verdict. Optionally pass version to require an exact pinned version (a mismatch returns not-found rather than a different version). A resource with no committed contract is not served; absence is not a verdict. Use this to obtain the exact target to assert, then calllint_prepare_safe_install to re-decide locally before any install.

输入参数versioncanonicalName必填

calllint_prepare_safe_install

Locally and statically PREPARE a safe install of a published MCP server, re-deciding its trust verdict on THIS machine before anything is written. Give the canonical name (and ideally the exact version/artifact/contract digests from calllint_get_adoption_contract to assert you got the target you meant). This never executes the server and never writes any config — it synthesizes the exact pinned launch, re-runs the full CallLint gateway locally (resolve → authority manifest → toxic-flow fold → policy decision), and, when you name a host, computes the inert install plan you would later apply. The local decision can only be STRICTER than the public one: a public BLOCK/UNKNOWN/unsupported target is refused before the local re-decode, an exact-target mismatch aborts with no plan, and only a pinned npm subject is auto-preparable in this version (anything else returns LOCAL_PREFLIGHT_REQUIRED — run `calllint trust prepare`). Outcomes: PREPARED (a plan is ready for a separate, explicitly-approved apply — never auto-applied), BLOCKED, LOCAL_PREFLIGHT_REQUIRED, ABORTED_ON_MISMATCH, or UNSUPPORTED. The returned plan authorizes nothing on its own; applying it is a separate human-gated step.

输入参数hostcanonicalName必填hostConfigPathexpectedVersionexpectedArtifactDigestexpectedContractDigest

calllint_apply_prepared_install

Apply an install plan you already prepared and explicitly approved, writing the pinned MCP server into a host's config. This is a WRITE — it is the only CallLint tool that changes a file, and it refuses unless you name a supported host AND pass approvalDigest equal to the exact planDigest calllint_prepare_safe_install returned. Before writing it re-runs the full local gateway from scratch and recomputes the plan: if the host config or the pinned target changed since you prepared, the digest differs and the apply aborts with nothing written. A public BLOCK/UNKNOWN/unsupported route, a local BLOCK/UNKNOWN decision, or an exact-target mismatch all refuse before the write. The write itself is delegated to CallLint's shipped apply engine, which backs up the current config, writes atomically under a lock, re-reads to verify, and rolls back on any failure — so a failed apply leaves the original config in place. Outcomes: APPLIED_AND_VERIFIED (written and verified, with a decision receipt returned inline for later verification), ABORTED_ON_MISMATCH, BLOCKED, LOCAL_PREFLIGHT_REQUIRED, or UNSUPPORTED. This is a one-time protected setup: it installs no CallLint components, leaves no persistent CallLint files, and never starts, connects to, authenticates to, or tests the server it installed.

输入参数host必填canonicalName必填approvalDigest必填hostConfigPathexpectedVersionexpectedArtifactDigestexpectedContractDigest

calllint_verify_tool_install

Verify that an MCP server install is actually in place and unchanged, by reading the host's config and comparing it against the published contract's exact pinned target. Read-only: it writes nothing, runs no scan, applies no policy, decides no verdict, and never starts or connects to the installed server. It reports whether the config exists and parses, whether the expected server entry is present, and whether that entry still pins the exact package@version the contract names (drift is reported, never accepted). Optionally pass the decision receipt from calllint_apply_prepared_install to also confirm its structure and approval binding are intact (an expired receipt is reported as a true record of a past approval, not a current authorization). A passing check means this exact entry is present right now — it is not a safety verdict.

输入参数host必填receiptcanonicalName必填hostConfigPath

calllint_enable_continuous_guard

List exactly what CallLint's continuous protection would install, so a person can decide whether to enable it. Continuous protection is persistent: unlike a one-time install it adds CallLint components to the project (a session-start hook, a git hook, or a CI workflow, depending on host) that re-decide the approved agent-tool authority surface, detect drift, and re-check upgrades. Because it is persistent it is always a separate decision, never bundled into an install: this tool writes nothing, enables nothing, and installs nothing even if you pass approvalDigest. It returns every component with the file it creates, the command that enables it, and the command that removes it, plus a disclosureDigest over that set and a disableCommand. Report the components and both choices — enable, or not now — and let the person run the enable command themselves in a terminal. Declining changes nothing about an install already completed.

输入参数hostsapprovalDigest

版本历史

2
  1. v0.2.1最新Oct 23, 2026
  2. v0.2.0Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分