DreamFactory is a secure, self-hosted enterprise data access platform that provides governed API access to any data source, connecting enterprise applications and on-prem LLMs with role-based access and identity passthrough.
See the code
DreamFactory is a self-hosted platform providing governed API access to any data source for enterprise apps and local LLMs.
Documentation ∙ Getting Started Guide ∙ Contribute ∙ Community Support
DreamFactory is a secure, self-hosted enterprise data access platform that provides governed API access to any data source, connecting enterprise applications and on-prem LLMs with role-based access and identity passthrough.
DreamFactory is built on the Laravel framework and serves as a governed AI data access layer between your applications and data sources. Whether you're building internal tools, mobile apps, or connecting AI models to enterprise data, DreamFactory provides a single, secure AI data gateway.
DreamFactory connects to your database, introspects the schema, and generates a complete REST API with full CRUD operations, relationship handling, stored procedure access, and OpenAPI/Swagger documentation — all in minutes.
See how DreamFactory connects AI models, applications, databases, and file storage services through governed MCP and REST API endpoints.
Quick Start:
DreamFactory connects to a wide range of databases and services out of the box.
| Database | Connector Package | Features |
|---|---|---|
| MySQL / MariaDB | df-mysqldb | Full CRUD, stored procedures, views, relationships |
| PostgreSQL | df-sqldb | Full CRUD, stored procedures, views, relationships |
| SQL Server | df-sqlsrv | Full CRUD, stored procedures, views, relationships |
| Oracle | df-oracledb | Full CRUD, stored procedures, views, relationships |
| SQLite | df-sqldb | Full CRUD, views |
| IBM Db2 | df-ibmdb2 | Full CRUD, stored procedures |
| SAP SQL Anywhere | df-sqlanywhere | Full CRUD, stored procedures |
| Firebird | df-firebird | Full CRUD, stored procedures |
| Snowflake | df-snowflake | Full CRUD, views |
| Apache Spark / Databricks | df-spark | Full CRUD, Spark SQL |
| Database | Connector Package |
|---|---|
| MongoDB | df-mongodb |
| Apache Cassandra | df-cassandra |
| Couchbase | df-couchbase |
| CouchDB | df-couchdb |
| Service | Description |
|---|---|
| Local File Storage | Manage files and folders via REST API |
| AWS S3 | Amazon S3 bucket operations |
| Azure Blob Storage | Azure blob and container management |
| SFTP / FTP | Remote file system access |
| Email (SMTP) | Send emails via API |
| Push Notifications | Apple and Google push notifications |
| SOAP Services | Convert SOAP/WSDL services to REST |
DreamFactory includes a built-in MCP (Model Context Protocol) server that enables AI assistants and large language models to securely query your databases through governed API endpoints.
# Install DreamFactory with MCP support using NPX
npx @dreamfactory/create-df-mcp
Or configure your existing DreamFactory instance as an MCP server. See the MCP Server documentation for setup instructions.
DreamFactory can be installed on Linux, Windows, Docker, or Kubernetes.
Install DreamFactory and all dependencies in under 5 minutes using our automated installers:
git clone https://github.com/dreamfactorysoftware/dreamfactory.git
cd dreamfactory/installers
sudo bash dfsetup.run
See the Linux installers directory for supported distributions.
Follow our step-by-step guide for installing DreamFactory on Windows with IIS or Apache:
The fastest way to get started. Spins up DreamFactory, MySQL, Redis, and a sample PostgreSQL database:
git clone https://github.com/dreamfactorysoftware/df-docker.git
cd df-docker
docker compose up -d
See the df-docker repository for full instructions.
Deploy DreamFactory to your Kubernetes cluster using our official Helm chart:
helm repo add dreamfactory https://dreamfactorysoftware.github.io/df-helm
helm install dreamfactory dreamfactory/dreamfactory
See the df-helm repository for configuration options.
Our Node-based installer sets up DreamFactory with optional MCP server and a PostgreSQL test database:
npx @dreamfactory/create-df-mcp
See the NPX installer on npm for details.
| Resource | Description |
|---|---|
| Getting Started Guide | Step-by-step walkthrough for new users |
| Platform Documentation | Full reference documentation |
| API Reference (Wiki) | API endpoint reference and examples |
| MCP Server Docs | Setting up DreamFactory as an MCP server for AI |
| Blog | Tutorials, use cases, and product updates |
![]() | ||
|---|---|---|
Ask and answer questions with the dreamfactory tag on Stack Overflow | Visit Docs, Wiki, and Guide for tutorials and examples | Follow @dfsoftwareinc for updates |
Need official technical support? Looking for advanced connectors for SQL Server, Oracle, Snowflake, or SOAP? Require API rate limiting, audit logging, or multi-tenant support? Schedule a demo with our team.
DreamFactory supports MySQL, MariaDB, PostgreSQL, SQL Server, Oracle, SQLite, MongoDB, Cassandra, Couchbase, CouchDB, IBM Db2, Firebird, SAP SQL Anywhere, Snowflake, and Apache Spark/Databricks. It also supports file storage (local, S3, Azure Blob, SFTP), email, and SOAP-to-REST conversion.
DreamFactory connects to your database, introspects the schema (tables, views, stored procedures, relationships), and automatically generates a full set of REST endpoints with CRUD operations. Each endpoint is documented with an OpenAPI/Swagger specification. No code generation or compilation step is required — APIs are available immediately.
Yes. DreamFactory's core platform is open source under the Apache 2.0 license. A commercial edition is available with additional connectors (SQL Server, Oracle, Snowflake), enterprise security features (LDAP, SAML, audit logging), and official support.
DreamFactory includes a built-in MCP (Model Context Protocol) server that enables AI assistants like Claude and ChatGPT to query your databases through governed API endpoints. Instead of generating raw SQL, AI models call DreamFactory's structured REST API — with full role-based access control and audit logging applied to every request.
For standard CRUD operations, yes. DreamFactory generates feature-complete REST APIs with filtering, sorting, pagination, bulk operations, relationship handling, and stored procedure support. Custom business logic can be added via server-side scripting in PHP, Python, or Node.js.
DreamFactory supports API key authentication, session-based authentication, and SSO via SAML 2.0, OAuth 2.0, OpenID Connect, Azure AD, and LDAP/Active Directory. Each authentication method integrates with DreamFactory's role-based access control system.
Yes. DreamFactory acts as a centralized AI data gateway that unifies access to multiple databases and services. You can connect several databases, apply consistent security policies, and expose them through a single API endpoint or MCP endpoint with unified documentation.
Feedback is welcome on our community forum or in the form of pull requests and/or issues. Contributions should follow the strategy outlined in "Contributing to a project".
132 followers · starred Dec 2018
24 followers · starred Aug 2018
104 followers · starred Oct 2023
23 followers · starred Sep 2016
DreamFactory is a secure, self-hosted enterprise data access platform that provides governed API access to any data source, connecting enterprise applications and on-prem LLMs with role-based access and identity passthrough.
See the code
DreamFactory is a self-hosted platform providing governed API access to any data source for enterprise apps and local LLMs.
Documentation ∙ Getting Started Guide ∙ Contribute ∙ Community Support
DreamFactory is a secure, self-hosted enterprise data access platform that provides governed API access to any data source, connecting enterprise applications and on-prem LLMs with role-based access and identity passthrough.
DreamFactory is built on the Laravel framework and serves as a governed AI data access layer between your applications and data sources. Whether you're building internal tools, mobile apps, or connecting AI models to enterprise data, DreamFactory provides a single, secure AI data gateway.
DreamFactory connects to your database, introspects the schema, and generates a complete REST API with full CRUD operations, relationship handling, stored procedure access, and OpenAPI/Swagger documentation — all in minutes.
See how DreamFactory connects AI models, applications, databases, and file storage services through governed MCP and REST API endpoints.
Quick Start:
DreamFactory connects to a wide range of databases and services out of the box.
| Database | Connector Package | Features |
|---|---|---|
| MySQL / MariaDB | df-mysqldb | Full CRUD, stored procedures, views, relationships |
| PostgreSQL | df-sqldb | Full CRUD, stored procedures, views, relationships |
| SQL Server | df-sqlsrv | Full CRUD, stored procedures, views, relationships |
| Oracle | df-oracledb | Full CRUD, stored procedures, views, relationships |
| SQLite | df-sqldb | Full CRUD, views |
| IBM Db2 | df-ibmdb2 | Full CRUD, stored procedures |
| SAP SQL Anywhere | df-sqlanywhere | Full CRUD, stored procedures |
| Firebird | df-firebird | Full CRUD, stored procedures |
| Snowflake | df-snowflake | Full CRUD, views |
| Apache Spark / Databricks | df-spark | Full CRUD, Spark SQL |
| Database | Connector Package |
|---|---|
| MongoDB | df-mongodb |
| Apache Cassandra | df-cassandra |
| Couchbase | df-couchbase |
| CouchDB | df-couchdb |
| Service | Description |
|---|---|
| Local File Storage | Manage files and folders via REST API |
| AWS S3 | Amazon S3 bucket operations |
| Azure Blob Storage | Azure blob and container management |
| SFTP / FTP | Remote file system access |
| Email (SMTP) | Send emails via API |
| Push Notifications | Apple and Google push notifications |
| SOAP Services | Convert SOAP/WSDL services to REST |
DreamFactory includes a built-in MCP (Model Context Protocol) server that enables AI assistants and large language models to securely query your databases through governed API endpoints.
# Install DreamFactory with MCP support using NPX
npx @dreamfactory/create-df-mcp
Or configure your existing DreamFactory instance as an MCP server. See the MCP Server documentation for setup instructions.
DreamFactory can be installed on Linux, Windows, Docker, or Kubernetes.
Install DreamFactory and all dependencies in under 5 minutes using our automated installers:
git clone https://github.com/dreamfactorysoftware/dreamfactory.git
cd dreamfactory/installers
sudo bash dfsetup.run
See the Linux installers directory for supported distributions.
Follow our step-by-step guide for installing DreamFactory on Windows with IIS or Apache:
The fastest way to get started. Spins up DreamFactory, MySQL, Redis, and a sample PostgreSQL database:
git clone https://github.com/dreamfactorysoftware/df-docker.git
cd df-docker
docker compose up -d
See the df-docker repository for full instructions.
Deploy DreamFactory to your Kubernetes cluster using our official Helm chart:
helm repo add dreamfactory https://dreamfactorysoftware.github.io/df-helm
helm install dreamfactory dreamfactory/dreamfactory
See the df-helm repository for configuration options.
Our Node-based installer sets up DreamFactory with optional MCP server and a PostgreSQL test database:
npx @dreamfactory/create-df-mcp
See the NPX installer on npm for details.
| Resource | Description |
|---|---|
| Getting Started Guide | Step-by-step walkthrough for new users |
| Platform Documentation | Full reference documentation |
| API Reference (Wiki) | API endpoint reference and examples |
| MCP Server Docs | Setting up DreamFactory as an MCP server for AI |
| Blog | Tutorials, use cases, and product updates |
![]() | ||
|---|---|---|
Ask and answer questions with the dreamfactory tag on Stack Overflow | Visit Docs, Wiki, and Guide for tutorials and examples | Follow @dfsoftwareinc for updates |
Need official technical support? Looking for advanced connectors for SQL Server, Oracle, Snowflake, or SOAP? Require API rate limiting, audit logging, or multi-tenant support? Schedule a demo with our team.
DreamFactory supports MySQL, MariaDB, PostgreSQL, SQL Server, Oracle, SQLite, MongoDB, Cassandra, Couchbase, CouchDB, IBM Db2, Firebird, SAP SQL Anywhere, Snowflake, and Apache Spark/Databricks. It also supports file storage (local, S3, Azure Blob, SFTP), email, and SOAP-to-REST conversion.
DreamFactory connects to your database, introspects the schema (tables, views, stored procedures, relationships), and automatically generates a full set of REST endpoints with CRUD operations. Each endpoint is documented with an OpenAPI/Swagger specification. No code generation or compilation step is required — APIs are available immediately.
Yes. DreamFactory's core platform is open source under the Apache 2.0 license. A commercial edition is available with additional connectors (SQL Server, Oracle, Snowflake), enterprise security features (LDAP, SAML, audit logging), and official support.
DreamFactory includes a built-in MCP (Model Context Protocol) server that enables AI assistants like Claude and ChatGPT to query your databases through governed API endpoints. Instead of generating raw SQL, AI models call DreamFactory's structured REST API — with full role-based access control and audit logging applied to every request.
For standard CRUD operations, yes. DreamFactory generates feature-complete REST APIs with filtering, sorting, pagination, bulk operations, relationship handling, and stored procedure support. Custom business logic can be added via server-side scripting in PHP, Python, or Node.js.
DreamFactory supports API key authentication, session-based authentication, and SSO via SAML 2.0, OAuth 2.0, OpenID Connect, Azure AD, and LDAP/Active Directory. Each authentication method integrates with DreamFactory's role-based access control system.
Yes. DreamFactory acts as a centralized AI data gateway that unifies access to multiple databases and services. You can connect several databases, apply consistent security policies, and expose them through a single API endpoint or MCP endpoint with unified documentation.
Feedback is welcome on our community forum or in the form of pull requests and/or issues. Contributions should follow the strategy outlined in "Contributing to a project".
132 followers · starred Dec 2018
24 followers · starred Aug 2018
104 followers · starred Oct 2023
23 followers · starred Sep 2016