MCP server for DDEV development environments with multi-database support
Ddev mcp mcp server lets Claude, Cursor and other MCP clients work with Ddev MCP directly. MCP server for DDEV development environments with multi-database support.
This project provides a Model Context Protocol (MCP) server that enables Large Language Models (LLMs) and AI assistants to interact with DDEV local development environments.
Once connected, the assistant can call these 7 tools directly:
ddev_composer_command — Run Composer commandsddev_xdebug — Control Xdebug (on/off/toggle/status)ddev_share — Share project via ngrok tunnelddev_mailpit — Access Mailpit for email testingTools — The Tools tool exposed by this serverResources — The Resources tool exposed by this serverTesting — The Testing tool exposed by this serverThe server is distributed via npm as @modelcontextprotocol/inspector, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Database servers turn schema archaeology and ad-hoc reporting into conversation, which is why they tend to be the second or third server people install. Ddev MCP sits in that group, and the shape of its toolset — ddev_composer_command, ddev_xdebug, ddev_share among others — tells you what it is really for. Worth comparing against the other databases servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| ddev_composer_command | Run Composer commands |
| ddev_xdebug | Control Xdebug (on/off/toggle/status) |
| ddev_share | Share project via ngrok tunnel |
| ddev_mailpit | Access Mailpit for email testing |
| Tools | The Tools tool exposed by this server. |
| Resources | The Resources tool exposed by this server. |
| Testing | The Testing tool exposed by this server. |
#### Local Installation
```json
{
"mcpServers": {
"ddev": {
"command": "node",
"args": ["/absolute/path/to/ddev-mcp/dist/index.js"]
}
}
}Configuration as documented by the project. Restart the client after saving.
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.