test_mcp_server
Run a real JSON-RPC initialize and tools/list handshake against a stdio, HTTP, or SSE MCP server to return latency, discovered tool count, and command or stderr errors.
Instructions
Spawn a target stdio MCP server command (or probe an HTTP/SSE MCP endpoint) and perform a real JSON-RPC initialize + tools/list handshake, returning latency, discovered tool count, and any command/stderr errors.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "test_mcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Optional environment variables to pass when spawning the server. | |
| url | No | Endpoint URL for http/sse servers. | |
| args | No | Command arguments for stdio servers. | |
| name | No | Human-readable name for the server being tested. | |
| command | No | Executable command for stdio servers (e.g. 'npx' or 'node'). | |
| timeoutMs | No | Handshake timeout in milliseconds (default: 8000). | |
| transport | No | Transport type (default: 'stdio'). |