Skip to content

webifiedservices/WBSidecar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

WBSidecar

A lightweight, generic MCP stdio-to-HTTP bridge. Spawned by an MCP client (e.g. Claude Code, Cursor) as a stdio process; forwards JSON-RPC messages to any MCP-over-HTTP server and streams responses back.

Originally built for Webified Bridge but works with any server that speaks MCP over HTTP.


Download

Pre-built Windows binary: GitHub Releases

No .NET runtime required — self-contained single-file executable.


Usage

WBSidecar.exe [--url <endpoint>] [--port <n>] [--token <bearer-token>]
Argument Default Description
--url (see below) Full endpoint URL — overrides --port
--port 34763 Port for Webified Bridge's default endpoint
--token (none) Bearer token sent in Authorization header

When --url is omitted the endpoint defaults to http://127.0.0.1:{port}/wb/mcp.

Webified Bridge (Claude Code config)

{
  "mcpServers": {
    "webified-bridge": {
      "command": "C:\\path\\to\\WBSidecar.exe",
      "args": ["--port", "34763"]
    }
  }
}

Generic MCP-over-HTTP server

{
  "mcpServers": {
    "my-server": {
      "command": "C:\\path\\to\\WBSidecar.exe",
      "args": ["--url", "http://127.0.0.1:8080/mcp"]
    }
  }
}

Build

Requires .NET 8 SDK.

dotnet publish WBSidecar/WBSidecar.csproj -c Release

Output: WBSidecar/bin/Release/net8.0/win-x64/publish/WBSidecar.exe


How it works

MCP clients communicate over stdio using the LSP framing format (Content-Length: N\r\n\r\n{json}). WBSidecar reads each message, HTTP POSTs it to the configured endpoint, and writes the response back to stdout in the same framing format.

If the HTTP server is unreachable, WBSidecar returns a structured JSON-RPC error so the client gets a clear failure rather than a silent hang.


License

MIT — see LICENSE.

About

Generic MCP stdio-to-HTTP bridge. Connects MCP clients (Claude Code, Cursor) to any MCP-over-HTTP server.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages