filepath
(string): Path to the file to index
How to use it
filepath is exposed by the Devrag MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the filepath 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
directory
(string, optional): Filter to specific directory (e.g., "docs/api")
file_pattern
(string, optional): Glob pattern for filename (e.g., "api-.md", ".md")
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)