Skip to content

MCP Server Configuration

Important

For security reasons, MCP is not available in non-HTTPS/non-localhost environments.

If you use MCP over HTTP, plaintext transmission may leak keys and create security risks for your server.

Prerequisites

  • Deploy OPanel version 2.0.0-pre5 or later (see the doc Quick Start)
  • Install Node.js 18+ and npm
  • An AI agent that can call MCP tools, such as Claude Code or OpenClaw (mcporter configuration required)

Deploy

  1. Open the "MCP" configuration page in OPanel

mcp-1

  1. Generate and copy the MCP access token

Important

Generating a new token will overwrite the existing access token.

mcp-2mcp-3

  1. Enable MCP

mcp-4

  1. Configure OPanel's MCP server in your AI agent

Fill in your server IP address for --server, and the newly generated access token for --token.

mcp-5

Usage

OPanel MCP currently supports most operations available in the OPanel panel, including basic server information retrieval, archive management, player management, game rule changes, server console control, and log retrieval.

You can now use natural language to let AI assist with server management!

Released under the MPL-2.0 License