An assistant lands in an unfamiliar project and needs to choose where to look. Without a useful search term, the first step is the map.

The idea in one picture

Kimono RAG MCP 0.9.6 adds aikido_structure, a read-only tool that returns the file tree of your snapshot, under the same ignore rules as the rest of Kimono RAG MCP. Each file carries a type and an idx flag telling whether Kimono RAG MCP indexes it, so the assistant sees at once what a search can reach and what it cannot.

The shape of a projectProject rootprompts/the Memory Bankhard_points/the methodgen/the project Truth Tablessrc/the code
Diagram of the Kimono RAG MCP retrieval loop: aikido_snapshot begin freezes the corpus, aikido_search returns paths and line ranges only, aikido_file ranges reads only the chosen lines, aikido_snapshot end releases the snapshot; aikido_structure is an optional first step
aikido_structure is the optional first step of the loop: look at the shape, then search.

What you ask your assistant

In VS Code, you open your assistant’s chat with Kimono RAG MCP connected and write, as you would to a colleague:

text
Show me the shape of this project, limited to the src folder. Then tell me which files Kimono RAG MCP does not index.
The prompt typed by the person, on a small example project of eight files.

The assistant answers within seconds, without having opened a single file. It first shows src: an api/ folder and an index.ts file. It then points out that two files are out of reach of search: an exclusion file (.gitignore) and an image (logo.png). You already know what a search can find, and what it never will.

You follow up: “Give me the whole tree, in compact form”. This is what appears, twelve lines for the entire project:

text
.gitignore ignore 0 14
Dockerfile docker 1 13
README.md readme 1 32
assets/
 logo.png image 0 5
docs/
 architecture.md md 1 37
package.json manifest 1 16
src/
 api/
  ping.ts ts 1 34
 index.ts ts 1 31
The full tree displayed by the assistant. Columns: path, type, indexed (1 or 0), lines.

Under the hood

Behind your question about unindexed files, the assistant called aikido_structure with idx: 0. This is the raw reply it received:

json
{"v":"a0de78c5…","n":2,"idx":0,
 "data":{".gitignore":["ignore",0,14],"assets/":{"logo.png":["image",0,5]}}}
Real tool reply, shortened with “…”.
  • 8files in the example project
  • 6of them indexed; 2 are not (an ignore file and an image)
  • 12lines for the whole tree in text form

The answer also carries a version marker v. Pass it back as since and, if nothing changed, the tool replies {"unchanged":true} instead of resending the tree.

Try it

  1. Update Kimono RAG MCP to 0.9.6 or newer and open a snapshot with aikido_snapshot.
  2. Call aikido_structure on the root, then scope it with path and depth.
  3. Search where the map points. The full list of options is in the changelog.