Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FIVEM_ENHANCED_MCP_CACHE_DIRNoLocal normalized source cache directory. Defaults to platform cache directory.Platform cache directory
FIVEM_ENHANCED_MCP_REQUEST_TIMEOUT_MSNoOfficial-source request timeout in milliseconds. Defaults to 15000.15000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_fivem_docsA

Search a focused corpus loaded from official Cfx.re documentation. Use for GTAV Enhanced resource, runtime, NUI, networking, security, and performance questions.

get_nativeA

Look up an exact native name or hash in official sources. The caller must provide the execution API set; unknown identifiers return not_found.

get_platform_capabilitiesA

Return the verified GTAV Enhanced baseline and the context that must be known before writing code.

get_cef_targetA

Read and parse the current CEF/Chromium build pin from the official FiveM repository. Use before choosing an NUI browser target.

audit_nui_compatibilityA

Load FiveM's current CEF pin, then statically audit JavaScript, TypeScript, JSX, TSX, or CSS against that verified Chromium milestone. This is a heuristic build-time review, not a runtime browser test.

validate_fxmanifestA

Validate supplied fxmanifest.lua text for current Enhanced-only resource rules, compiled script outputs, NUI packaging, and deprecated or experimental fields.

review_resource_structureA

Review a supplied resource file list against the documented FiveM requirements and this project's explicit client/server/shared/NUI house standard.

review_event_securityA

Perform a static heuristic review of supplied code for untrusted network input, broadcasts, unstable source usage, and event-context mistakes.

review_state_bag_usageA

Perform a static heuristic review for nested State Bag serialization, scope-event scaling, and client replication risks.

create_performance_test_planA

Create a reproducible measurement plan using profiler, resmon, network, or NUI evidence. It never claims a speedup without measurements.

source_healthA

Report freshness, cache state, and errors for official sources checked by this MCP process.

refresh_sourcesA

Explicitly refresh the local cache from allowlisted official Cfx.re and citizenfx sources. It does not modify any FiveM project or external service.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
enhanced-scopeStable project scope and non-goals.
source-policyAllowlisted source hierarchy and trust boundary.

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/ghost-maxi/fivem-enhanced-mcp'

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