Skip to main content
Glama
ahmetshbz1

Filesystem MCP Server

by ahmetshbz1
path-validation.d.ts505 B
/** * Checks if an absolute path is within any of the allowed directories. * * @param absolutePath - The absolute path to check (will be normalized) * @param allowedDirectories - Array of absolute allowed directory paths (will be normalized) * @returns true if the path is within an allowed directory, false otherwise * @throws Error if given relative paths after normalization */ export declare function isPathWithinAllowedDirectories(absolutePath: string, allowedDirectories: string[]): boolean;

Latest Blog Posts

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/ahmetshbz1/filesystem-mcp'

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