MCP Workbench MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
npm install -g @mcp-workbench/mcp-server
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add mcp-workbench -- node "<FULL_PATH_TO_MCP_WORKBENCH_MCP_SERVER>/dist/index.js"

Replace <FULL_PATH_TO_MCP_WORKBENCH_MCP_SERVER>/dist/index.js with the actual folder you prepared in step 1.

README.md

Agent-facing MCP adapter for inspecting, testing, and validating MCP servers.

English | 한국어

@mcp-workbench/mcp-server

Agent-facing MCP adapter for MCP Workbench — lets AI agents inspect, test, and validate MCP servers through structured tool calls.

demo

Claude Code demo

claude-demo


Overview

@mcp-workbench/mcp-server wraps the MCP Workbench CLI as an MCP server, exposing its inspect, generate, run, and explain capabilities as structured tools that AI agents can call directly. It spawns the CLI as a subprocess and parses the output into typed responses.

Entry points: @mcp-workbench/cli is the human-facing runner. @mcp-workbench/mcp-server is the agent-facing MCP adapter. Both use the same core engine.


Prerequisites

  • Node.js >= 20
  • MCP Workbench CLI must be installed and available on your PATH:
# Primary — scoped package
npm install -g @mcp-workbench/cli

# Alternative — convenience wrapper
npm install -g mcp-workbench-cli

Or set the MCP_WORKBENCH_CLI environment variable to point to the binary.


Installation

npm install -g @mcp-workbench/mcp-server

Or clone and build from source:

git clone https://github.com/raeseoklee/mcp-workbench-mcp-server.git
cd mcp-workbench-mcp-server
npm install
npm run build

Connecting to a Host

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-workbench": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-workbench-mcp-server/dist/index.js"]
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp-workbench": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-workbench-mcp-server/dist/index.js"]
    }
  }
}

Claude Code

claude mcp add mcp-workbench -- node /absolute/path/to/mcp-workbench-mcp-server/dist/index.js

Available Tools

`inspect_server`

Connect to an MCP server and inspect its capabilities, version, and supported features.

Inputs:

Field Type Required Description
transport "stdio" | "streamable-http" Yes Transport type
url string No Server URL (required for streamable-http)
command string No Command to launch server (required for stdio)
args string | string[] No Arguments for the server command
headers Record<string, string> No HTTP headers (e.g. Authorization)
timeoutMs number No Timeout in ms (default: 30000)

Output: Human-readable summary + structured JSON:

{
  "serverName": "my-server",
  "serverVersion": "1.0.0",
  "protocolVersion": "2025-11-25",
  "capabilities": {
    "tools": true,
    "resources": true,
    "prompts": false,
    "completions": false,
    "logging": false
  }
}

`generate_spec`

Auto-generate a YAML test spec by discovering server capabilities. Partial discovery is supported automatically by the underlying CLI.

Inputs:

Field Type Required Description
transport "stdio" | "streamable-http" Yes Transport type
url string No Server URL
command string No Server command
args string | string[] No Server arguments
headers Record<string, string> No HTTP headers
include Array<"tools" | "resources" | "prompts"> No Only include these types
exclude Array<"tools" | "resources" | "prompts"> No Exclude these types
depth "shallow" | "deep" No Discovery depth (shallow = list only, deep = call each)
timeoutMs number No Timeout in ms

Output: Human-readable summary + structured JSON:

{
  "yaml": "apiVersion: mcp-workbench.dev/v0alpha1\n...",
  "testCount": 9,
  "warnings": ["city: TODO_CITY_NAME  # TODO: replace with actual value"]
}

`run_spec`

Run a YAML test spec against an MCP server. Provide either specText (inline YAML) or specPath (path to a file). At least one is required.

Inputs:

Field Type Required Description
specText string No* Inline YAML spec content
specPath string No* Path to a YAML spec file
timeoutMs number No Timeout in ms

*At least one of specText or specPath must be provided.

Output: Human-readable summary + structured JSON:

{
  "total": 3,
  "passed": 3,
  "failed": 0,
  "skipped": 0,
  "errors": 0,
  "durationMs": 4,
  "failures": []
}

`explain_failure`

Analyze test run results and explain failures with heuristic classification and actionable recommendations.

Inputs:

Field Type Required Description
runResult RunReport Yes

Tools (4)

inspect_serverConnect to an MCP server and inspect its capabilities, version, and supported features.
generate_specAuto-generate a YAML test spec by discovering server capabilities.
run_specRun a YAML test spec against an MCP server.
explain_failureAnalyze test run results and explain failures with heuristic classification and actionable recommendations.

Environment Variables

MCP_WORKBENCH_CLIPath to the MCP Workbench CLI binary

Configuration

claude_desktop_config.json
{"mcpServers": {"mcp-workbench": {"command": "node", "args": ["/absolute/path/to/mcp-workbench-mcp-server/dist/index.js"]}}}

Try it

Inspect the capabilities of the MCP server running at this command: 'node /path/to/server.js'.
Generate a test specification for my MCP server to verify its tools and resources.
Run the test spec located at ./tests/server-test.yaml and report any failures.
Analyze the failure report from my last test run and explain why it failed.

Frequently Asked Questions

What are the key features of MCP Workbench?

Inspect MCP server capabilities, versions, and supported features. Auto-generate YAML test specifications for MCP servers. Execute YAML test specs against running MCP servers. Provide heuristic-based failure analysis and actionable recommendations.

What can I use MCP Workbench for?

Automated validation of MCP server reliability during development. Ensuring compatibility of custom MCP servers with AI agent expectations. Debugging MCP server integration issues by analyzing test failures. Generating documentation or test suites for existing MCP server implementations.

How do I install MCP Workbench?

Install MCP Workbench by running: npm install -g @mcp-workbench/mcp-server

What MCP clients work with MCP Workbench?

MCP Workbench works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep MCP Workbench docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare