The SchemaCawler AI MCP Server is available as a Docker image from Docker Hub.
- Install supporting software
- Docker
- Docker Compose
- Visual Studio Code
- Read Use MCP servers in VS Code
- Clone this project, and open it in Visual Studio Code
- Pull the latest image for SchemaCrawler AI MCP Server
docker compose -f schemacrawler-mcpserver.yaml pull
- Run the SchemaCrawler AI MCP Server
docker compose -f schemacrawler-mcpserver.yaml up -d
- Check server health in a browser http://localhost:9292/health
- Connect to the SchemaCrawler AI MCP Server in Visual Studio Code (the server is configured in the ".vscode/mcp.json" file)
- Ask questions about your database in "Agent" mode - here are some examples:
- "What tables are available in my database?"
- "Show me the columns in the Books table"
- "What foreign keys reference the Authors table?"
- "Are there any design issues with my database schema?"
- "Write SQL to find books and their authors"
- "Is there any sensitive data in the database?"
- "Help me visualize the relations of the Authors table in a visualization tool"
- Additional agents are provided in this project too. Use the "database-expert" or "sql-query-assistant" agents for fine-tuned help for specific tasks.
- Stop the SchemaCrawler AI MCP Server
docker compose -f schemacrawler-mcpserver.yaml down -t0
- Configure a connection to your database in the "schemacrawler-mcpserver.yaml" file, and follow the steps above again. See additional configuration parameters which can be set as environmental variables.
Try other MCP Clients:
- Microsoft AI Shell for a shell
- ... and more at Awesome MCP Clients