4EVERLAND Hosting MCP Server

Overview

The 4EVERLAND Hosting MCP Server is a comprehensive implementation of the Model Context Protocol (MCP) designed to facilitate the instant deployment of AI-generated code to decentralized storage networks. This solution empowers developers to seamlessly publish applications on networks such as Greenfield, IPFS, and Arweave, combining the efficiency of AI workflows with the security and resilience of decentralized storage. Upon deployment, the system automatically generates a directly accessible webpage domain, eliminating the complexity typically associated with deploying decentralized applications. This streamlines the development-to-production pipeline, allowing creators to focus on building innovative solutions rather than managing infrastructure.

Core Features

1. Instant Deployment with Domain Generation

  • Deploy AI-generated code to decentralized storage networks with a single command

  • Automatically receive a unique, immediately accessible webpage domain for each deployment

  • Enables rapid iteration and sharing of applications without manual domain configuration

2. Multi-Network Decentralized Storage Support

  • Supports deployment to Greenfield, IPFS, and Arweave networks

  • Provides flexibility to choose the optimal storage solution based on project requirements

  • Ensures redundancy and resilience through decentralized infrastructure

3. Secure and Immutable Storage

  • Leverages the tamper-resistant nature of decentralized storage

  • Provides high availability and data durability

  • Eliminates single points of failure inherent in centralized hosting solutions

4. Visual Project Management Interface

  • Manage deployed projects through the intuitive 4EVERLAND Dashboard

  • View detailed deployment information and statistics

  • Configure custom domains directly from the management interface

MCP Tool: deploy_site

The deploy_site tool is the primary interface for deploying applications to the 4EVERLAND hosting platform. This command-line utility simplifies the deployment process with a straightforward parameter structure.

Parameters

Parameter

Type

Description

code_files

Record<string, string>

Map of file paths to their content

project_name

string

Project name (alphanumeric, underscore, hyphen; cannot start/end with hyphen)

project_id

string (optional)

Existing project ID to deploy to (new project created if omitted)

platform

"IPFS" | "AR" | "GREENFIELD"

Storage platform to deploy to (default: "IPFS")

Getting Started

Obtaining an Auth Token

  1. Log in to your 4EVERLAND Dashboard account

  2. Navigate to Hosting -> Auth Token

  3. Click "Create" to generate a new authentication token

  4. Copy and securely store the token (it will only be displayed once)

Integrations

Cursor Integration

  1. Open Cursor and go to Settings (gear icon in the top right)

  2. Click on "MCP" in the left sidebar

  3. Click "Add new global MCP server"

  4. Enter the following configuration:

{
  "mcpServers": {
    "4ever-mcpserver": {
      "command": "npx",
      "args": [
        "-y",
        "@4everland/hosting-mcp@latest",
        "serve"
      ],
      "env": {
        "TOKEN": "your-hosting-auth-token"
      }
    }
  }
}

Claude Desktop Integration

  1. Open Claude Desktop and go to Settings

  2. Click on "Developer" in the left sidebar

  3. Click the "Edit Config" button

  4. Add the following to claude_desktop_config.json:

{
  "mcpServers": {
    "4ever-mcpserver": {
      "command": "npx",
      "args": [
        "-y",
        "@4everland/hosting-mcp@latest",
        "serve"
      ],
      "env": {
        "TOKEN": "your-hosting-auth-token"
      }
    }
  }
}
  1. Save the file and restart Claude Desktop

Local Development

To run the server locally for development and testing:

# Clone repository
git clone https://github.com/4everland/4everland-hosting-mcp.git
cd 4everland-hosting-mcp

# Install dependencies
npm install

# Build the project
npm run build

# Run the server locally
npm run serve

Security Considerations

  • All deployments are secured using industry-standard encryption protocols

  • Auth tokens are treated as sensitive credentials and should be stored securely

  • The system implements role-based access control for project management

  • Decentralized storage ensures that data is stored across multiple nodes, reducing the risk of unauthorized access or data loss

Support and Community

For technical support, feature requests, or bug reports, please open an issue on the 4EVERLAND Hosting MCP GitHub repository.

If you have any questions, please join our Discord server, or send us an email at [email protected].

Last updated