directory
(string, optional): Filter to specific directory (e.g., "docs/api")
How to use it
directory is exposed by the Devrag MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the directory tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL DEVRAG LISTINGOther tools in Devrag (9)
delete_document
Remove a document from the index
file_pattern
(string, optional): Glob pattern for filename (e.g., "api-.md", ".md")
filepath
(string): Path to the file to index
index_markdown
Index a markdown file
list_documents
List all indexed documents
query
(string, required): Search query in natural language
reindex_document
Re-index a document
search
Perform semantic vector search with optional filtering
top_k
(number, optional): Maximum number of results (default: 5)