MCP Workbench MCP Server
Enables AI agents to programmatically inspect, test, and validate other MCP servers by exposing MCP Workbench capabilities as structured tools. It supports automated test spec generation, execution, and detailed failure analysis to ensure server reliability.
README
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.
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 | The structured result from run_spec |
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 |
|---|---|
en |
English (default) |
ko |
Korean |
Set language via environment variable:
MCP_WORKBENCH_LANG=ko node dist/index.js
Only 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 environment - Spec files written to temp directories are cleaned up after use
MVP Limitations
specTextinrun_specuses a temporary file internally- Headers in
run_specare not forwarded to the underlying server — headers must be embedded in the spec YAML itself explain_failureis heuristic-based, not AI-poweredgenerate_spectest count detection is regex-based- Only 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 test
Roadmap
v0.1 (current):
inspect_server,generate_spec,run_spec,explain_failure- Claude 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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。