loading…
Search for a command to run...
loading…
Provides a natural language interface for querying and managing PostgreSQL, MySQL, MariaDB, MSSQL, and SQLite databases using the Model Context Protocol. Users
Provides a natural language interface for querying and managing PostgreSQL, MySQL, MariaDB, MSSQL, and SQLite databases using the Model Context Protocol. Users can explore database schemas and visualize query results through an integrated web dashboard.
A modern web application that lets you interact with SQL databases using natural language, powered by the Model Context Protocol (MCP).
npm install
Copy .env.example to .env and update with your credentials:
cp .env.example .env
Then edit .env with:
LLM_API_URL: Your LLM API endpoint (e.g., Groq, OpenAI)LLM_API_KEY: Your API keyLLM_MODEL: Model name (e.g., mixtral-8x7b-32768)ENCRYPTION_KEY: A 32-character random key for productionnpm run dev
The application will start at http://localhost:3000
npm run dev # Development with hot reload
npm run build # Build TypeScript
npm start # Run production build
npm run demo:setup # Create demo database
npm run demo:run # Run with demo data
npm test # Run tests
| Database | Status |
|---|---|
| PostgreSQL | ✅ |
| MySQL / MariaDB | ✅ |
| SQL Server | ✅ |
| SQLite | ✅ |
Web UI → Chat → MCP Tools → Scanner → Database
Key Components:
public/): Interactive UI with theme supportsrc/server.ts): Express API and MCPsrc/mcp/): MCP protocol implementationsrc/providers/): Database adapterssrc/scanner/): Database schema analysissrc/utils/encryption.ts): Credential encryptionMIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"database-mcp": {
"command": "npx",
"args": []
}
}
}Query your database in natural language
Read-only database access with schema inspection.
Interact with Redis key-value stores.
Database interaction and business intelligence capabilities.