UNPKG

@receiz/mcp-server

Version:

MCP server for agents building and verifying Receiz proof-native applications through the canonical Receiz SDK rails.

229 lines • 9.13 kB
/** Host-owned marketplace scope beneath Receiz proof admission. An explicit * reviewed name is required; new tools are unavailable until separately reviewed. * This list concerns callable effects, not proof validity or source authority. */ export const RECEIZ_MARKETPLACE_NONFINANCIAL_TOOL_NAMES = Object.freeze([ // Local sealed proof creation and verification. "receiz_offline_kai_proof", "receiz_offline_seal_status", "receiz_offline_seal_enroll", "receiz_offline_seal_file", "receiz_offline_artifact_chunk", "receiz_offline_crystal_append", "receiz_offline_crystal_open", "receiz_offline_verify_file", "receiz_verify_uploaded_artifact", "receiz_artifact_verify", "receiz_inspect_offline_file", "receiz_inspect_proof_object", "receiz_proof_trace", "receiz_material_url_open", "receiz_sealed_kai_moment", "receiz_device_ai_subject_create", // Proof and provenance retrieval. "receiz_asset_by_url", "receiz_asset_by_id", "receiz_pitch_proof_by_witness_id", "receiz_card_history", "receiz_action_ledger", "receiz_world_public_snapshot", "receiz_proof_query", "receiz_app_state_resolve", "receiz_app_state_by_url", "receiz_app_state_by_creator", "receiz_app_state_by_namespace", "receiz_app_state_by_id", "receiz_public_store_resolve", // Owner-private subject admission and finite history or memory projection. "receiz_subject_local_runtime_status", "receiz_subject_local_admit", "receiz_subject_local_snapshot_import", "receiz_subject_local_snapshot_export", "receiz_subject_additions", "receiz_subject_verify", "receiz_subject_memory_project", "receiz_subject_memory_citations", "receiz_subject_memory_compact", "receiz_subject_relationships_history", "receiz_subject_twin_memory_summary", "receiz_subject_subscribe", "receiz_world_subscribe", "receiz_subject_twin_mind_import_commit", "receiz_subject_resolve", "receiz_subject_state", "receiz_subject_history", "receiz_subject_memory_query", "receiz_subject_relationships", "receiz_subject_inventory", "receiz_subject_twin_profile", "receiz_subject_twin_mind_export", "receiz_subject_twin_mind_import_plan", "receiz_subject_brain_head", "receiz_subject_brain_search", "receiz_subject_brain_resolve", "receiz_subject_brain_stream", // Local integration planning and exact confirmed code changes. "receiz_capabilities", "receiz_required_scopes", "receiz_scope_explain", "receiz_runtime_blueprint", "receiz_project_inspect", "receiz_app_contract_create", "receiz_app_plan", "receiz_app_apply", "receiz_app_check", "receiz_app_upgrade", "receiz_app_explain", "receiz_app_repair", "receiz_architecture_inspect", "receiz_domain_scaffold", "receiz_command_scaffold", "receiz_law_define", "receiz_law_explain", "receiz_law_coverage", "receiz_authority_inspect", "receiz_receipt_replay", "receiz_history_trace", "receiz_merge_simulate", "receiz_bypass_scan", "receiz_conformance_run", "receiz_release_verify", "receiz_release_qualify", "receiz_living_subject_conformance", "receiz_sports_conformance", // Credential-free webhook mechanics guidance and owner endpoint listing. "receiz_webhook_events_catalog", "receiz_webhook_receiver_scaffold", "receiz_webhook_endpoints_list", // Identity transport guidance and recovery state inspection. "receiz_authorize_url", "receiz_mcp_login", "receiz_ensure_tenant_session", "receiz_twin_import_mind_summary", // Closed attestation credential and private coordination effects. "receiz_v125_attestation_domain_resolve", "receiz_v125_attestation_application_plan", "receiz_v125_attestation_application_apply", "receiz_v125_attestation_workflow_plan", "receiz_v125_attestation_workflow_apply", "receiz_v125_attestation_evidence_plan", "receiz_v125_attestation_evidence_apply", "receiz_v125_attestation_evaluation_plan", "receiz_v125_attestation_evaluation_apply", "receiz_v125_attestation_review_plan", "receiz_v125_attestation_review_apply", "receiz_v125_attestation_approval_plan", "receiz_v125_attestation_approval_apply", "receiz_v125_credential_issue_plan", "receiz_v125_credential_issue_apply", "receiz_v125_credential_lifecycle_plan", "receiz_v125_credential_lifecycle_apply", "receiz_v125_credential_currentness_resolve", "receiz_v125_pbi_ceremony_challenge_create", "receiz_v125_pbi_ceremony_approve", "receiz_v125_pbi_ceremony_receipt_issue", "receiz_v125_pbi_ceremony_receipt_verify", "receiz_v125_pbi_ceremony_challenge_redeem", "receiz_v125_credential_presentation_create", "receiz_v125_credential_presentation_verify", "receiz_v125_credential_presentation_handoff_resolve", "receiz_v125_subject_relationship_plan", "receiz_v125_subject_relationship_apply", "receiz_v125_subject_introduction_plan", "receiz_v125_subject_introduction_apply", "receiz_v125_subject_message_plan", "receiz_v125_subject_message_apply", "receiz_v125_subject_presence_plan", "receiz_v125_subject_presence_apply", "receiz_v125_subject_discovery_resolve", // Temporal proof identity session and source-carried replay primitives. "receiz_v124_kai_now", "receiz_v124_proof_authority_challenge_create", "receiz_v124_runtime_authority_session_open", "receiz_v124_runtime_authority_session_refresh", "receiz_v124_runtime_authority_session_close", "receiz_v124_runtime_qualify", "receiz_v124_domain_verified_additions", "receiz_v124_domain_verified_replay", "receiz_v124_domain_verified_checkpoint", "receiz_v124_domain_verified_private_additions", "receiz_v124_domain_replay_proof_object_export", "receiz_v124_domain_replay_proof_object_restore", "receiz_source_carried_replay_open", "receiz_conversation_source_family_open", "receiz_conversation_epoch_grants_plan", "receiz_material_source_parts_open", "receiz_v124_subject_namespaces_resolve", "receiz_v124_identity_public_recipient_resolve", "receiz_v124_source_publish_sealed", // Existing proof admission and informational records; no transfer execution. "receiz_artifact_admit", "receiz_artifact_global_resolve", "receiz_v122_subject_admit", "receiz_v122_subject_state", "receiz_v122_subject_export_edge_bundle", "receiz_v122_subject_import_edge_bundle", "receiz_v122_subject_access_binding", "receiz_v122_subject_access_key_publish", "receiz_v123_subject_resolve_namespaces", "receiz_v123_identity_exchange_proof_authority", "receiz_v123_auth_granted_scopes", "receiz_subject_mandate_get", "receiz_subject_mandate_explain", "receiz_subject_runtime_status", "receiz_world_additions", "receiz_world_receipt", "receiz_world_replay", "receiz_v122_world_execution", "receiz_v122_world_execution_by_idempotency", "receiz_v122_world_additions", "receiz_v122_mandate_state", "receiz_v124_execution_resolve", "receiz_v124_execution_resolve_by_idempotency", "receiz_v123_value_execution_by_idempotency", "receiz_v125_external_execution_resolve", "receiz_v125_external_execution_verify", "receiz_wallet_public_ledger", "receiz_twin_market_mandate", "receiz_twin_market_intents", "receiz_twin_approval", "receiz_twin_approve_promotion", "receiz_doctor", "receiz_pack_open_preview", "receiz_sandbox_seed_store", "receiz_sandbox_checkout", // Bounded nonfinancial updates and existing financial proof inspection. "receiz_subject_relationships_propose", "receiz_subject_relationships_respond", "receiz_subject_mandate_pause", "receiz_subject_mandate_revoke", "receiz_subject_runtime_cancel", "receiz_v122_mandate_revoke", "receiz_webhook_endpoints_update", "receiz_webhook_endpoints_delete", "receiz_app_state_publish", "receiz_public_store_publish", "receiz_marketplace_template_generate", "receiz_v125_edge_value_plan_inspect", "receiz_v125_edge_value_transition_set_verify", "receiz_bearer_instrument_inspect", "receiz_bearer_transfer_status", ]); const enabled = new Set(RECEIZ_MARKETPLACE_NONFINANCIAL_TOOL_NAMES); export class ReceizMarketplaceNonfinancialError extends Error { operation; code = "receiz_marketplace_nonfinancial_tool_not_enabled"; constructor(operation) { super(`${operation}: This tool is outside the reviewed nonfinancial marketplace profile.`); this.operation = operation; this.name = "ReceizMarketplaceNonfinancialError"; } } export function isReceizMarketplaceNonfinancialTool(name) { return enabled.has(name); } export function assertReceizMarketplaceNonfinancialTool(name) { if (!enabled.has(name)) throw new ReceizMarketplaceNonfinancialError(name); } //# sourceMappingURL=marketplaceNonfinancialPolicy.js.map