Skip to main content

FiveClaw

███████╗██╗██╗   ██╗███████╗ ██████╗██╗      █████╗ ██╗    ██╗
██╔════╝██║██║   ██║██╔════╝██╔════╝██║     ██╔══██╗██║    ██║
█████╗  ██║██║   ██║█████╗  ██║     ██║     ███████║██║ █╗ ██║
██╔══╝  ██║╚██╗ ██╔╝██╔══╝  ██║     ██║     ██╔══██║██║███╗██║
██║     ██║ ╚████╔╝ ███████╗╚██████╗███████╗██║  ██║╚███╔███╔╝
╚═╝     ╚═╝  ╚═══╝  ╚══════╝ ╚═════╝╚══════╝╚═╝  ╚═╝ ╚══╝╚══╝

The local AI bridge between your FiveM server and your IDE.

Linux supported Windows supported Python 3.10+ License: MIT

Website · Setup Guide · Pricing


What is this?

fiveclaw-agent is a local MCP server that runs on your machine alongside your FiveM server. It gives your AI client (Claude Code, Cursor, Windsurf, etc.) direct access to your server's files, logs, MySQL database, SSH, and txAdmin — plus a full local toolkit for FiveM analysis: security scanning, resource validation, anti-pattern and duplicate detection, event tracing, dependency graphs, and more.

Everything runs on your machine. No API key required to get started. An optional free FiveClaw account adds the cloud docs library — 6,400+ FiveM/GTA natives and framework references (ESX, QBCore, ox).

Install once. Works everywhere you code.


Quick Install

pip install fiveclaw-agent

That's it — every analysis and server tool runs locally with no account. Want native/framework docs too? Grab a free API key and add it to your config.


Configuration

The easiest way to get your MCP config is the interactive setup wizard at:

👉 fiveclaw.xyz/dashboard/download

It generates the exact JSON for your AI client (Claude Code, Cursor, Windsurf, Kilo Code, Gemini CLI) based on your OS, server details, and plan — including Windows-specific settings, SSH, MySQL, txAdmin, and custom panel options.


How it works

  ┌─────────────────────────────┐
  │   Your IDE / AI Client      │  Claude Code · Cursor · Windsurf
  │   (MCP-compatible)          │  Kilo Code · Gemini CLI
  └──────────┬──────────────────┘
             │  stdio / MCP protocol
             ▼
  ┌─────────────────────────────┐
  │      fiveclaw-agent         │  ← runs locally · no key needed
  │                             │
  │  ├─ 🛡  Security & analysis  │  scan · validate · trace · deps
  │  ├─ 📁 Resource map + search│
  │  ├─ 🗃  MySQL queries        │
  │  ├─ 🖥  Server control       │
  │  ├─ 📋 Log reader           │
  │  ├─ 🔑 SSH + deploy         │
  │  └─ 🧠 Persistent memory    │
  └──────────┬──────────────────┘
             │  HTTPS · free API key (docs only)
             ▼
  ┌─────────────────────────────┐
  │   FiveClaw Docs             │  6,400+ natives · ESX · QBCore · ox
  │   (free with an account)    │  framework refs · best practices
  └─────────────────────────────┘

Your credentials and code never leave your machine — the analysis runs locally. Only native/framework doc lookups reach FiveClaw, and those never include your code.


Tools

Everything below runs locally on your machine, no API key needed, except the FiveClaw Docs section at the end.

Analysis (local)

Tool What it does
🛡 scan_security / scan_security_all Detect injection, auth bypass, and logic vulnerabilities
🏥 resource_health_check Validate manifest, syntax, NUI build, dependencies
✅ tool_validate_resource Full resource validation (fxmanifest, Lua syntax, structure)
🎯 trace_event_flow Trace any event from trigger to handler across resources
🗺 show_dependency_graph Map every resource dependency across your server
🔎 detect_anti_patterns / detect_duplicate_code Flag common FiveM mistakes and copy-pasted logic
📐 validate_load_order / validate_export_contracts Catch load-order and export/import mismatches
🔗 find_exports / find_event_handlers / find_triggers Locate exports, handlers, and triggers anywhere
🧩 pattern_list / pattern_apply Scaffold resources from reusable templates
✅ tool_syntax_check Check Lua syntax (built-in checker — no external binary needed)

Server & files (local)

Tool What it does
📂 repomap_generate / tool_search Map and search all resources in your server
🗃 tool_mysql_query / mysql_list_databases / mysql_visualize_schema Query and inspect your FiveM MySQL databases
🖥 tool_server_control / tool_resource_control Start, stop, restart the FXServer or individual resources
📡 tool_server_console Send console commands
📋 read_latest_logs Tail FXServer and resource logs
🔑 tool_ssh_run/ls/read/write · 🚀 deploy_resource Full SSH access and deploy to your remote server
🧠 context_remember / context_recall Persistent notes across AI sessions
ℹ️ tool_platform_info Show configured OS, paths, and enabled services

FiveClaw Docs (cloud — free with an account)

Native and framework reference, accessed with a free API key. Your code is never sent — these are read-only doc lookups.

📖 fivem_native Full reference for all 6,400+ FiveM/GTA natives with examples
🏗 fivem_get_framework_docs ESX, QBCore, ox_lib, ox_core — guides, functions, patterns
💡 fivem_get_best_practice Lua performance, sync patterns, common pitfalls
⚠️ fivem_get_error_solution Common FiveM errors with step-by-step fixes
🌐 fivem_fetch_live_natives Fetch live documentation directly from CFX

Supported AI Clients

Client Config file
Claude Code Project: .mcp.json · Global: ~/.claude.json
Cursor Project: .cursor/mcp.json · Global: ~/.cursor/mcp.json
Windsurf ~/.codeium/windsurf/mcp_config.json
Kilo Code Project: .kilocode/mcp.json · Global: extension settings
Gemini CLI ~/.gemini/settings.json — merge mcpServers key

Platform Support

Environment Status
Linux ✅ Fully supported
macOS ✅ Fully supported
Windows ✅ Fully supported

MySQL and Lua syntax checking work out of the box on every OS — the agent ships a built-in MySQL client and Lua checker, so there's no MariaDB/luac install or path setup.

Windows note: Use python -u -m fiveclaw_agent as the command (not the fiveclaw entry point) to avoid pipe-buffering issues. The setup wizard handles this automatically.


Requirements


License

MIT — free to use, fork, and modify. Every tool in this package is open source and runs locally. The FiveClaw Docs service (native/framework reference) is a separate hosted service accessed with a free account key.


Built by FiveClaw · Get the setup guide

Metadata

Release files for fiveclaw-agent 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fiveclaw-agent 1.4.1
File Size Uploaded
fiveclaw_agent-1.4.1.tar.gz 82.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fiveclaw-agent 1.4.1
File Interpreter ABI Platform
fiveclaw_agent-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 167.1 kB

Release files / fiveclaw_agent-1.4.1.tar.gz

Download URL fiveclaw_agent-1.4.1.tar.gz
Size 82.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6410ca930cf76dd1108b422c88cb3efe7b7ba02c039f09268661bce959e57387
BLAKE2b-256 checksum
How to use checksums
e545d6874a3b856502e295402c8c28172fa35842df8030fd8426fda7c00efb72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / fiveclaw_agent-1.4.1-py3-none-any.whl

Download URL fiveclaw_agent-1.4.1-py3-none-any.whl
Size 84.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebd9bce56e88cd25d798ac0038d5b38f16d740bac674e17e37257ab563f7a3da
BLAKE2b-256 checksum
How to use checksums
8751de89737206f08b218ad5e6ae455206cd17545453e327b4e561ce3f6b42ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

1.4.0

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

1 release file

1.3.0

1 release file

1.2.9

1 release file

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page