arcanum-mcp
Local, deterministic security scanners for AI coding agents over MCP
arcanum-mcp is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Linux
- Runs
- Locally
- Version
- 0.3.5
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add arcanum-mcp -- uvx arcanum-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"arcanum-mcp": {
"command": "uvx",
"args": [
"arcanum-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"arcanum-mcp": {
"command": "uvx",
"args": [
"arcanum-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"arcanum-mcp": {
"command": "uvx",
"args": [
"arcanum-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"arcanum-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"arcanum-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add arcanum-mcp -- uvx arcanum-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.arcanum-mcp]
command = "uvx"
args = ["arcanum-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"arcanum-mcp": {
"command": "uvx",
"args": [
"arcanum-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "arcanum-mcp": { "command": "uvx", "args": [ "arcanum-mcp" ] } } }Or run: gemini mcp add -s user arcanum-mcp uvx -- arcanum-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "arcanum-mcp": { "command": "uvx", "args": [ "arcanum-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "arcanum-mcp": { "command": "uvx", "args": [ "arcanum-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "arcanum-mcp": { "command": "uvx", "args": [ "arcanum-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "arcanum-mcp": { "command": "uvx", "args": [ "arcanum-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "arcanum-mcp": { "command": "uvx", "args": [ "arcanum-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "arcanum-mcp": { "command": "uvx", "args": [ "arcanum-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "arcanum-mcp": { "command": "uvx", "args": [ "arcanum-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
ARCA_LAYA_PATHOptional path to the Laya ranker used by rank_hypotheses.
About arcanum-mcp
Arcanum MCP gives an AI coding assistant five security checks that run entirely on the local machine. Text, code, Office files and dependency pins can be checked for prompt-injection patterns and known vulnerabilities without any model call or network request.
Each tool wraps a scanner from the arcanum-spark engine and returns a short summary: the top five findings plus counts. Audit tools can also write full SARIF, Markdown, JSON or HTML reports to a local folder. Coverage numbers for Office files and dependencies are reported so users can see what was actually scanned.
It suits developers who let agents read untrusted repositories, documents or tool output and want a repeatable check that does not depend on another LLM. The optional hypothesis ranker needs a separately downloaded checkpoint, and the full multi-agent pipeline is not part of this server.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 5 names don't say.
From the server's own tool labels and tool names; not verified by us.
- pitax_scan
- Scans text for prompt-injection patterns.
- code_audit
- Audits code snippets or local paths for AI-specific injection patterns.
- docs_scan
- Scans Word, Excel and PowerPoint files or directories.
- dep_scan
- Checks pinned dependencies against offline vulnerability data.
- rank_hypotheses
- Orders candidate hypotheses by P(KEEP) using the Laya model.
What it does
- Prompt injection scanning
- Checks pasted prompts, agent instructions and tool output for attempts to hijack an agent.
- Code and config audit
- Looks for AI-specific injection patterns in code, comments, configuration and agent rule files.
- Office document scanning
- Inspects Word, Excel and PowerPoint files for poisoned text layers at the container level.
- Offline dependency checks
- Compares pinned dependency versions against a local OSV index and built-in vulnerability data.
- Local report generation
- Writes SARIF, Markdown, JSON or HTML reports to a folder on the local machine.
- Order-only hypothesis ranking
- Ranks candidate findings for verification using a Laya model without deleting any of them.
Good for
- Screen untrusted repositories before an agent reads their files
- Check documents passed to an agent for hidden injected instructions
- Find pinned dependencies with known vulnerabilities in a project
- Prioritise which candidate security findings to verify first
- Produce SARIF or HTML scan reports for review
Pricing
Open source
arcanum-mcp FAQ
Does the server send code or prompts anywhere?
In the default stdio mode the content stays in the local process tree. The server has no telemetry and makes no network calls.
Do I need an API key or model endpoint?
No environment variables are required and no model calls are made. The ranker needs an optional downloaded checkpoint.
How is arcanum-mcp installed?
It runs with uvx arcanum-mcp or pip install arcanum-mcp, and a sample MCP client configuration is provided.
What are the limits?
Snippets are capped at 20,000 characters, scans read up to 200 files of 512 KB each, and vendor directories are skipped.
Is arcanum-mcp free?
Yes. arcanum-mcp is open source, so you can use and self-host it for free.
How do I add arcanum-mcp to Claude Code?
Run this command in your terminal: claude mcp add arcanum-mcp -- uvx arcanum-mcp
What are the best alternatives to arcanum-mcp?
The closest alternatives to arcanum-mcp are MCP Security Guard, MCP configuration audit, MCP Customs, mcp-audit and Aguara MCP.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.