MCP server · Org-owned · Audited from source
MCP Scan
by invariantlabs-ai/mcp-scanApache-2.0 licenceAudited 24 Sep 2026 · source d97a3951b409
Is it safe? No — BLOCK, grade D (61/100). It exposes 19 tools: 14 read, 4 write and 1 destructive. The audit recorded 43 findings (0 critical, 5 high, 6 medium, 32 low). Maintainer's description: Security scanner for AI agents, MCP servers and agent skills.
Cite
Cite this page
ModelsAtlas. “MCP Scan (invariantlabs-ai/mcp-scan)”. Retrieved 24 Sep 2026. https://modelsatlas.com/mcp/invariantlabs-ai/mcp-scan
Why this is BLOCK. The audit found 0 critical and 5 high findings; the most severe is Filesystem / path at src/agent_scan/well_known_clients.py:123. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 24 Sep 2026
43 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared11 observations
- NetworkDeclared8 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
Findings (43)
Sorted by severity · the 25 most severe of 43 are listed
HIGHFilesystem / pathfs.credential_store · src/agent_scan/well_known_clients.py:123
client_exists_paths=["~/.aws/amazonq"],
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · src/agent_scan/well_known_clients.py:125
"~/.aws/amazonq/agents/default.json",
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · src/agent_scan/well_known_clients.py:126
"~/.aws/amazonq/agents/mcp.json",
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · src/agent_scan/well_known_clients.py:127
"~/.aws/amazonq/mcp.json",
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · src/agent_scan/well_known_clients.py:220
client_exists_paths=["~/.aws/amazonq"],
- Why
- touches a credential store
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/unit/test_verify_api.py:1520
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/unit/test_verify_api.py:1569
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.github · tests/unit/test_verify_api.py:1520
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.github · tests/unit/test_verify_api.py:1569
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.slack · tests/unit/test_redact_prefilter_equivalence.py:23
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
delete_file
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure cryptocrypto.weak_hash · src/agent_scan/traffic_capture.py:65
digest = hashlib.sha1(key, usedforsecurity=False).digest()
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/unit/test_agent_discovery.py:1294
["relative/plugin", "../../etc", "~", "~/", "~/../../etc", "~root/.ssh", "/Users", "/home"],
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/unit/test_agent_discovery.py:4790
'[{"relativeLocation": "pub.good-1.0.0"}, {"relativeLocation": "../../outside"}]'- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/unit/test_agent_discovery.py:11039
"../../../etc",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.metadata_ip · tests/unit/test_mcp_destination_guard.py:31
["169.254.169.254", "169.254.0.1", "fe80::1", "febf::1", "fd00:ec2::254", "100.100.100.200"],
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · tests/unit/test_mcp_destination_guard.py:48
@pytest.mark.parametrize("host", ["169.254.169.254", "2852039166", "025177524776", "[::ffff:169.254.169.254]"])- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · tests/unit/test_mcp_destination_guard.py:77
@pytest.mark.parametrize("addresses", [("127.0.0.1", "169.254.169.254"), ("fe80::1", "::1")])- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · tests/unit/test_mcp_destination_guard.py:95
AsyncMock(side_effect=[resolved("127.0.0.1"), resolved("169.254.169.254")]),- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · tests/unit/test_mcp_destination_guard.py:115
("metadata-server", RemoteServer(url="http://169.254.169.254/mcp")),- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/e2e/test_guard_install.py:44
yield f"http://127.0.0.1:{port}"- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/e2e/test_inspect.py:71
yield f"http://127.0.0.1:{server.server_port}/mcp"- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/e2e/test_inspect.py:83
yield f"http://127.0.0.1:{server.server_port}/mcp"- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
19 declared in source · 1 destructive
1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | What it does | Risk |
|---|---|---|
delete_file | No description in the source | destructive |
add | return a + b | write |
create_pull_request | d | write |
send_email | No description in the source | write |
sum | Add two numbers together. | write |
browser_close | Close the page | read |
divide | Divide two numbers. | read |
gcd | Calculate the greatest common divisor (GCD) of two integers. | read |
get_api_key | No description in the source | read |
get_comments | No description in the source | read |
get_connections | return [ | read |
get_current_time | No description in the source | read |
get_train_info | Get information about a train. | read |
is_prime | Return True if n is a prime number, False otherwise. | read |
lcm | Calculate the least common multiple (LCM) of two integers. | read |
multiply | No description in the source | read |
store_value | Store here all important values! | read |
subtract | Subtract two numbers. | read |
weather | Get current weather for a location. | read |
Safer alternatives
All security servers →wh0am123/mcp-kali-server
MCP configuration to connect AI agent to a Linux machine.
ccq1/awsome_kali_mcpservers
awsome kali MCPServers is a set of MCP servers tailored for Kali Linux
qianniuspace/mcp-security-audit
A powerful MCP (Model Context Protocol) Server that audits npm package dependencies for security vulnerabilities. Built with remote npm registry integration for real-time security checks.
Audit history
- ✕BLOCK D 61 / 100
First audit ·
d97a3951b409
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about MCP Scan
What is the MCP Scan MCP server?
What tools does MCP Scan expose?
Is MCP Scan safe to connect to an agent?
What credentials does MCP Scan need?
How does MCP Scan run?
How current is this page?
I already installed MCP Scan. What should I do?
Can the verdict change?
Sources
- invariantlabs-ai/mcp-scan on GitHub — the source we read, its licence, stars and activityObserved · 24 Sep 2026
- ModelsAtlas trust audit — BLOCK verdict for commit d97a3951b409Observed · 24 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the MCP Scan MCP server?
- What tools does MCP Scan expose?
- Is MCP Scan safe to connect to an agent?