Skip to main content
Glama
count-files.md447 B
--- description: Count files by type using fd-mcp --- Count files in the project by type using mcp__fd__fd_count. Ask the user what type of files they want to count (e.g., Python, JavaScript, all files). Then use mcp__fd__fd_count with appropriate parameters: - extension="py" for Python files - type="f" for all files - type="d" for all directories This is faster than find | wc -l and gives accurate counts respecting .gitignore by default.

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/thhart/fd-mcp'

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