mock_dispatcher
Manage the local dispatcher that handles Map Remote routes: start, stop, or check its status. Starting enables Map Remote; stopping disables it, so requests never hit a stopped dispatcher.
Instructions
Start, stop or check the local dispatcher that Map Remote routes point to.
A dispatcher started here lives inside the MCP server and stops with it; for a
long-running one use the charles-mcp-dispatcher command. By default start also
enables Charles Map Remote and stop disables it (toggle_map_remote), so routed
requests never point at a stopped dispatcher; mock files and rules stay.
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": "mock_dispatcher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| action | No | status | |
| toggle_map_remote | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routes | No | ||
| address | Yes | ||
| message | Yes | ||
| running | Yes | ||
| mock_dir | Yes |