Skip to main content
Glama

webcmd-mcp

MCP server for Webcmd. Drop one entry into any agent's MCP config and it can drive websites locally — no start.md fetch, no skill files copied into the repo, no per-harness onboarding.

Install

Nothing to install ahead of time. webcmd_setup installs and doctors the CLI on first call.

Claude Code

claude mcp add webcmd -- npx -y @agentrhq/webcmd-mcp

Cursor / Windsurf / VS Code / anything using mcpServers

{
  "mcpServers": {
    "webcmd": { "command": "npx", "args": ["-y", "@agentrhq/webcmd-mcp"] }
  }
}

Codex CLI (~/.codex/config.toml)

[mcp_servers.webcmd]
command = "npx"
args = ["-y", "@agentrhq/webcmd-mcp"]

OpenCode (opencode.json)

{
  "mcp": {
    "webcmd": { "type": "local", "command": ["npx", "-y", "@agentrhq/webcmd-mcp"], "enabled": true }
  }
}

Related MCP server: Cloudflare Playwright MCP

Tools

Tool

Use

webcmd_setup

Once per machine: install/update webcmd, run doctor, return the usage skill.

webcmd_skill

Read a bundled skill (webcmd-usage, webcmd-browser, webcmd-adapter-author, webcmd-autofix, …). No name → list them.

webcmd_run

Run any webcmd argv, e.g. ["list"], ["web","fetch-browser","https://news.ycombinator.com"].

Skills are read from ~/.webcmd/skills (override with WEBCMD_SKILLS_DIR).

Test

npm install && npm test

Covers the exec helper (exit codes, stderr, missing binary, timeout), output clipping, and a real stdio round-trip against the live webcmd CLI.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers