MCPcopy Create free account
hub / github.com/Open-Quant/openquant / afml_index_info

Function afml_index_info

scripts/afml_mcp_server.py:170–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168
169@mcp.tool(name="afml_index_info", description="Return index metadata, chapters, and model details.")
170def afml_index_info() -> dict[str, Any]:
171 store = _load_store()
172 return {
173 "index_dir": str(store.index_dir),
174 "manifest": store.manifest,
175 "chunk_count": len(store.chunks),
176 }
177
178
179@mcp.tool(name="afml_list_chapters", description="List discovered chapters with chunk counts.")

Callers

nothing calls this directly

Calls 1

_load_storeFunction · 0.85

Tested by

no test coverage detected