server_shutdown
Gracefully shuts down the filesystem-mcp server by scheduling an orderly exit after a short delay, allowing in-flight responses to flush before termination.
Instructions
Shut down the filesystem-mcp server process gracefully.
Schedules an orderly exit after a short delay so in-flight responses can flush. Intended for the HTTP daemon; stdio instances exit when the parent closes the stream anyway.
Return Format
{"success": bool, "operation": "shutdown", "result": {"shutdown_in_seconds": int}}
Examples
server_shutdown(confirm=True)
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": "server_shutdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||