Sponsored by Deepsite.site

HostBridge MCP Server

Created By
elblanco29 months ago
MCP server for simplified framework deployments on shared hosting environments
Content

HostBridge MCP Server

A Model Context Protocol (MCP) server that simplifies framework deployments on various hosting environments.

Overview

HostBridge bridges the gap between Large Language Models (LLMs) and hosting environments, allowing novice developers to deploy web applications easily through conversational interfaces. It implements the Model Context Protocol (MCP) to expose tools, resources, and prompts that guide users through the deployment process.

Key Features

  • Framework Support: Deploy Wasp applications with ease, with planned support for more frameworks
  • Multi-Provider: Support for Netlify, Vercel, traditional shared hosting environments, and Hostm.com
  • Guided Deployments: Prompts to guide users through the deployment process
  • Authentication Management: Secure storage of hosting provider credentials
  • Troubleshooting: Built-in tools to diagnose and fix common deployment issues
  • Windsurf Integration: Seamless handoff to Windsurf (Codeium's VS Code) for continued development

Status

This project is currently in early development. Contributions and feedback are welcome!

Getting Started

Prerequisites

  • Python 3.10+
  • MCP Client (e.g., Claude Desktop)
  • Hosting provider accounts as needed

Installation

# Clone the repository
git clone https://github.com/elblanco2/hostbridge-mcp.git
cd hostbridge-mcp

# Create a virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Install the package in development mode
pip install -e .

Configuration

Create a .env file with your configuration:

SECURE_STORAGE_PATH=~/.hostbridge/credentials

Usage

Running from command line

# Start the server directly
hostbridge

# With debug logging
hostbridge --debug

# With a custom storage path
hostbridge --secure-storage-path=/path/to/credentials

Using with Claude Desktop

  1. Edit your Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add HostBridge server configuration:

{
  "mcpServers": {
    "hostbridge": {
      "command": "python",
      "args": [
        "-m",
        "hostbridge",
        "--debug"
      ]
    }
  }
}
  1. Restart Claude Desktop.

  2. Start conversations with Claude about deploying your applications!

Using with Windsurf (Codeium)

The HostBridge MCP server includes special integration with Windsurf, Codeium's version of VS Code, to provide a seamless development experience after deployment:

  1. Deploy your application using HostBridge.
  2. Use the "windsurf-handoff" prompt to transition to Windsurf for continued development.
  3. Windsurf's AI Flow feature will guide you through adding features and improving your application.

Example conversation with Claude:

User: I've deployed my Wasp app to Netlify. Now I want to continue development in Windsurf.

Claude: I'll help you transition to Windsurf for continued development. [Uses windsurf-handoff prompt]

[Claude guides the user through setting up Windsurf with the project, configuring AI Flow, and starting development]

Architecture

HostBridge is built on a modular architecture:

  • Credentials Manager: Securely stores and retrieves provider credentials
  • Framework Handlers: Framework-specific deployment logic
  • Hosting Providers: Provider-specific deployment operations
  • MCP Interface: Exposes tools, resources, and prompts via the Model Context Protocol

Supported Providers

ProviderStatusFeatures
Netlify✅ CompleteServerless, Edge, Forms
Vercel✅ CompleteServerless, Edge, Analytics
Shared Hosting✅ CompleteSSH/SFTP, PHP, MySQL
Hostm.com✅ CompleteShared Hosting, API Access

Supported Frameworks

FrameworkStatusFeatures
Wasp✅ CompleteFull-Stack JS Framework
Next.js🚧 PlannedReact Framework
Astro🚧 PlannedStatic Site Generator

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Development

# Install development dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Run linting
flake8

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Model Context Protocol for enabling this integration
  • Wasp for the excellent framework used in our initial support
  • Windsurf for AI-powered development environment integration
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Serper MCP ServerA Serper MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
DeepChatYour AI Partner on Desktop
Tavily Mcp
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
CursorThe AI Code Editor
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Amap Maps高德地图官方 MCP Server
Playwright McpPlaywright MCP server
ChatWiseThe second fastest AI chatbot™
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.