agent-orchestration-mcp-server
Version:
MCP server that converts natural language queries to orchestration cards for GAFF
48 lines • 1.38 kB
TypeScript
/**
* Memory MCP Server Client
*
* Connects to the memory MCP server to store and retrieve orchestration cards.
* This enables the agent-orchestration server to persist state that can be
* passed to intent-graph-generator via memory key.
*
* Author: Sean Poyner <sean.poyner@pm.me>
*/
export interface MemoryStoreResult {
success: boolean;
memory_key: string;
error?: string;
}
export declare class MemoryClient {
private client;
private transport;
private isConnected;
/**
* Connect to the memory MCP server
*/
connect(): Promise<void>;
/**
* Store an orchestration card in memory
*/
storeCard(card: any, key: string): Promise<MemoryStoreResult>;
/**
* Retrieve an orchestration card from memory
*/
retrieveCard(key: string): Promise<any | null>;
/**
* Disconnect from the memory server
*/
disconnect(): Promise<void>;
}
/**
* Get or create the memory client singleton
*/
export declare function getMemoryClient(): MemoryClient;
/**
* Store a card in memory (convenience function)
*/
export declare function storeCardInMemory(card: any, key: string): Promise<MemoryStoreResult>;
/**
* Retrieve a card from memory (convenience function)
*/
export declare function retrieveCardFromMemory(key: string): Promise<any | null>;
//# sourceMappingURL=memory-client.d.ts.map