Skip to content
Windsurf

Stata MCP Server for Windsurf

io.github.aliveranme/stata-mcp

通过 pystata 驱动真实 Stata 的 MCP 服务器:数据加载/清洗/建模/诊断/图形导出,75 个工具覆盖完整计量工作流。

client:Windsurf transport:stdio runtime:npm

Install Stata MCP Server in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "stata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@aliveranme/stata-mcp"
      ],
      "env": {
        "STATA_HOME": "<STATA_HOME>",
        "STATA_EDITION": "<STATA_EDITION>",
        "STATA_ALLOWED_ROOTS": "<STATA_ALLOWED_ROOTS>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Stata MCP Server in other clients