MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / mcpRequestStatePrincipal

Function mcpRequestStatePrincipal

packages/hosts/mcp/src/tool-server.ts:115–118  ·  view source on GitHub ↗
(principal: {
  readonly accountId: string;
  readonly organizationId: string;
})

Source from the content-addressed store, hash-verified

113
114/** Bind modern continuation state to the ownership identity used by MCP hosts. */
115export const mcpRequestStatePrincipal = (principal: {
116 readonly accountId: string;
117 readonly organizationId: string;
118}): string => `${principal.accountId}\u0000${principal.organizationId}`;
119
120/** Fields whose exact values bind one modern native-elicitation continuation. */
121export interface McpRequestStateBindingInput {

Callers 9

handlerForFunction · 0.90
createFunction · 0.90
buildMcpServerMethod · 0.90
handlerForFunction · 0.90
mintRequestStateFunction · 0.90
modernHandlerForRuntimeFunction · 0.90
buildMcpServerMethod · 0.90
buildMcpServerMethod · 0.90

Calls

no outgoing calls

Tested by 2

buildMcpServerMethod · 0.72
mintRequestStateFunction · 0.72