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)
Public scan report
scanner v0.1.9 · 2026-09-19 · 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 1 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.0/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.0/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
- Agent Spreadsheet MCPAgent-safe Excel workbook analysis, editing, recalc, and verification tools.not reviewedGrowingA