@kya-os/cli
Version:
CLI for MCP-I setup and management
34 lines • 1.2 kB
TypeScript
interface RegisterOptions {
json?: boolean;
saveReceipt?: boolean;
receiptPath?: string;
/** Set to false by --no-dco to skip the attribution prompt. */
dco?: boolean;
}
/**
* Register agent with Know-That-AI (KTA) registry
*
* This command registers a new agent with the KTA registry. The registration
* process can work in two modes:
*
* 1. With existing identity: If an XMCP-I identity exists (from `mcpi init`),
* it will use the existing public key for registration.
*
* 2. Without identity: The KTA API will generate a new Ed25519 key pair and
* save it to .mcpi/identity.json for future use.
*
* After successful registration, the agent receives:
* - A unique agent ID and URL
* - A claim token (valid for 24 hours) to claim ownership
* - A verification endpoint for DID resolution
* - A receipt for audit purposes
*
* @param options - Command options including JSON output and receipt settings
*/
export declare function register(options?: RegisterOptions): Promise<void>;
/**
* Retrieve and display stored receipts
*/
export declare function listReceipts(receiptPath?: string): Promise<void>;
export {};
//# sourceMappingURL=register.d.ts.map