Configuration
Review launch commands, package versions, credentials, transport settings, and network targets in MCP client configs.
mcprism scan
Security review for MCP
MCP servers can run commands, read files, and reach the network. mcprism checks their configuration, source, and tool metadata so you can review the risks first.
Local by default. Config and source scans are offline and do not upload your files. Live inspection is opt-in.
OfflineLocal config and source scans
Static by defaultDoes not run the server unless live inspection is enabled
Opt-inLive inspection only when you ask
UsefulReadable findings, score, and CI reports
What gets checked
Use one view or combine them. Start with what you have: a config, a source checkout, or a running endpoint you explicitly choose to inspect.
Review launch commands, package versions, credentials, transport settings, and network targets in MCP client configs.
mcprism scan
Trace supported tool handlers toward command execution, network requests, and file access. Scan a local checkout or fetch a bounded archive from a public GitHub repo; mcprism never runs the project code.
mcprism vet --repo https://github.com/owner/server
With opt-in live inspection, list tools and resources and check their descriptions for suspicious instructions. It can start the server or connect to it, so inspect untrusted servers in a sandbox. Tools are never invoked.
mcprism scan --dynamic
Know the limits
Source checks use language-specific patterns and bounded helper tracking; they are not whole-program AST or data-flow analysis. Metadata checks use deterministic multilingual signatures, not semantic analysis. Unusual code paths and indirect instructions can be missed.
Read the analysis scope and known limitsFor ongoing review
Save a capability lock after reviewing a server, then verify it in CI. mcprism compares tools, resources, templates, and prompts so new or changed capabilities do not slip through unnoticed.
The lock stores names, opaque resource IDs, and fingerprints—not raw descriptions, schemas, or resource URIs.
Inventory commands connect to the target to list capabilities, but never call tools. Run them on a dedicated CI runner without secrets.
mcprism inventory save mcp.json \
--output mcp.lock.json
mcprism inventory verify mcp.json \
--baseline mcp.lock.json
No MCP setup required
The built-in demo uses fixed examples. It runs offline, needs no MCP client or Node.js, never reads your client configs, and never starts a server. Add --source to analyze bundled vulnerable Go, JavaScript, and Python handlers without running them.
Install the binary, then run mcprism demo
Use the official platform installer shown here. The demo itself is offline.
curl -fsSL https://raw.githubusercontent.com/HUA503/mcprism/main/install.sh | sh
mcprism demo
Windows PowerShell
irm https://raw.githubusercontent.com/HUA503/mcprism/main/install.ps1 | iex
mcprism demo
Optional · scan bundled source examples
mcprism demo --source
Prefer to inspect the installer first? Review the shell script or PowerShell script. Both verify the downloaded archive against that release's SHA-256 checksums before installing. You can also download a platform archive and checksums manually.
For teams
Fail a workflow when an MCP config crosses your chosen severity threshold. SARIF output can be uploaded to GitHub code scanning.
See the full CI guide- uses: HUA503/mcprism@v0.43.74
with:
target: mcp.json
fail-on: high
mcprism is free, open source, and built for local-first checks.