index_project
Index a project from the agent.
How to use it
index_project is exposed by the Pampa MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the index_project tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Pampa
npx pampa --helpOther tools in Pampa (9)
Get complete code of a specific chunk.
Get indexed project statistics.
(number, optional) - Maximum number of results to return (default: 10)
(string, optional) - PROJECT ROOT directory path where PAMPA database is located
(string, optional) - Embedding provider (default: "auto")
(string) - Semantic search query (e.g., "authentication function", "error handling")
Search code semantically in the indexed project.
(string) - SHA of the code chunk to retrieve (obtained from searchcode results)
🔄 CRITICAL: Use this tool frequently to keep your AI memory current!