yafmcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FIVEM_QUIET_MS | No | Silence in milliseconds on the console that closes command output capture. | 900 |
| FIVEM_SERVER_URL | No | The base URL of the FiveM server. | http://127.0.0.1:30120 |
| FIVEM_TIMEOUT_MS | No | Maximum time in milliseconds to wait for command output. | 10000 |
| FIVEM_TXADMIN_URL | No | The base URL of the txAdmin panel. | http://127.0.0.1:40120 |
| FIVEM_DEFAULT_PATH | No | The default folder used when creating a dedicated Clink agent. | ~/fx-panel |
| FIVEM_TXADMIN_PASS | Yes | The password for the txAdmin user. | |
| FIVEM_TXADMIN_USER | Yes | The txAdmin username with console.view and console.write permissions. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fivem_commandB | Executa um comando no console do FXServer e devolve o que o console imprimiu. Aceita qualquer comando do servidor (status, refresh, ensure/restart/stop , say, kick, set/setr , svgm, etc.). A captura fecha quando o console fica quieto; comandos que demoram para responder pedem timeoutMs maior. |
| fivem_consoleA | Últimas linhas do console do servidor capturadas por esta sessão, com filtro opcional por regex. Use depois de um comando que continua imprimindo, ou para investigar erros. |
| fivem_statusA | Estado do servidor: se está no ar, hostname, jogadores online, slots, game build e quantidade de resources. Lê os endpoints públicos do próprio FXServer. |
| fivem_playersA | Lista os jogadores online com id, nome, ping e identificadores. |
| fivem_server_controlA | start, stop ou restart do FXServer pelo txAdmin. Derruba todo mundo que estiver online — para recarregar um resource use fivem_command com "restart ". |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct concern: command execution, console inspection, server status, player listing, and server lifecycle control. The only slight overlap is between fivem_command and fivem_server_control, but the description explicitly clarifies when to use each.
All tools share the fivem_ prefix and use a noun-based naming pattern (command, console, status, players, server_control). The pattern is consistent, though fivem_server_control is a compound noun while the others are single nouns.
Five tools is a well-scoped set for a FiveM server management MCP. Each tool covers a distinct operational need without redundancy or bloat.
The set covers the core server management workflows: executing commands, reading console output, checking status, listing players, and controlling the server process. Minor gaps exist (e.g., no direct resource listing or player kick tool), but these can be accomplished via fivem_command.