Skip to main content
Glama

AutoDev Codebase MCP Server

by anrgct
workspace.ts1.61 kB
/** * Workspace abstractions for platform-agnostic workspace operations */ export interface IWorkspace { /** * Get the root path of the workspace */ getRootPath(): string | undefined /** * Get relative path from workspace root */ getRelativePath(fullPath: string): string /** * Get ignore rules for the workspace (from .gitignore, .rooignore, etc.) */ getIgnoreRules(): string[] /** * Check if a path should be ignored */ shouldIgnore(path: string): Promise<boolean> /** * Get workspace name */ getName(): string /** * Get all workspace folders (for multi-root workspaces) */ getWorkspaceFolders(): WorkspaceFolder[] /** * Find files matching a pattern */ findFiles(pattern: string, exclude?: string): Promise<string[]> } export interface WorkspaceFolder { name: string uri: string index: number } /** * Path utilities abstraction */ export interface IPathUtils { /** * Join paths */ join(...paths: string[]): string /** * Get directory name */ dirname(path: string): string /** * Get base name */ basename(path: string, ext?: string): string /** * Get file extension */ extname(path: string): string /** * Resolve relative path to absolute */ resolve(...paths: string[]): string /** * Check if path is absolute */ isAbsolute(path: string): boolean /** * Get relative path between two paths */ relative(from: string, to: string): string /** * Normalize path separators */ normalize(path: string): string }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/anrgct/autodev-codebase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server