Stata MCP

A Stata integration for VS Code and Cursor IDE using the Model Context Protocol (MCP):

  • run Stata commands directly from VS Code or Cursor
  • execute selections or entire .do files
  • view Stata output in the editor in real-time
  • get AI assistant integration through the MCP protocol
  • experience enhanced AI coding in Cursor IDE with Stata context