Is Stata MCP server safe?
Probably. Read the findings first.
Use with care. Some checks failed or could not be verified.
What to know before installing
- highShell command built from a string (injection risk)
How Stata compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 66/100
- higher than 28% of 4,460 AI and agents servers
Release history: 4 versions in the registry since 2026-08-29, latest 2026-10-15, typically one every 18 days.
Public scan report
scanner v0.1.10 · 2026-10-15 · same rubric, same numbers if you re-run it
1 high1 medium
- Code scan94 source files scanned8/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (2)
- mediumsubprocess with shell=True
exec.shell-truestata_mcp-1.25.2/src/stata_mcp/stata/stata_do/do.py: …n( cmd, shell=True, # Windows Stata requires shell execut…
- highShell command built from a string (injection risk)
exec.shell-concatstata_mcp-1.25.2/src/stata_mcp/utils/doctor.py: … try: win_result = subprocess.run( f'"{stata_cli_path}" /e do "{temp_do_file}…
Overall 66/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON
Other servers that do what Stata does
- MCP Server for WinDbg Crash AnalysisA Model Context Protocol server for Windows crash dump analysis using WinDbg/CDBnot reviewedEstablishedA
- DepwireDependency graph + 24 MCP tools. Impact analysis, simulation, security, agent coordinationnot reviewedEstablishedB