Reference Documentation Map

January 24, 2026 · View on GitHub

Last Updated: January 2025

This guide helps you navigate flAPI's reference documentation and find the right document for your task.


Quick Navigation by Use Case

I'm getting started with flAPI

  1. First read: CONFIG_REFERENCE.md § 1 (Overview)
  2. Then: CLI_REFERENCE.md § 1 (Quick Start)
  3. Next: Follow the complete example in CONFIG_REFERENCE.md § Appendix A

I'm using the REST API

  1. Configuration: CONFIG_REFERENCE.md - All sections
  2. Runtime Management: CONFIG_SERVICE_API_REFERENCE.md § 2 (REST API Reference)
  3. CLI Client: CONFIG_SERVICE_API_REFERENCE.md § 3 (CLI Client)
  4. Authentication: CONFIG_REFERENCE.md § 7 (Authentication)

I'm using MCP (Model Context Protocol)

  1. Protocol Overview: MCP_REFERENCE.md § 1 (Overview)
  2. Getting Started: MCP_REFERENCE.md § 2 (Getting Started)
  3. Full Protocol Reference: MCP_REFERENCE.md § 3-7 (Methods, Tools, Resources, Prompts)
  4. Configuration: CONFIG_REFERENCE.md § 2.6 (MCP Configuration)
  5. Authentication: CONFIG_REFERENCE.md § 7 (Authentication)
  6. Error Codes: MCP_REFERENCE.md § Appendix B (Error Reference)

I'm integrating with MCP configuration tools

  1. Tool Overview: MCP_CONFIG_TOOLS_API.md (Complete reference)
  2. Integration Details: MCP_CONFIG_INTEGRATION.md (Architecture & Flows)
  3. Authentication: MCP_CONFIG_INTEGRATION.md § Authentication Flow
  4. Error Handling: MCP_CONFIG_INTEGRATION.md § Error Handling Strategy

I'm using cloud storage (S3, GCS, Azure)

  1. Overview & Examples: CLOUD_STORAGE_GUIDE.md
  2. Configuration: CONFIG_REFERENCE.md § 2.11 (Storage Configuration)
  3. Authentication: CLOUD_STORAGE_GUIDE.md § Authentication

I'm running the flAPI server

  1. Command-line Options: CLI_REFERENCE.md § 2 (Command-Line Options)
  2. Configuration: CONFIG_REFERENCE.md § 2 (Main Configuration)
  3. Environment Variables: CLI_REFERENCE.md § 3 (Environment Variables)

I'm configuring authentication

For REST/HTTP:

For MCP:

For Config Service API:

I'm troubleshooting errors

  1. MCP Errors: MCP_REFERENCE.md § Appendix B (Error Reference)
  2. Config Service Errors: MCP_CONFIG_TOOLS_API.md § Overview (Error Codes)
  3. HTTP Status Codes: CONFIG_SERVICE_API_REFERENCE.md § Appendix B (HTTP Status Codes)
  4. General Troubleshooting: CLAUDE.md § Troubleshooting

Document Relationship Diagram

                        ┌─────────────────────┐
                        │  CONFIG_REFERENCE   │
                        │  (Master Config)    │
                        └──────────┬──────────┘

                    ┌──────────────┼──────────────┐
                    │              │              │
                    ▼              ▼              ▼
            ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
            │     MCP_     │ │   CONFIG_    │ │     CLI_     │
            │  REFERENCE   │ │   SERVICE_   │ │  REFERENCE   │
            │              │ │   API_REF    │ │              │
            └──────┬───────┘ └──────┬───────┘ └──────┬───────┘
                   │                │                │
                   └────────┬───────┴────────┬───────┘
                            │                │
                    ┌───────▼────────┐ ┌────▼──────────┐
                    │  MCP_CONFIG_   │ │  CLOUD_       │
                    │  TOOLS_API     │ │  STORAGE_     │
                    │                │ │  GUIDE        │
                    └────────┬───────┘ └───────────────┘

                    ┌────────▼──────────┐
                    │  MCP_CONFIG_      │
                    │  INTEGRATION      │
                    │  (Advanced)       │
                    └───────────────────┘

Document Dependencies

  • CONFIG_REFERENCE: Foundation - all other docs reference configuration options
  • MCP_REFERENCE: Standalone MCP protocol documentation
  • CONFIG_SERVICE_API_REFERENCE: Depends on CONFIG_REFERENCE for configuration details
  • MCP_CONFIG_TOOLS_API: MCP tools for configuration management (references CONFIG_REFERENCE)
  • MCP_CONFIG_INTEGRATION: Advanced guide for integrating MCP config tools (references MCP_CONFIG_TOOLS_API)
  • CLI_REFERENCE: Server executable options (references CONFIG_REFERENCE)
  • CLOUD_STORAGE_GUIDE: Cloud storage usage (references CONFIG_REFERENCE)

Search by Topic

Authentication

TopicPrimarySecondary
All auth schemesCONFIG_REFERENCE § 7-
Basic AuthCONFIG_REFERENCE § 7.1MCP_REFERENCE § 8.1
JWT/Bearer AuthCONFIG_REFERENCE § 7.2-7.3MCP_REFERENCE § 8.2
OIDC AuthCONFIG_REFERENCE § 7.4MCP_REFERENCE § 8.3
AWS SecretsCONFIG_REFERENCE § 7.5-
Per-method authMCP_REFERENCE § 8.4-

Endpoints

TopicDocument
REST endpointsCONFIG_REFERENCE § 3.1
MCP toolsCONFIG_REFERENCE § 3.2, MCP_REFERENCE § 5
MCP resourcesCONFIG_REFERENCE § 3.3, MCP_REFERENCE § 6
MCP promptsCONFIG_REFERENCE § 3.4, MCP_REFERENCE § 7
Manage endpointsCONFIG_SERVICE_API_REFERENCE § 2.2

Caching

TopicDocument
Cache configurationCONFIG_REFERENCE § 6
Cache management APICONFIG_SERVICE_API_REFERENCE § 2.4
Cache toolsMCP_CONFIG_TOOLS_API § Cache Tools

Templates

TopicDocument
SQL templatesCONFIG_REFERENCE § 9
Template management APICONFIG_SERVICE_API_REFERENCE § 2.3
Template toolsMCP_CONFIG_TOOLS_API § Template Tools

Error Codes

ProtocolDocument
MCP/JSON-RPC errorsMCP_REFERENCE § Appendix B
Config tool errorsMCP_CONFIG_TOOLS_API § Overview
HTTP status codesCONFIG_SERVICE_API_REFERENCE § Appendix B

Validators

TopicDocument
All validatorsCONFIG_REFERENCE § 5
Integer validatorCONFIG_REFERENCE § 5.1
String validatorCONFIG_REFERENCE § 5.2
Enum validatorCONFIG_REFERENCE § 5.3
Email validatorCONFIG_REFERENCE § 5.4
UUID validatorCONFIG_REFERENCE § 5.5
Date validatorCONFIG_REFERENCE § 5.6
Time validatorCONFIG_REFERENCE § 5.7

Storage & Cloud

TopicDocument
Cloud storage guideCLOUD_STORAGE_GUIDE
VFS configurationCONFIG_REFERENCE § 2.11
S3 setupCLOUD_STORAGE_GUIDE § S3
GCS setupCLOUD_STORAGE_GUIDE § GCS
Azure setupCLOUD_STORAGE_GUIDE § Azure

CLI & Server

TopicDocument
Server startupCLI_REFERENCE § 1
Command-line optionsCLI_REFERENCE § 2
flapii CLI clientCONFIG_SERVICE_API_REFERENCE § 3

File Sizes and Scope

DocumentSizeScopeAudience
CONFIG_REFERENCE1700+ linesComplete configuration referenceDevelopers, DevOps
MCP_REFERENCE1700+ linesMCP protocol detailsAI integrators, Developers
CONFIG_SERVICE_API_REFERENCE1550+ linesREST API & CLIAPI users, DevOps
MCP_CONFIG_TOOLS_API720 lines20 config toolsAI integrators
MCP_CONFIG_INTEGRATION500+ linesIntegration guideAdvanced users
CLI_REFERENCE400+ linesServer executableDevOps, Deployment
CLOUD_STORAGE_GUIDE200+ linesCloud storage setupCloud engineers

How to Contribute

When adding new features or configuration options:

  1. Document in CONFIG_REFERENCE.md - Add to appropriate section (§ 2 for main config, § 3 for endpoints, etc.)
  2. Link from secondary docs - If relevant to MCP/REST/CLI, add references in Related Documentation sections
  3. Update REFERENCE_MAP.md - Add new topic to search tables and quick navigation
  4. Verify cross-references - Use markdown link format: [Text](./FILE.md#section)