What is MCP
Model Context Protocol (MCP) is an open standard that lets AI editors connect to external tools. The Hostwares MCP server lets you deploy sites, manage databases, and troubleshoot — all from your AI editor using natural language.
Setup
1. Install the MCP server:
npm install -g hostwares-mcp
2. Get your API key from Dashboard → API Keys
3. Add to your editor config (see below)
Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"hostwares": {
"command": "hostwares-mcp",
"env": {
"HOSTWARES_API_KEY": "your-api-key"
}
}
}
}Then in Cursor chat: “Deploy this project to Hostwares” — it works.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"hostwares": {
"command": "hostwares-mcp",
"env": {
"HOSTWARES_API_KEY": "your-api-key"
}
}
}
}Works the same way in Windsurf, VS Code + Copilot, or any MCP-compatible tool.
Available Tools
| Tool | Description |
|---|---|
| deploy_site | Deploy from GitHub repo |
| list_sites | List all deployed sites |
| get_site_status | Check site status |
| restart_site | Restart a site |
| get_deployment_logs | View deploy logs |
| configure_domain | Set custom domain |
| update_env_vars | Set environment variables |
| deploy_database | Create managed database |
| list_databases | List databases |
| billing_summary | Check balance and billing |
| ask | Ask AI anything about your infrastructure |
Example prompts in any MCP editor: “Deploy my-app from github.com/user/repo to Hostwares”, “Why is my Hostwares site returning 502?”, “Set DATABASE_URL on my-app in Hostwares”