Skip to content
VS Code

ohm mcp for VS Code

io.github.murugarajr/ohm-mcp

AST-based Python refactoring MCP server with safe automated refactorings and rollback

client:VS Code transport:stdio runtime:npm

Install ohm mcp in VS Code

.vscode/mcp.json

{
  "servers": {
    "ohm-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ohm-mcp"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

ohm mcp in other clients