Skip to main content
Glama
Hareidus
by Hareidus

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RCON_HOSTNoRCON server hostnamelocalhost
RCON_PORTNoRCON server port25575
LOG_PREFIXNoPrefix for filtered log reading[TEST]
SERVER_DIRYesMinecraft server root directory
DATABASE_PATHNoPath to plugin SQLite database
RCON_PASSWORDYesRCON password

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
run_command

Execute an RCON command on the Minecraft server (without leading slash).

Examples: ``say Hello``, ``gamemode creative Steve``, ``tp Steve 0 64 0``
run_command_with_log

Execute an RCON command and capture server log output produced afterwards.

Useful for commands whose feedback appears in the server log rather than the RCON response (e.g. plugin commands that print results via logger). Args: command: The Minecraft command to execute. wait_seconds: Seconds to wait for log output after execution (default 2).
read_server_log

Read the last N lines from the Minecraft server log file.

Args: lines: Number of lines to read from the end of the log (default 50).
read_test_log

Read plugin test/debug logs filtered by a configurable prefix.

Only lines containing the configured LOG_PREFIX (default ``[TEST]``) are returned. Supports incremental reading: pass the ``position`` value from a previous call as ``since_position`` to only get new entries. Args: since_position: Byte offset to start reading from (0 = beginning). event_filter: Optional event type filter (e.g. ``PASS``, ``FAIL``, ``SUMMARY``). Only lines matching ``{prefix} {event_filter}`` are returned.
query_database

Execute a read-only SELECT query against the plugin's SQLite database.

Write operations (INSERT, UPDATE, DELETE, DROP, etc.) are blocked. Results are returned as a formatted ASCII table. Args: sql: A SELECT SQL statement.
check_plugin_status

Check overall plugin health: RCON connectivity, recent errors in the server log, and database file status.

Recommended to call before running tests or debugging.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Hareidus/Minecraft-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server