@kya-os/mcp-i
Version:
The TypeScript MCP framework with identity features built-in
33 lines (32 loc) • 1.13 kB
TypeScript
/**
* MCPINodeRuntimeWrapper
*
* Node.js-specific runtime that extends the core runtime with Node.js providers.
* Provides backward compatibility by accepting legacy configuration format.
*/
import { MCPIRuntimeBase, AccessControlApiService, ProofVerifier } from "@kya-os/mcp-i-core";
import type { MCPIRuntimeConfig } from "./mcpi-runtime";
/**
* Node.js-specific runtime implementation
*/
export declare class MCPINodeRuntimeWrapper extends MCPIRuntimeBase {
private legacyConfig;
constructor(config?: MCPIRuntimeConfig);
/**
* Set AccessControlApiService (for testing or manual injection)
*/
setAccessControlService(service: AccessControlApiService): void;
/**
* Set ProofVerifier (for testing or manual injection)
*/
setProofVerifier(verifier: ProofVerifier): void;
}
/**
* Factory function for creating Node.js runtime
*/
export declare function createMCPIRuntime(config?: MCPIRuntimeConfig): MCPINodeRuntimeWrapper;
/**
* Alias for backward compatibility
* @deprecated Use MCPINodeRuntimeWrapper
*/
export declare const MCPIRuntimeWrapper: typeof MCPINodeRuntimeWrapper;