Skip to main content
mcp/node.McpRequestJournal A small host-side write-ahead journal. The host must supply a replay-stable call ID (Eve callId, or a persisted Mastra workflow step identity). Exclusive publication and fsync survive concurrency and process termination. This stores request intent, never business acceptance.

Implements

Constructors

constructor

• new McpRequestJournal(directory)

Parameters

Methods

load

▸ load(callId): Promise<null | McpRequestRecord>

Parameters

Returns

Promise<null | McpRequestRecord>

Implementation of

McpRequestStore.load

prepare

▸ prepare(callId, input): Promise<McpRequestRecord>

Parameters

Returns

Promise<McpRequestRecord>

Implementation of

McpRequestStore.prepare