Skip to main content

Local MCP agent for FiveClaw — FiveM AI development tools

Project description

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 — and connects it to the FiveClaw cloud platform for FiveM-specific AI intelligence.

Install once. Works everywhere you code.


Quick Install

pip install fiveclaw-agent

You'll need a FiveClaw account and an API key from your dashboard.


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 on your machine
  │                             │
  │  ├─ 📁 Resource map + search│
  │  ├─ 🗃  MySQL queries        │
  │  ├─ 🖥  Server control       │
  │  ├─ 📋 Log reader           │
  │  ├─ 🔑 SSH tools            │
  │  ├─ 🚀 Deploy               │
  │  └─ 🧠 Persistent memory    │
  └──────────┬──────────────────┘
             │  HTTPS · your API key
             ▼
  ┌─────────────────────────────┐
  │   FiveClaw Platform         │
  │                             │
  │  ├─ fivem-mcp  (all plans)  │  6,400+ natives · ESX · QBCore · ox
  │  └─ ai-fivem-dev-mcp (Pro+) │  analysis · security · testing
  └─────────────────────────────┘

Your credentials never leave your machine. The agent only forwards tool requests to FiveClaw — it never uploads your code or files.


Local Tools

These run entirely on your machine.

Tool What it does
📂 repomap_generate Build a map of all resources in your server
🔍 tool_search Search Lua/JS files across your resources
tool_syntax_check Check Lua syntax (embedded LuaJIT — no external binary needed)
📋 read_latest_logs Tail FXServer and resource logs
🗃 tool_mysql_query Run queries against your FiveM MySQL database
🖥 tool_server_control Start, stop, restart the FXServer via txAdmin or custom panel
🔌 tool_resource_control Start/stop/restart individual resources
📡 tool_server_console Send console commands
🔑 tool_ssh_run/ls/read/write Full SSH access to your remote server
🚀 deploy_resource Deploy a resource directly to production
🧠 context_remember Store persistent notes across AI sessions
ℹ️ tool_platform_info Show configured OS, paths, and enabled services

Cloud Tools

Powered by FiveClaw. Requires an API key from fiveclaw.xyz.

fivem-mcp — included on all plans

📖 Native docs Full reference for all 6,400+ FiveM/GTA natives with examples
🏗 Framework docs ESX, QBCore, ox_lib, ox_core — guides, functions, patterns
💡 Best practices Lua performance, sync patterns, common pitfalls
⚠️ Error solutions Database of common FiveM errors with step-by-step fixes
🌐 Live CFX docs Fetch live documentation directly from CFX

ai-fivem-dev-mcp — Pro + Enterprise

🏥 Resource health Validate manifests, exports, load order
🛡 Security scanner Detect injection, auth bypass, and logic vulnerabilities
🎯 Event tracer Trace any event from trigger to handler across resources
🧪 Test engine Unit tests, event tests, database tests, coverage reports
📐 Pattern library Scaffold new resources from reusable team templates
🔍 Duplicate detector Find copy-pasted code across your codebase

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

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.
The fiveclaw-agent itself is open source. The cloud tools (fivem-mcp, ai-fivem-dev-mcp) are proprietary services accessed via API key.


Built by FiveClaw · Get the setup guide

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fiveclaw_agent-1.3.2.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fiveclaw_agent-1.3.2-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

Details for the file fiveclaw_agent-1.3.2.tar.gz.

File metadata

  • Download URL: fiveclaw_agent-1.3.2.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for fiveclaw_agent-1.3.2.tar.gz
Algorithm Hash digest
SHA256 b97eea31768cf40142f0a22e048fa6b25369dda57ed7e97c429c8e6152eebb9d
MD5 8e88ec91624538d8d5734a903551b63f
BLAKE2b-256 6f23b4c0e6b2d2097df1939b982efee3beba72e5daf09983d06b2012bbbc008c

See more details on using hashes here.

File details

Details for the file fiveclaw_agent-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: fiveclaw_agent-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for fiveclaw_agent-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3311a6ccd5c1e403caa68fae05741a750fe1dba01b41b9bce93add3dfafd7758
MD5 71efbe464028e9235fb9d13a3135ec01
BLAKE2b-256 c90693e2fa9ef4dbfb49702c88e3104fe9eb1160efbd7e13c879abc948bef05f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page