@gluneau/hive-mcp-server
Version:
An MCP server that enables AI assistants to interact with the Hive blockchain
27 lines (26 loc) • 813 B
TypeScript
interface HiveConfig {
username: string | undefined;
postingKey: string | undefined;
activeKey: string | undefined;
memoKey: string | undefined;
ownerKey?: string | undefined;
}
interface LogConfig {
logLevel: 'debug' | 'info' | 'warn' | 'error';
}
interface ServerConfig {
name: string;
version: string;
}
interface AppConfig {
hive: HiveConfig;
server: ServerConfig;
log: LogConfig;
}
declare const defaultConfig: AppConfig;
export declare const validatePrivateKey: (key: string | undefined) => boolean;
export declare const getConfig: () => AppConfig;
export declare const refreshEnvConfig: () => void;
export declare const canPerformAuthenticatedOperations: () => boolean;
export declare const canPerformTokenTransfers: () => boolean;
export default defaultConfig;