返回 MCP 目录
public公开dns本地运行

主机桥-MCP

一个帮助新手开发者通过对话界面部署Web应用的MCP服务器,弥合了大语言模型和各种托管环境之间的差距。

article

README

Arc MCP Server

A Model Context Protocol (MCP) server that simplifies framework deployments on various hosting environments, with a focus on shared hosting.

Overview

Arc 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
  • Focused on Shared Hosting: Simplified deployment to traditional shared hosting environments

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/arc-mcp.git
cd arc-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=~/.arc/credentials

Usage

Running from command line

# Start the server directly
arc

# With debug logging
arc --debug

# With a custom storage path
arc --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 Arc server configuration:

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

  2. Start conversations with Claude about deploying your applications!

Architecture

Arc 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

| Provider | Status | Features | |----------|--------|------------| | Netlify | ✅ Complete | Serverless, Edge, Forms | | Vercel | ✅ Complete | Serverless, Edge, Analytics | | Shared Hosting | ✅ Complete | SSH/SFTP, PHP, MySQL | | Hostm.com | ✅ Complete | Shared Hosting, API Access |

Supported Frameworks

| Framework | Status | Features | |-----------|--------|------------| | Wasp | ✅ Complete | Full-Stack JS Framework | | Next.js | 🚧 Planned | React Framework | | Astro | 🚧 Planned | Static 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

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端