Smith::MCP::ServerHandle
Inherits Reference < Object
The lifecycle of one server: start it, keep it, restart it once if it dies, then give up on it.
The give-up is deliberate. A server that crashes twice is broken, and retrying it on every call would turn every turn into a restart loop — slower than having no tool at all, and far harder to read from a transcript.
Constructors
Instance methods
Wired by whoever registered the tools, so they can be withdrawn when the server is given up on. The manager knows the registry; this file does not.
Wired by whoever registered the tools, so they can be withdrawn when the server is given up on. The manager knows the registry; this file does not.
False rather than raising: one server that will not start must never take the session with it.
The server's own stderr, kept so a failed handshake can say what the process actually complained about.