@receiz/mcp-server
Version:
MCP server for agents building and verifying Receiz proof-native applications through the canonical Receiz SDK rails.
94 lines • 3.37 kB
TypeScript
import type { ReceizClient } from "@receiz/sdk";
export declare const RECEIZ_CURRENT_RECORD_TOOL: Readonly<{
name: "receiz_connect_record";
description: "Create a current record proof through SDK connect.record with exact optional account save and visibility/showcase intent. Preview performs no transport; execute only with its identical single-use confirmation. Always request the complete PNG, verify its enclosing canonical proof before projection or private persistence, and deliver exact bytes through host custody. Saved/visibility/showcase response headers describe server effects; they do not establish ownership. A failed response can follow a remote save: do not automatically retry. MCP is not authority.";
inputSchema: {
type: string;
additionalProperties: boolean;
properties: {
body: {
type: string;
additionalProperties: boolean;
properties: {
ms: {
type: string;
};
tzMinutesEast: {
type: string;
};
vis: {
type: string;
enum: string[];
};
save: {
type: string;
};
includeArtifact: {
type: string;
const: boolean;
};
};
};
confirmation: {
type: string;
minLength: number;
description: string;
};
};
required: string[];
};
annotations: {
readOnlyHint: boolean;
destructiveHint: boolean;
openWorldHint: boolean;
};
_meta: {
ui: {
resourceUri: string;
};
"openai/outputTemplate": string;
};
}>;
/** Current creation uses delegated scope; returned proof verifies before local
* custody. Remote save precedes delivery in the route and cannot be undone here. */
export declare function createReceizCurrentRecordOperations(input: {
client: ReceizClient;
ensureDelegated: () => void;
workspace: string;
runtime: object;
}): {
call(raw: unknown): Promise<{
result: {
schema: string;
status: string;
operation: string;
arguments: {
[x: string]: unknown;
};
confirmationDigest: string;
confirmationRequired: boolean;
writesPerformed: number;
authority: string;
};
transferToken: undefined;
} | {
result: {
recordProjection: {
saved: string | null;
visibility: string | null;
showOnProfile: string | null;
source: string;
proofAuthority: boolean;
};
artifactReference: string;
artifactSha256: string;
suggestedFilename: string;
mimeType: string;
byteLength: number;
mcpAuthority: boolean;
strongerTruth: "sealed-receiz-proof-object";
};
transferToken: string;
}>;
};
//# sourceMappingURL=currentRecordOperations.d.ts.map