VS Code¶
Use the VS Code extension to start local-shell-mcp with the current workspace,
copy its MCP URL, and generate a setup prompt for your client.
Install¶
Install the server first:
Then install the VS Code extension package from the GitHub release assets. Configure local-shell-mcp.executablePath if the executable is not on PATH.
Basic flow¶
- Open a project folder in VS Code.
- Run local-shell-mcp: Start Server from the command palette.
- Run local-shell-mcp: Copy MCP URL and paste it into your MCP client.
- Run local-shell-mcp: Copy ChatGPT Setup Prompt when starting a coding session.
Recommended settings¶
For direct host usage, keep local-shell-mcp.allowFullControl disabled so tools stay scoped to the selected workspace root.
Use local-shell-mcp.authMode = oauth when connecting ChatGPT through a public HTTPS tunnel. Use none only for trusted localhost testing.
If ChatGPT cannot reach your local machine directly, expose 127.0.0.1:8765 through an HTTPS tunnel and set local-shell-mcp.baseUrl to that origin. The MCP endpoint is then:
Commands¶
local-shell-mcp: Start Serverlocal-shell-mcp: Stop Serverlocal-shell-mcp: Restart Serverlocal-shell-mcp: Show Server Statuslocal-shell-mcp: Copy MCP URLlocal-shell-mcp: Copy ChatGPT Setup Promptlocal-shell-mcp: Open Guide