Create an adapter for a single MCP server instance.
MCP SDK server receiving committed registrations.
Optional prompt availability filter and callback wrapper.
Register all queued prompts with the MCP SDK.
Number of registered prompt records.
Check whether a prompt was queued for registration.
MCP prompt name.
true when the adapter has a record for the prompt.
Queue a prompt registration.
Stable MCP prompt name.
Prompt metadata and raw argument schema.
Prompt callback to invoke after validation.
Deterministic prompt registrar over the MCP SDK server.
Remarks
The adapter queues registrations until
commit()so prompts are exposed in a stable alphabetical order. It also stores the materialized schemas in a private registry used by contract tests and fixture generation.Example