MIT • Python • FastAPI

Adapt

A FastAPI server that turns files in a directory into APIs, searchable resources, UIs, and streaming endpoints. Point it at a folder and datasets become CRUD APIs, documents become browsable pages, media files become streaming players, and the whole tree becomes discoverable through permission-aware search and automation-friendly resource exposure.

5 File types auto-served
RBAC Auth & permissions built in
MIT Open source license

Your Folder Is Already a Server

Adapt auto-discovers resources and mounts routes. Drop files in, get APIs, search, and UIs out.

Data

Dataset CRUD APIs

CSV, XLSX, and Parquet files become full CRUD endpoints with schema exposure, caching, atomic writes, and sortable tables. DataTables UI is included at no extra configuration.

Documents

Document Browser

Markdown and HTML files are rendered and served as formatted pages. Adapt generates a landing page that adapts to what each user is permitted to see and makes large document trees easier to navigate as content grows.

Media

Streaming Media

Video and audio files become streaming endpoints with built-in player and gallery UIs. Meeting recordings, training walkthroughs, and Zoom exports are one link away.

Discovery

Permission-Aware Search

Index datasets, documents, and other mounted resources for full-text search while still respecting the same permissions used everywhere else. Users find what they are allowed to see without exposing what they are not.

Integration

MCP Resource Exposure

Expose the same folder through an MCP interface for AI agents and automation tooling. Resource ordering and discovery controls make large collections easier to consume programmatically.

Extensibility

Custom Python Routers

Drop a .py file with a FastAPI router into the folder and Adapt mounts it automatically. Live API endpoints without a restart.

Security

Auth & RBAC Built In

Session cookies, API keys, PBKDF2 password hashing, CSRF protection, CSP, HSTS, and RBAC with users, groups, and permissions are all included and enforced by default.

Operations

Admin UI & Audit Logs

A full admin interface for managing users, groups, permissions, API keys, cache, and locks. Smarter lock handling and security-relevant audit logs help shared environments stay predictable under load.

Built for Internal Data Sharing

Adapt covers the use cases that are too simple for a full application but too sensitive for an S3 bucket.

Client Deliverable Portals

Share data exports, analysis results, and recorded walkthroughs with clients. Control exactly who can see what without building a custom portal or using a cloud storage service.

Internal Data APIs

Turn operational data files into queryable REST APIs for downstream tooling and dashboards. No database schema migrations, no web framework boilerplate.

Secure Document Distribution

Publish runbooks, documentation, and reference material to a team with per-user access control. Documents stay in a folder you already manage.

Get Started in Three Commands

pip install adapt-server
adapt addsuperuser --username admin /path/to/docroot
adapt serve /path/to/docroot

Then visit http://localhost:8000/admin/ to configure users, groups, and permissions.

Works Well With

Adapt covers the folder-to-API layer. These tools cover what surrounds it.

GPLv3 • Dev Preview

PKI Workbench

Bring your own CA. Adapt enforces TLS and RBAC out of the box. Issue its server certificate from PKI Workbench to keep the whole trust chain under your control.

Learn More →
Reference Arch • Preview

Project Armory

Both speak MCP. Adapt exposes a folder’s resources over MCP for agent tooling; Project Armory is a reference architecture for running agents like that under enterprise identity, secrets, and audit controls.

Learn More →
Ansible • DevOps

Ansible Dev Sandbox

Deploying Adapt with Ansible? Test the roles that provision it in a container-isolated, CI-ready harness before they touch a real environment.

Learn More →

Free to Use. Commercially Supported.

Adapt is MIT licensed. McIndi offers commercial support contracts for organizations that need SLA-backed maintenance, security review assistance, and custom plugin development.