FiveM Enhanced MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FIVEM_ENHANCED_MCP_CACHE_DIR | No | Local normalized source cache directory. Defaults to platform cache directory. | Platform cache directory |
| FIVEM_ENHANCED_MCP_REQUEST_TIMEOUT_MS | No | Official-source request timeout in milliseconds. Defaults to 15000. | 15000 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| enhanced-scope | Stable project scope and non-goals. |
| source-policy | Allowlisted source hierarchy and trust boundary. |
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/ghost-maxi/fivem-enhanced-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server