FiveM MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FIVEM_MCP_ALLOWED_DIRS | Yes | Semicolon-separated list of directories the server is allowed to read/write (e.g., D:\FiveM\server-data\resources;D:\FiveM\server-data\resources\[local]) |
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
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fs.listA | Lista arquivos e pastas dentro das roots permitidas por FIVEM_MCP_ALLOWED_DIRS. |
| fs.read_textB | Lê um arquivo de texto e retorna conteúdo, tamanho e hash SHA256. |
| fs.write_textA | Escreve um arquivo de texto com validação opcional de hash para edição assertiva. |
| fs.edit_linesC | Aplica mudanças por intervalo de linhas, ideal para alterações mais assertivas em resources. |
| fs.mkdirpA | Cria diretórios recursivamente dentro das roots permitidas. |
| fivem.resource_createB | Cria um resource base em Lua com fxmanifest, client/server e scaffold opcional de NUI. |
| fivem.resource_inspectC | Analisa o fxmanifest.lua e retorna client scripts, server scripts e ui_page. |
| fivem.ui_addC | Garante ui_page e files no fxmanifest e pode criar a pasta html com scaffold funcional. |
| fivem.framework_detectA | Faz heurística para identificar se o resource usa qb-core, esx ou standalone. |
| fivem.resource_auditA | Inspeciona manifest, arquivos NUI e callbacks client-side para apontar problemas e sugestões. |
| fivem.ui_scaffoldC | Gera ou sobrescreve o bundle de UI do resource com variantes modal, hud ou inventory. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| fivem-ui-task | Prompt base para tarefas de NUI com foco em escolha de template, tema e estrutura visual. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| fivem-core-notes | Resumo curto com os pontos mais importantes de resource e NUI. |
| fivem-ui-patterns | Guia curto sobre as variantes de UI do scaffold e a ordem recomendada de uso das tools. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/999luan/FivemMcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server