Skip to main content
Glama
ahmetshbz1

Filesystem MCP Server

by ahmetshbz1
roots-utils.d.ts599 B
import type { Root } from '@modelcontextprotocol/sdk/types.js'; /** * Resolves requested root directories from MCP root specifications. * * Converts root URI specifications (file:// URIs or plain paths) into normalized * directory paths, validating that each path exists and is a directory. * Includes symlink resolution for security. * * @param requestedRoots - Array of root specifications with URI and optional name * @returns Promise resolving to array of validated directory paths */ export declare function getValidRootDirectories(requestedRoots: readonly Root[]): Promise<string[]>;

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