(state: string, context: ServerContext)
| 416 | bind: () => binding, |
| 417 | }); |
| 418 | const verifyRequestState = async (state: string, context: ServerContext) => { |
| 419 | const binding = await requestStateBindingForContext( |
| 420 | config.requestStateBinding, |
| 421 | config.requestStatePrincipal, |
| 422 | context, |
| 423 | ); |
| 424 | const decoded = await requestStateCodec(binding).verify(state, context); |
| 425 | return Effect.runPromise(Schema.decodeUnknownEffect(NativeRequestStateSchema)(decoded)); |
| 426 | }; |
| 427 | const server = new McpServer( |
| 428 | { name: "executor", version: "1.0.0" }, |
| 429 | { |
nothing calls this directly
no test coverage detected