Protected ReadonlyoptionsProtectedqueueStatic ReadonlyINVALID_Static ReadonlyINVALID_Static ReadonlyMETHOD_Static ReadonlyPARSE_Static ReadonlyPROTOCOL_ProtectedcallProtecteddispatchHandles one line or body of JSON; returns the response text, or undefined for a notification.
ProtectedserializeProtected StaticcheckStaticdescribeStaticerrorProtected StatichasStaticresultText for every client; objects also as structured content.
StaticvalidateChecks the arguments against the top level of the tool's JSON Schema: required properties, the
type of each property (and of array items), enums, and unknown properties when
additionalProperties is false. Returns the first problem, or undefined.
The protocol side of an MCP server (JSON-RPC 2.0, tools only), without a transport:
cell mcpfeeds it lines from stdin,cell devthe bodies of POST /_cell/mcp. Tool calls run one at a time; a failing tool answers withisErrorand the CellError as JSON (docs/design/agent-first.md R5, R8).