Create API (or MCP) to manage directory