context-optimizer-mcp-server
Version:
Context optimization tools MCP server for AI coding assistants - compatible with GitHub Copilot, Cursor AI, and other MCP-supporting assistants
29 lines • 1.02 kB
TypeScript
import { BaseMCPTool, MCPToolResponse } from './base';
export declare class RunAndExtractTool extends BaseMCPTool {
readonly name = "runAndExtract";
readonly description = "Execute terminal commands and intelligently extract specific information from their output. Supports cross-platform command execution with security controls.";
readonly inputSchema: {
type: string;
properties: {
terminalCommand: {
type: string;
description: string;
};
extractionPrompt: {
type: string;
description: string;
};
workingDirectory: {
type: string;
description: string;
};
};
required: string[];
};
execute(args: any): Promise<MCPToolResponse>;
private executeCommand;
private processOutputWithLLM;
private createTerminalExtractionPrompt;
private getApiKey;
}
//# sourceMappingURL=runAndExtract.d.ts.map