VS Code Extensions
M

MCP Sharp STAF Selenium

by sooraj171

Self-contained Selenium MCP server for Windows that integrates with VS Code and MCP clients such as Cursor and Claude Desktop, using a bundled win-x64 executable and stdio transport.

Downloads

130

Rating

— (0)

Version

1.0.0

Last updated

Apr 10, 2026

Self-contained MCP server build for easy reuse. Copy this extension folder into your test project and reference the exe from your MCP configuration, or install the .vsix from the Visual Studio Marketplace (after publishing).

Visual Studio Code (Marketplace / .vsix)

This folder is a VS Code extension that registers an MCP server via vscode.lm.registerMcpServerDefinitionProvider (see MCP extension guide).

  • Windows only: the bundled server is a self-contained win-x64 executable (publish/mcp-sharp-staf-selenium.exe). On macOS/Linux the extension will not register a server.
  • Build the .vsix from the repo root: .\build-extension.ps1 (override publisher with -Publisher <id> if it differs from your Marketplace publisher id, which may not match your display name).
  • Upload: sign in at marketplace.visualstudio.com/manage and upload the generated mcp-sharp-staf-selenium-<version>.vsix.

Contents

  • publish/ – Published build (win-x64, self-contained). Run the publish command below to populate.
    • mcp-sharp-staf-selenium.exe – MCP server (stdio transport)

Usage

1. Copy extension into your project

Copy the entire extension folder into your test project root:

YourTestProject/
├── extension/
│   └── publish/
│       └── mcp-sharp-staf-selenium.exe
├── YourTests.csproj
└── ...

2. Add MCP configuration

Point your MCP client to the exe. The server uses stdio transport (stdin/stdout).

Cursor – Add to .cursor/mcp.json or Cursor Settings → MCP:

{
  "mcpServers": {
    "selenium-staf": {
      "command": "extension/publish/mcp-sharp-staf-selenium.exe",
      "args": []
    }
  }
}

Claude Desktop – Add to claude_desktop_config.json:

{
  "mcpServers": {
    "selenium-staf": {
      "command": "extension/publish/mcp-sharp-staf-selenium.exe",
      "args": []
    }
  }
}

Use an absolute path if needed:

"command": "C:/path/to/YourTestProject/extension/publish/mcp-sharp-staf-selenium.exe"

Rebuilding

To regenerate the publish folder:

dotnet publish mcp-sharp-staf-selenium/mcp-sharp-staf-selenium.csproj -c Release -r win-x64 --self-contained true -o extension/publish