MCP server safety grade
MCP Anvil
Local MCP gateway daemon: route, audit, and inspect MCP servers from one config.
uvx mcp-anvil · pypi mcp-anvil 0.2.0 · score 90/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Yes: Reads environment variables
- Yes: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Builds and runs code at runtime
src/mcp_anvil/custom_tools/loader.py:164exec(code, module.__dict__)
Worth knowing
Not scored. Often harmless (security tools, denylists and chat bots mention these too), shown so you can judge.
- Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
src/mcp_anvil/cli.py:116app.command(name="reset", help="Wipe local state and return to factory defaults.")(reset_cmd.reset)
- Text-direction characters inside a string (usually right-to-left text)
src/mcp_anvil/audit/corpus.py:97payload="<U+202E>mcpanvil_rlo_test_MCPANVIL_RLO_ECHO",
- Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
src/mcp_anvil/commands/reset_cmd.py:1"""`mcp-anvil reset` — wipe local state, return to fresh-install posture.
- Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
src/mcp_anvil/commands/reset_cmd.py:34"""Wipe local state under ~/.mcp-anvil/ and return to factory defaults."""
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-05-12 |
| This version published | 2026-06-04 |
| Versions | 7 |
| Maintainers | — |
| Licence | Commercial — see LICENSE.md |
| Source repository | github.com/aiinfradecoded/mcp-anvil |
| Runs scripts on install | No |
| Files in package | 157 (1,199 KB) |
| Web addresses in code | aiinfradecoded.com api.ipify.org api.resend.com icanhazip.com |
Where we saw each capability (12 examples)
- Makes network requests
scripts/e2e_test.py:22import urllib.request
- Runs shell commands or other programs
scripts/e2e_test.py:66return subprocess.run(
- Makes network requests
scripts/e2e_test.py:79req = urllib.request.Request(f"http://{cfg['host']}:{cfg['port']}{path}") - Makes network requests
scripts/e2e_test.py:83with urllib.request.urlopen(req, timeout=10) as r:
- Runs shell commands or other programs
scripts/send_license_email.py:68result = subprocess.run(
- Reads environment variables (where API keys usually live)
scripts/send_license_email.py:153api_key = os.environ.get("RESEND_API_KEY") - Writes, moves or deletes files
scripts/send_license_email.py:192with LEDGER_PATH.open("a", encoding="utf-8") as f: - Reads environment variables (where API keys usually live)
src/mcp_anvil/licensing.py:326if os.environ.get(DEV_ENV_VAR) == "1":
- Runs shell commands or other programs
src/mcp_anvil/audit/http_sandbox.py:95…ttp_server(spec: StdioServerSpec, *, port: int) -> Iterator[subprocess.Popen]:
- Reads environment variables (where API keys usually live)
src/mcp_anvil/audit/http_sandbox.py:101full_env = os.environ.copy()
- Writes, moves or deletes files
src/mcp_anvil/commands/reset_cmd.py:70shutil.rmtree(t)
- Writes, moves or deletes files
src/mcp_anvil/daemon/process.py:139"stderr": open(stderr_path, "w", encoding="utf-8", errors="replace"),
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/com-aiinfradecoded-mcp-anvil)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).