Rankings
Search
Advanced search Ctrl + K to open search

Connect AI to your Hytale server

Discover how to transform your Hytale server into an AI-controllable platform using the MCP plugin. Use ChatGPT, Claude, Codex or Gemini to automate building, administration and much more.

AI Control
ChatGPT Compatible
Claude Compatible
Automation

1. Introduction: AI at the Service of Your Hytale Server

The MCP (Model Context Protocol) plugin revolutionizes how you manage your Hytale server. It allows you to connect AI assistants like ChatGPT, Claude, Codex or Gemini directly to your server to automate complex tasks, build structures automatically or manage your server in natural language.

Main Benefit: No need to know complex commands: simply ask the AI what you want and it takes care of it!

2. What is the Model Context Protocol (MCP)?

MCP is a standardized protocol that allows AI assistants to communicate securely with external applications. For Hytale, this means your AI can see the server status, place blocks, manage players and execute commands.

Compatible AI Assistants
  • Claude (Anthropic) - Anthropic's assistant, excellent for complex tasks
  • ChatGPT (OpenAI) - OpenAI's AI, ideal for natural conversations
  • Codex - OpenAI application optimized for programming
  • Gemini (Google) - Google's AI, performant and versatile

3. Use Cases: What is this Plugin For?

  • Automated Building
    Ask the AI to build a castle, house or any structure. The AI calculates the necessary blocks and places them automatically.
  • Simplified Administration
    Manage players, check logs, broadcast messages... all in natural language.
  • Assisted Moderation
    Monitor server activity and make decisions with AI assistance.
  • Development and Testing
    Quickly test game mechanics or configurations without writing code.

4. Technical Requirements

  • Hytale Server: A working Hytale server (see our creation guide)
  • WebServer Plugin: The Nitrado WebServer plugin must be installed (mandatory dependency)
  • AI Assistant: An account on Claude, ChatGPT, Codex or Gemini
  • Network: HTTP/HTTPS access to your server from the internet
Important: The Nitrado WebServer plugin is essential because MCP communicates via HTTP.

5. Installing the MCP Plugin

1
Download the MCP plugin

Download the latest version of the MCP-*.jar file from CurseForge or GitHub.

Download MCP
2
Place the plugin

Copy the MCP-*.jar file into your Hytale server's mods/ folder.

mods/MCP-*.jar
3
Install the WebServer plugin

If not already done, also install the Nitrado WebServer plugin in the same mods/ folder.

4
Start the server

Launch your server. MCP will automatically generate its configuration file. The plugin will be accessible at the following URL:

http://your-server:port/Top-Games/MCP/mcp

6. Plugin Configuration

After the first start, edit the mods/MCP/config.json file to configure authentication tokens and permissions.

mods/MCP/config.json
{
  "auth": {
    "enabled": true,
    "adminTokens": ["your-admin-token-here"],
    "playerTokens": ["your-player-token-here"]
  },
  "maxBlocksBatch": 1000,
  "adminPermissions": {
    "set_block": true,
    "set_blocks": true,
    "flatten_terrain": true,
    "execute_command": true,
    "list_players": true,
    "send_message": true,
    "broadcast_message": true,
    "get_player_position": true,
    "list_blocks": true,
    "get_server_logs": true,
    "get_world_info": true,
    "give_item": true
  },
  "playerPermissions": {
    "set_block": false,
    "set_blocks": false,
    "flatten_terrain": false,
    "execute_command": false,
    "list_players": false,
    "send_message": false,
    "broadcast_message": false,
    "get_player_position": false,
    "list_blocks": false,
    "get_server_logs": false,
    "get_world_info": false,
    "give_item": false
  }
}
Important Security
Warning: Generate complex tokens and never share them publicly. Admin tokens give full control over your server.

7. Configure Your AI Assistants

Configuration for Codex (OpenAI)

In the Codex application, add an MCP server with the following settings:

MCP Configuration
{
  "mcpServers": {
    "hytale-server": {
      "url": "http://your-server:port/Top-Games/MCP/mcp",
      "headers": {
        "Authorization": "Bearer your-admin-token"
      }
    }
  }
}
Configuration for Claude Desktop

Add the following configuration to the Claude Desktop configuration file:

Claude Configuration
{
  "url": "http://your-server:port/Top-Games/MCP/mcp",
  "auth": {
    "type": "bearer",
    "token": "your-admin-token"
  }
}
Configuration for ChatGPT

For ChatGPT, use the OpenAI API with a compatible MCP client or configure via the Custom Actions interface.

8. Available Features

Building and Terrain
  • Place a block at precise coordinates
  • Place multiple blocks in a single operation (up to 1000)
  • Flatten a rectangular area at a given height
  • Search and list available block types
Player Management
  • View list of connected players
  • Get a player's position and rotation
  • Send a private message to a player
  • Give items to a player
Server Administration
  • Execute any server command
  • Broadcast a message to all players
  • View server logs with filtering
  • Get information about the current world

9. MCP Commands and Tools

Here are the main tools the AI can use via MCP:

Tool Description
set_block Places a single block at x, y, z coordinates
set_blocks Places multiple blocks at once (batch operation)
flatten_terrain Flattens a rectangular area to prepare terrain
list_players Lists all connected players with their information
list_blocks Searches the available block catalog
execute_command Executes an arbitrary server command

10. Practical Usage Examples

Example 1: Build a House

Prompt: "Build me a small wooden house with windows and a door at coordinates X:100, Y:64, Z:200"

The AI analyzes the request, chooses the right block types (planks, glass, door) and automatically builds the structure.
Example 2: Prepare Flat Terrain

Prompt: "Flatten the terrain from X:0 to X:50 and Z:0 to Z:50 at height Y:70"

The AI uses flatten_terrain to create a perfectly flat platform.
Example 3: Send Welcome Message

Prompt: "Send a welcome message to all new players"

The AI lists players and broadcasts a personalized message.

11. Frequently Asked Questions

Yes, the MCP plugin is open source and free. However, using AI assistants (ChatGPT, Claude, etc.) may require a subscription depending on the provider.

Permissions are configurable. You can limit the AI's actions to non-destructive operations if you wish. Always make regular backups.

Claude excels at complex building tasks, ChatGPT is excellent for natural conversations, and Codex is optimal for developers.

Yes, you can configure multiple tokens and connect different AI assistants at the same time.

Use complex tokens, enable authentication, limit permissions and only expose the port via HTTPS if possible.

Ready to Automate Your Hytale Server?

Discover the best Hytale servers from the community or add yours to gain visibility.

Conclusion

The MCP plugin transforms your Hytale server into an intelligent AI-controllable platform. Whether you're an administrator looking to automate repetitive tasks or a builder wanting to create complex structures quickly, MCP with ChatGPT, Claude or Codex opens exciting new possibilities. Remember to always secure your tokens and test features in a development environment before deploying to production.

Information

Game: Hytale
Type: MCP Plugin
AI Compatibility: Claude, ChatGPT, Codex, Gemini
Dependency: Nitrado WebServer

Installation Checklist

  1. Install Nitrado WebServer plugin
  2. Download and install MCP
  3. Configure authentication tokens
  4. Configure your AI assistant (Codex, Claude...)
  5. Test the connection
  6. Experiment with simple commands