start_mock_server
Launch a local HTTP mock server with custom routes, methods, status codes, and response bodies to test APIs without a real backend.
Instructions
Start a local HTTP mock server on a given port. Define routes with method, path, status, and response body. Useful for testing without a real backend.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"routes": "<routes>"
},
"name": "start_mock_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| routes | Yes | ||
| verbose | No |