I have developed a free VS Code (and Cursor) extension that supports both Windows and MacOS systems. SeeĀ https://github.com/hanlulong/stata-mcp. This extension provides Stata integration for Visual Studio Code and Cursor IDE using the Model Context Protocol (MCP). It allows you to:
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
Feedback is welcome.