DreamFactory — Claude Code MCP server: what it does, how to install
Connects coding assistants to databases through the DreamFactory gateway. It lets agents interact with enterprise data via governed REST endpoints.
no license updated 2026-10-29
Open on GitHubWhat DreamFactory does
This server translates MCP protocol requests into DreamFactory REST calls. It allows the model to query sources like PostgreSQL, MySQL, Microsoft SQL Server, and MongoDB using existing role-based access rules.
You can run it as a Node application or wrap it in Docker. To build manually, execute npm install followed by npm run build. If you prefer isolation, build the image via docker build -t df-mcp . and run it with the container flags shown in the setup instructions.
Without Node 22.10.0 or higher, local execution fails immediately due to runtime incompatibilities. You also need an accessible instance address in DREAMFACTORY_URL and an active key in DREAMFACTORY_API_KEY.
What it helps with
- query records across PostgreSQL, MySQL, and Microsoft SQL Server
- inspect schemas and collections in MongoDB through REST endpoints
- enforce role-based permissions between the assistant and data storage
- interact with enterprise datasets without exposing raw database credentials
Example prompts for the agent
- Query recent orders from the PostgreSQL service through DreamFactory
- Inspect the schema of the customers table via the DreamFactory API
- Retrieve matching documents from our MongoDB instance using DreamFactory
How to install DreamFactory
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about DreamFactory
How to install the DreamFactory MCP server?
Clone the repository, run npm install, and build it with npm run build. Then point your MCP client configuration to node executing build/index.js with DREAMFACTORY_URL and DREAMFACTORY_API_KEY set.
What does DreamFactory do?
It exposes enterprise databases as REST endpoints with identity passthrough and governance. The MCP server brings those endpoints directly into tool-calling environments.
What are the runtime requirements?
The server requires Node 22.10.0 or newer. When version managers like NVM create environment mismatches, you can route execution through a wrapper script or use the Docker setup instead.