MCP Workbench MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Workbench MCP Server generate a test spec for my local sqlite mcp server"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.

Claude Code 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/cliis the human-facing runner.@mcp-workbench/mcp-serveris the agent-facing MCP adapter. Both use the same core engine.
Related MCP server: Des MCP Server Testing MCP Server
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-cliOr set the MCP_WORKBENCH_CLI environment variable to point to the binary.
Installation
npm install -g @mcp-workbench/mcp-serverOr 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 buildConnecting to a Host
Claude Code
claude mcp add mcp-workbench -- npx -y @mcp-workbench/mcp-serverOpenAI Codex CLI
codex mcp add mcp-workbench -- npx -y @mcp-workbench/mcp-serverOr add to ~/.codex/config.toml:
[mcp_servers.mcp-workbench]
command = "npx"
args = ["-y", "@mcp-workbench/mcp-server"]
enabled = trueClaude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-workbench": {
"command": "npx",
"args": ["-y", "@mcp-workbench/mcp-server"]
}
}
}Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-workbench": {
"command": "npx",
"args": ["-y", "@mcp-workbench/mcp-server"]
}
}
}Available Tools
inspect_server
Connect to an MCP server and inspect its capabilities, version, and supported features.
Inputs:
Field | Type | Required | Description |
|
| Yes | Transport type |
|
| No | Server URL (required for streamable-http) |
|
| No | Command to launch server (required for stdio) |
|
| No | Arguments for the server command |
|
| No | HTTP headers (e.g. Authorization) |
|
| 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 |
|
| Yes | Transport type |
|
| No | Server URL |
|
| No | Server command |
|
| No | Server arguments |
|
| No | HTTP headers |
|
| No | Only include these types |
|
| No | Exclude these types |
|
| No | Discovery depth (shallow = list only, deep = call each) |
|
| 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 |
|
| No* | Inline YAML spec content |
|
| No* | Path to a YAML spec file |
|
| 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 |
|
| Yes | The structured result from |
Output: Human-readable summary + structured JSON:
{
"summary": "All tests passed",
"causes": [],
"recommendations": []
}Internationalization
Tool text summaries support multiple languages. Structured JSON outputs are always language-neutral.
Locale | Language |
| English (default) |
| Korean |
Set language via environment variable:
MCP_WORKBENCH_LANG=ko node dist/index.jsOnly user-facing text summaries are translated. Tool names, schema fields, and JSON output keys are always in English.
Example Use Cases
"Inspect this server and tell me what capabilities it has"
"Generate a YAML test spec for this server"
"Run this spec and explain any failures"
Security Considerations
Authentication headers are passed per-call and not persisted
No tokens or credentials are stored by this server
Tokens are not echoed back in tool outputs
The server spawns
mcp-workbenchCLI as a subprocess with the current environmentSpec files written to temp directories are cleaned up after use
MVP Limitations
specTextinrun_specuses a temporary file internallyHeaders in
run_specare not forwarded to the underlying server — headers must be embedded in the spec YAML itselfexplain_failureis heuristic-based, not AI-poweredgenerate_spectest count detection is regex-basedOnly stdio transport is supported for connecting to this MCP server itself
No streaming of test results (waits for full completion)
No caching of inspection or generation results between calls
Development
npm install
npm run build
npm testRoadmap
v0.1 (current):
inspect_server,generate_spec,run_spec,explain_failureClaude Code integration demo
v0.2:
Structured outputs via
outputSchema(when SDK support lands)Spec diff support
v0.3:
AI-assisted assertions
Merge/update existing spec
License
Apache-2.0
Available Tools
4 toolsexplain_failureA
Analyze test run results and explain failures with heuristic classification and actionable recommendations. Pass the structured result from run_spec.
Inputs: runResult (required).
generate_specB
Generate a YAML test spec by discovering the capabilities of an MCP server. Returns a ready-to-run spec.
Inputs: transport (required), url, command, args, +5 more.
inspect_serverB
Connect to an MCP server and inspect its capabilities, version, and supported features.
Inputs: transport (required), url, command, args, +2 more.
run_specA
Run a YAML test spec against an MCP server and return results. Provide either specText (inline YAML) or specPath (path to a file). At least one is required.
Inputs: specText, specPath, timeoutMs.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct purpose: inspect_server discovers server capabilities, generate_spec creates test specs, run_spec executes them, and explain_failure analyzes results. No overlap, clear boundaries.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., inspect_server, generate_spec). No mixing of conventions.
With 4 tools, the set is well-scoped for a test workbench: inspect, generate, run, explain. Each tool is essential and the count is neither too few nor too many.
The tool surface covers the core workflow (inspect, generate spec, run spec, explain failures) with no critical gaps. Minor missing features like spec validation or listing are acceptable.
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Search, vet & assemble MCP servers from your agent: verified tools, risk labels, and trust scores.
Related MCP Servers
- AlicenseAqualityBmaintenanceA specialized testing harness that enables AI assistants to thoroughly test other MCP servers by connecting to them, discovering their tools/resources/prompts, executing test calls, and performing end-to-end validation with LLM integration.144MIT
- FlicenseNot gradedqualityDmaintenanceA standardized MCP server designed for testing integration with the Des MCP Server Testing API. It allows AI agents to interact with testing endpoints using tools implemented via the Model Context Protocol.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to discover and execute tools via a secure MCP server with JWT authentication, RBAC, rate limiting, and audit logging.1MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that enables AI agents to programmatically run tests, query results, and receive intelligent recommendations about test execution strategy.-