stop_preview_server
Stop running ephemeral preview servers by specifying a port or stopping all previews started by this MCP process, freeing resources and ending preview sessions.
Instructions
Stop running ephemeral preview servers started by serve_revealjs_html.
Args:
port: Port of the server to stop. When omitted, all preview servers
started by this MCP process are stopped.
Returns:
A JSON string listing the stopped ports and the number of remaining
active preview servers.
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": "stop_preview_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |