Stata MCP Server for Zed
io.github.aliveranme/stata-mcp
通过 pystata 驱动真实 Stata 的 MCP 服务器:数据加载/清洗/建模/诊断/图形导出,75 个工具覆盖完整计量工作流。
client:Zed
transport:stdio
runtime:npm
Install Stata MCP Server in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"stata-mcp": {
"command": "npx",
"args": [
"-y",
"@aliveranme/stata-mcp"
],
"env": {
"STATA_HOME": "<STATA_HOME>",
"STATA_EDITION": "<STATA_EDITION>",
"STATA_ALLOWED_ROOTS": "<STATA_ALLOWED_ROOTS>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs