> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: McpRequestStore

> A production host can implement this using its workflow/database store.

[mcp/node](/api/modules/mcp_node).McpRequestStore

A production host can implement this using its workflow/database store.
prepare MUST atomically retain one immutable record before network dispatch,
return the same key on replay, and reject changed inputs for the same call ID.
load MUST survive process restart. Never store credentials here.

## Implemented by

* [`McpRequestJournal`](/api/classes/mcp_node.McpRequestJournal)

## Methods

### prepare

▸ **prepare**(`callId`, `input`): `Promise`\<[`McpRequestRecord`](/api/modules/mcp_node#mcprequestrecord)>

#### Parameters

| Name | Type |
| :- | :- |
| `callId` | `string` |
| `input` | `Omit`\<[`McpRequestRecord`](/api/modules/mcp_node#mcprequestrecord), `"request_key"`> |

#### Returns

`Promise`\<[`McpRequestRecord`](/api/modules/mcp_node#mcprequestrecord)>

***

### load

▸ **load**(`callId`): `Promise`\<`null` | [`McpRequestRecord`](/api/modules/mcp_node#mcprequestrecord)>

#### Parameters

| Name | Type |
| :- | :- |
| `callId` | `string` |

#### Returns

`Promise`\<`null` | [`McpRequestRecord`](/api/modules/mcp_node#mcprequestrecord)>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.