This project provides a REST API interface for managing SkySQL databases, with integration capabilities for GitHub and Smithery.ai.
- Create and manage serverless databases in SkySQL
- RESTful API endpoints for database operations
- GitHub integration for version control
- Smithery.ai deployment support
- Node.js (v14 or higher)
- npm or yarn
- SkySQL API key
- GitHub account
- Smithery.ai account
- Clone the repository:
git clone <your-repo-url>
cd skysql-mcp- Install dependencies:
npm install- Create a
.envfile with your credentials:
SKYSQL_API_KEY=your_api_key
SKYSQL_HOST=your_host
SKYSQL_USER=your_user
SKYSQL_PASSWORD=your_password
SKYSQL_DATABASE=your_database
- Start the development server:
npm run devPOST /api/databases- Create a new databaseGET /api/databases- List all databasesGET /api/databases/:id- Get database statusDELETE /api/databases/:id- Delete a databasePOST /api/query- Execute SQL queriesGET /health- Health check endpoint
This project is configured for deployment on Smithery.ai. Follow these steps:
- Push your code to GitHub
- Connect your GitHub repository to Smithery.ai
- Configure your environment variables in Smithery.ai
- Deploy your application
MIT