Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CRAFTY_URLYesCrafty Controller base URL (e.g. https://localhost:8443)
CRAFTY_TIMEOUTNoRequest timeout in milliseconds (default: 30000)30000
CRAFTY_API_TOKENNoBearer token from Crafty UI. Optional if you authenticate dynamically using the crafty_login tool, but recommended for most setups.
CRAFTY_ALLOW_INSECURENoSet to true to allow self-signed certificates (Crafty's default)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
crafty_loginA

Login with username and password to get a bearer token. Use this if you prefer username/password authentication over a pre-generated API token.

crafty_api_infoA

Get Crafty Controller API version information and message of the day (MOTD). Does not require authentication.

crafty_list_schemasA

List all available JSON schema names in Crafty Controller. Does not require authentication.

crafty_get_schemaA

Get a specific JSON schema by name from Crafty Controller. Use crafty_list_schemas to discover available schema names.

crafty_get_statsB

Get Crafty Controller host system stats: CPU usage/count/frequency, RAM usage/total/percent, disk data (device, total, used, free, percent, filesystem, mount), and boot time

crafty_get_configB

Get Crafty Controller panel configuration settings

crafty_update_configC

Update Crafty Controller panel configuration settings

server_listA

List all Minecraft servers managed by Crafty Controller with their IDs, names, types, ports, and configurations

server_getC

Get full configuration details for a specific Minecraft server

server_createC

Create a new Minecraft server in Crafty Controller. Supports Java (download jar or import), Bedrock, and custom server types.

server_updateC

Update a Minecraft server's configuration (name, ports, auto-start, crash detection, stop command, etc.)

server_deleteC

Delete a Minecraft server from Crafty Controller

server_startC

Start a Minecraft server

server_stopA

Stop a Minecraft server (sends configured stop command)

server_restartC

Restart a Minecraft server

server_killB

Force-kill a Minecraft server process immediately

server_backupB

Trigger an immediate backup of a Minecraft server's files

server_update_executableC

Update the server jar/executable from the configured download URL

server_cloneB

Clone an existing Minecraft server (server must not be running)

server_send_commandA

Send a command to a running Minecraft server's console. Examples: 'say Hello everyone!', 'op PlayerName', 'whitelist add Player', 'gamemode creative Player', 'time set day', 'weather clear'

server_get_logsC

Get a Minecraft server's console logs as an array of log lines

server_get_statsA

Get live runtime statistics for a Minecraft server including CPU/RAM usage, online player count and list, world name/size, MOTD, version, and whether it is running

server_get_historyA

Get historical runtime statistics for a Minecraft server (CPU, RAM over time, useful for graphing trends)

server_list_filesB

List files and directories in a Minecraft server's directory

server_get_fileB

Read the contents of a file on a Minecraft server (e.g., server.properties, ops.json, whitelist.json)

server_update_fileC

Write or update a file on the Minecraft server (e.g., server.properties, ops.json, whitelist.json)

server_delete_fileC

Delete one or more files or directories from a Minecraft server

server_create_fileC

Create a new file on a Minecraft server

server_create_directoryC

Create a new directory on a Minecraft server

server_rename_fileC

Rename or move a file or directory on a Minecraft server

server_decompress_fileC

Decompress/unzip an archive file on a Minecraft server

server_list_backupsB

List all backups for a Minecraft server with timestamps and sizes

server_get_backup_configB

Get backup configuration for a Minecraft server (compression, exclusions, schedule, max backups)

server_update_backup_configC

Update backup configuration for a Minecraft server

server_restore_backupC

Restore a specific backup for a Minecraft server

server_delete_backupC

Delete a specific backup for a Minecraft server

server_list_tasksB

List all scheduled tasks for a Minecraft server

server_get_taskB

Get configuration for a specific scheduled task

server_create_taskA

Create a scheduled task for a Minecraft server. Use interval_type with interval for simple schedules (e.g., every 6 hours), or set cron_string with empty interval_type for cron-based schedules (e.g., '0 3 * * *' for 3 AM daily).

server_update_taskC

Update an existing scheduled task for a Minecraft server

server_delete_taskC

Delete a scheduled task from a Minecraft server

server_run_taskC

Manually trigger a scheduled task immediately

server_list_webhooksC

List all webhooks configured for a Minecraft server

server_get_webhookC

Get details for a specific webhook

server_create_webhookC

Create a new webhook for a Minecraft server. Supports Discord and other webhook types. Trigger events: server_start, server_stop, server_backup, player_join, player_leave, etc.

server_update_webhookC

Update an existing webhook for a Minecraft server

server_delete_webhookC

Delete a webhook from a Minecraft server

server_test_webhookC

Send a test message to verify a webhook is working

user_listB

List all Crafty Controller users. Returns user_id, username, enabled, superuser, lang, and creation date.

user_getA

Get details for a specific Crafty Controller user. Use '@me' as user_id to get the currently authenticated user.

user_createA

Create a new Crafty Controller user account. Requires superuser privileges.

user_updateC

Update a Crafty Controller user account

user_deleteA

Permanently delete a Crafty Controller user account. Requires superuser privileges.

user_get_permissionsC

Get a user's Crafty and per-server permissions

user_update_permissionsC

Update a user's Crafty and per-server permissions

user_get_api_keysC

List API keys for a Crafty Controller user

user_create_api_keyC

Generate a new API key for a Crafty Controller user

user_delete_api_keyC

Revoke/delete an API key for a Crafty Controller user

role_listB

List all roles in Crafty Controller

role_getB

Get details for a specific role

role_createC

Create a new role in Crafty Controller

role_updateC

Update an existing role in Crafty Controller

role_deleteC

Delete a role from Crafty Controller

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/HadiCherkaoui/crafty-mcp'

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