Reported issues for io.github.SepineTam/stata-mcp
Pod holds 8 of 8 problems reported by people outside the maintainer team. Issues filed by the project's own owners, members and collaborators are excluded entirely — a maintainer's release checklist is not a warning to a prospective user.
Back to io.github.SepineTam/stata-mcp.
Most discussed
[Bug] 启动 server 时报 ModuleNotFoundError: No module named 'mcp.server.fastmcp'
自查步骤
- 我已确认使用的是最新版本的 stata-mcp(如不是,请先更新)
- 我已运行
uvx stata-mcp doctor检查环境,如有异常会在下面附上输出 - 我已先尝试让 AI(Claude / ChatGPT 等)帮助分析和解决问题
- 如果这是安全问题,我会按照 SECURITY.md 中的说明通过邮件私下报告,而不是公开提交 issue
使用客户端 / IDE
- Claude Code
- Codex CLI
- Cursor
- GitHub Copilot
- Claude Desktop
- OpenClaw
- Hermes Agent
- 其他 (请说明): OpenCode
模型提供商
- OpenAI (ChatGPT)
- Anthropic (Claud
Read the thread · 2026-07-30 · closed · external user · 2 comments
[Bug] stata-mcp tool call hangs on the first Claude Code session, but works after interrupting and starting a new conversation
Self-check
- I have confirmed that I am using the latest version of stata-mcp. If not, please update first.
- I have run
uvx stata-mcp doctorto check the environment. If there are any abnormalities, I have attached the output below. - I have first tried asking an AI assistant (Claude / ChatGPT, etc.) to help analyze and resolve the issue.
Client / IDE
running do file in an opening Stata GUI
transform log to html with embedded tables and figures
解决的问题
saving time for repeating running files. AI Agent might need the feedback of the log step by step. The complicated task can be divided into several do files and running in an openning Stata GUI
Results can be gathered in a nice html file including tables and figures
建议的解决方案
- running do file in an opening Stata GUI <= autohotkey for windows; ap
Read the thread · 2026-05-20 · closed · external user · 2 comments
[Bug]
AI 模型
- ChatGPT
- Claude
- GPT-4
- 其他模型 (请说明): claude code
Bug 描述
stata-mcp调用get_data_info不成功是啥原因,它说是因为有字符串变量?难道这个函数天然有缺陷吗?
复现步骤
- Claude code 使用stata-mcp-get_data_info
预期行为
成功读取到dta文件数据
实际行为
无法读取
环境信息
- 操作系统: win111
- Stata 版本: stata 18 mp
- 软件包版本: v1.15.0
补充信息
Read the thread · 2026-04-14 · closed · external user · 2 comments
[ISSUE] StataNow BE on macOS: "Failed to spawn process: No such file or directory"
AI Model
- Claude
Issue Description
stata-mcp fails to connect when using StataNow BE on macOS. The MCP server starts successfully but crashes with "Failed to spawn process: No such file or directory" when attempting to execute Stata commands. In Claude Desktop, the server shows "failed" status with "Server disconnected."
Context
- Stata is accessible from the command line (
which statareturns/usr/local/bin/stata) - Running
uvx stata-mcp --usableshows most checks pass, but
Read the thread · 2026-01-31 · closed · external user · 5 comments
[ISSUE] Cursor error: No server info found
问题描述
如果cursor的mcp.json为
{
"mcpServers": {
"stata-mcp": {
"command": "uvx",
"args": ["stata-mcp"],
"env": {
"stata_cli": "/Applications/StataNow/StataMP.app/Contents/MacOS/stata-mp"
}
}
}
}
启动mcp时报错
[info] Handling ListOfferings action, server stored: false
[error] No server info found
背景信息
- 运行
uvx stata-mcp --usable唯一失败项是Stata CLI (Path: Not found): ❌ FAILED - 但已在env中配置stata路径,且确信路径正确、有许可证、能用
- 没有其他开启的插件或mcp
已尝试的解
Read the thread · 2025-12-24 · closed · external user · 4 comments
[BUG] Security: Command Injection via Untrusted Stata do-file Execution (stata_do tool)
AI Model
- Claude
Bug Description
A command injection vulnerability exists in the stata_do tool. The server executes user-provided or LLM-generated Stata do-files directly using: subprocess.Popen(..., shell=True) Stata supports shell-escape directives such as: !whoami !ls shell curl ... These lines are interpreted as real OS commands on macOS & Linux Stata. Since the server does not sanitize or validate do-file contents, an attacker can embed arbitrary OS command escapes i
Read the thread · 2025-11-19 · closed · outside contributor · 0 comments
[Bug] Warning of Usable
AI 模型
Bug 描述
执行"uv run usable.py"时提示: Configuration file (config.py): ❌ FAILED Please copy example.config.py to config.py to complete setup
复现步骤
预期行为
查阅.\stata-mcp下的所有文件,没有找到example.config.py或config.py
实际行为
环境信息
- 操作系统: [例如 Windows11]
- Stata 版本: [例如 Stata 17 MP]
- 软件包版本: [例如 1.3.2]
补充信息
Read the thread · 2025-05-14 · closed · external user · 0 comments
Most recent
The remaining reports are on the project's issue tracker.