@memory-bank/mcp
Version:
Memory-enabled Co-Pilot (MCP) server for managing project documentation and context
71 lines • 1.83 kB
TypeScript
import type { Language } from "@memory-bank/schemas";
export type { Language } from "@memory-bank/schemas";
/**
* Core files required for branch memory bank
*/
export declare const BRANCH_CORE_FILES: readonly ["branchContext.md", "activeContext.md", "systemPatterns.md", "progress.md"];
/**
* Core files required for global memory bank
*/
export declare const GLOBAL_CORE_FILES: readonly ["architecture.md", "coding-standards.md", "domain-models.md", "glossary.md", "tech-stack.md", "user-guide.md"];
/**
* Configuration options for setting up the memory bank
*/
export interface WorkspaceConfig {
docsRoot: string;
verbose: boolean;
language: Language;
}
/**
* Command line options for the server
*/
export interface CliOptions {
docsRoot?: string;
verbose?: boolean;
language?: Language;
}
/**
* Result of validating a memory bank structure
*/
export interface ValidationResult {
isValid: boolean;
missingFiles: string[];
errors: ValidationError[];
}
/**
* Validation error details
*/
export interface ValidationError {
type: ValidationErrorType;
message: string;
path?: string;
details?: Record<string, unknown>;
}
/**
* Types of validation errors
*/
export declare enum ValidationErrorType {
_MISSING_FILE = "MISSING_FILE",
_INVALID_CONTENT = "INVALID_CONTENT",
_INVALID_TAGS = "INVALID_TAGS",
_INVALID_PATH = "INVALID_PATH",
_INVALID_STRUCTURE = "INVALID_STRUCTURE"
}
/**
* Response content type for MCP tools
*/
export interface ToolContent {
type: string;
text: string;
mimeType?: string;
}
/**
* Response structure for MCP tools
*/
export interface ToolResponse {
content: ToolContent[];
isError?: boolean;
_meta?: Record<string, unknown>;
[key: string]: unknown;
}
//# sourceMappingURL=index.d.ts.map