@open-probe/cli
v0.1.2
Published
open-probe single-command launcher (proxy + MCP HTTP).
Maintainers
Readme
@open-probe/cli
Single-command launcher for the open-probe
stack. Spawns @open-probe/proxy and
@open-probe/mcp-server in one process and wires them
together so you only ever need one terminal.
Install
pnpm dlx @open-probe/cli dev --target http://localhost:5173…or as a project dev dependency:
pnpm add -D @open-probe/cliUsage
npx open-probe dev --target http://localhost:5173 --port 4000 --mcp-port 3100| Flag | Default | Description |
|------|---------|-------------|
| --target <url> | (required) | Upstream dev server to proxy. |
| --port <n> | 4000 | Proxy port. |
| --mcp-port <n> | 3100 | MCP HTTP port. |
| --host <h> | 127.0.0.1 | Proxy bind address. |
| --mcp-host <h> | 127.0.0.1 | MCP server bind address. |
| --transport <t> | mcp | Auto-injected client transport (mcp / clipboard / server). |
| --ws | off | Attach a WebSocket sink to the proxy. |
| --ws-path <p> | /__open-probe/ws | WebSocket path. |
| --ws-output <f> | stdout | Annotation sink output. |
Programmatic API
import { runDev } from '@open-probe/cli';
const handle = await runDev({
target: 'http://localhost:5173',
port: 4000,
mcpPort: 3100,
});
// later
await handle.close();License
MIT
