Skip to content

Configuration

Environment Variables

VariableDefaultDescription
FLYTO_INDEX_DIR.flyto-indexIndex output directory
FLYTO_INDEXER_RATE_LIMIT100Global requests per minute
FLYTO_INDEXER_SESSION_RATE_LIMIT30Per-session requests per minute
FLYTO_AUTO_REINDEX1Auto-reindex on tool calls (0 to disable)

Project Configuration

projects.yaml

Define multiple projects to index:

yaml
workspace:
  name: my-workspace
  output_dir: .flyto-index

projects:
  - name: frontend
    path: /path/to/frontend
  - name: backend
    path: /path/to/backend
  - name: shared-lib
    path: /path/to/shared-lib

Scan Settings

Default configuration (config/default.yaml):

yaml
project:
  name: auto-detect  # From directory name

scan:
  languages:
    - python
    - vue
    - typescript
    - javascript
  ignore_patterns:
    - node_modules
    - __pycache__
    - .git
    - dist
    - build
    - venv
  max_file_size: 1048576  # 1MB

index:
  output_dir: .flyto-index
  generate_outline: true
  summary_max_length: 200

impact:
  max_depth: 5

context:
  l0_max_files: 100
  l1_max_symbols: 50
  l2_max_tokens: 4000

MCP Client Configuration

Claude Desktop / Claude Code

json
{
  "mcpServers": {
    "flyto-indexer": {
      "command": "python3",
      "args": ["-m", "flyto_indexer.mcp_server"]
    }
  }
}

Cursor IDE

Refer to Cursor's MCP documentation for setup.

VSCode + Copilot

Refer to VSCode's MCP extension documentation for setup.

Index Storage

The index is stored in .flyto-index/:

FileContent
index.jsonSymbols + dependency graph + reverse index
content.jsonlSource code (lazy-loaded)
bm25.jsonFull-text search index
manifest.jsonFile fingerprints for change detection

Per-project metadata in .flyto/:

FileContent
flyto.jsonProject metadata
descriptions.jsonlSemantic file descriptions
index/summary.jsonIndex statistics
nav/map.jsonProject navigation map

Released under the Apache 2.0 License.