Skip to main content
Glama

Filesystem MCP Server

by bsmi021
types.ts1.07 kB
/** * Type definitions for filesystem operations */ /** * Interface for file/directory metadata */ export interface FileStats { name: string; path: string; size: number; isDirectory: boolean; created: Date; modified: Date; accessed: Date; mode: string; } /** * Interface for directory entry with optional recursive contents */ export interface DirectoryEntry extends FileStats { contents?: DirectoryEntry[]; } /** * Interface for file content with metadata */ export interface FileContent extends FileStats { content: string; } /** * Interface for text file analysis results */ export interface TextAnalysis { lineCount: number; wordCount: number; charCount: number; encoding: string; mimeType: string; } /** * Interface for file search match */ export interface SearchMatch { file: string; line: number; content: string; match: string; } /** * Interface for duplicate file group */ export interface DuplicateGroup { hash: string; size: number; files: 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/bsmi021/mcp-filesystem-server'

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