SJ RedM MCP Server
Provides access to the RDR3 Discoveries GitHub repository for searching game assets, textures, ped models, controls, scenarios, animations, and reading repository files and structure.
Offers oxmysql documentation and query tools for database operations in RedM development, including player data management and database interactions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SJ RedM MCP Server how do I spawn a horse in VORP?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SJ RedM MCP Server
A unified "Swiss Army knife" MCP (Model Context Protocol) server for RedM development that combines RDR3 discoveries, framework documentation (VORP/RSGCore), native functions, and database operations into one powerful tool.
Features
π RDR3 Discoveries Integration
Search the comprehensive RDR3 discoveries GitHub repository
Access game assets, textures, ped models, controls, scenarios, and animations
Get Lua code examples for specific topics
Browse repository structure and read files directly
π Framework Documentation
VORP Framework: Complete documentation including core, characters, inventory, menu, metabolism, and more
RSGCore Framework: Client/server events and functions documentation
oxmysql: Database operations and query documentation
Smart context loading - mention "vorp" or "rsg" to auto-load relevant docs
β‘ Native Functions Database
86+ namespaces covering all RDR3 game systems
221+ documentation files with comprehensive native details
Search natives by name or functionality
Get detailed parameter information and usage examples
Prefer direct calls over hashes with hash comments for Lua scripting
π§ Smart Context Loading
Automatically detects framework mentions and loads relevant documentation
Context-aware suggestions based on your queries
Intelligent module activation for optimal performance
Related MCP server: Peak Studios Agent Toolkit MCP Server
Installation
Prerequisites
Node.js 16.0.0 or higher
Claude Desktop application OR Claude Code CLI
Quick Setup
Navigate to the directory:
cd "/path/to/sj-redm-mcp"Install dependencies:
npm installChoose your setup method:
Option A: Claude Code CLI Setup (Recommended)
Add the MCP server:
claude mcp add sj-redm-mcp node "/absolute/path/to/sj-redm-mcp/index.js"Set GitHub token (optional but recommended):
claude mcp add-json sj-redm-mcp '{ "command": "node", "args": ["/absolute/path/to/sj-redm-mcp/index.js"], "env": { "GITHUB_TOKEN": "your-github-token-here" } }'Verify the server is configured:
claude mcp list
Alternative: Project-level configuration
The repository includes a .mcp.json file for project-level configuration. When working in this directory, Claude Code CLI will automatically detect and use the MCP server.
Option B: Claude Desktop Setup
Configure Claude Desktop:
Add the following to your Claude Desktop configuration file:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:~/Library/Application Support/Claude/claude_desktop_config.json{ "mcpServers": { "sj-redm-mcp": { "command": "node", "args": ["/absolute/path/to/sj-redm-mcp/index.js"], "env": { "GITHUB_TOKEN": "your-github-token-here" } } } }Note: GitHub token is optional but recommended for higher API rate limits.
Restart Claude Desktop
Available Tools
RDR3 Discoveries Tools
redm-search-discoveries: Search the RDR3 discoveries repositoryredm-read-discovery-file: Read specific files from the repositoryredm-list-discovery-dirs: List directory contentsredm-get-lua-examples: Find Lua code examples by topic
Framework Documentation Tools
redm-search-framework-docs: Search VORP and RSGCore documentationredm-get-vorp-docs: Get all VORP framework documentationredm-get-rsgcore-docs: Get all RSGCore framework documentationredm-get-oxmysql-docs: Get database operation documentation
Native Functions Tools
redm-search-natives: Search for native functions by nameredm-get-native-details: Get detailed native function informationredm-list-native-namespaces: List all available namespacesredm-browse-namespace: Browse natives within a specific namespace
Smart Tools
redm-get-smart-context: Get intelligent context based on your query
Usage Examples
Framework Development
"How do I create a character in VORP?"
β Automatically loads VORP docs + oxmysql docs"Show me RSGCore server events for player management"
β Loads RSGCore documentation with server eventsGame Asset Research
"Find texture information for horse models"
β Uses RDR3 discoveries for asset research"Get animation examples for ped interactions"
β Searches discoveries repo for animation scriptsNative Function Development
"How do I use SET_PED_COMPONENT_VARIATION native?"
β Returns detailed native info with parameters and Lua example"Search for vehicle-related natives in VEHICLE namespace"
β Lists relevant vehicle natives with usage detailsDatabase Operations
"How do I insert player data into database?"
β Includes oxmysql documentation automaticallySmart Context Features
The MCP server intelligently loads relevant documentation based on your queries:
VORP mentions: Auto-loads complete VORP docs + oxmysql docs
RSG/RSGCore mentions: Auto-loads complete RSGCore docs + oxmysql docs
Asset research terms (texture, ped, animation, etc.): Prioritizes RDR3 discoveries
Native/scripting terms: Activates native function database
Database terms: Includes oxmysql documentation
Documentation Structure
sj-redm-mcp/
βββ docs/
β βββ vorp/ # VORP framework documentation
β β βββ vorp_core_docs.md
β β βββ vorp_characters_docs.md
β β βββ vorp_inventory_docs.md
β β βββ ...
β βββ rsgcore/ # RSGCore framework documentation
β β βββ rsgcore_client_events.md
β β βββ rsgcore_server_events.md
β β βββ ...
β βββ natives/ # RDR3 native functions (86+ namespaces)
β β βββ ENTITY/
β β βββ PLAYER/
β β βββ VEHICLE/
β β βββ ...
β βββ oxmysql_documentation.md # Database operations
βββ cache/ # Performance cache
βββ package.json
βββ index.js # Main MCP server
βββ README.mdNative Function Features
Direct Call Preference: Uses function names instead of hashes
Hash Comments: Includes hash values as comments for reference
Parameter Details: Complete parameter information and types
Lua Examples: Working code examples for each native
86+ Namespaces: Complete coverage of all RDR3 systems
Example native output:
-- Set ped component variation
Ped.SetPedComponentVariation(ped, componentId, drawableId, textureId, paletteId) -- 0x262B14F48D29DE80Troubleshooting
Common Issues
"Module not found" errors
Ensure you ran
npm installin the correct directoryCheck that Node.js version is 16.0.0 or higher
GitHub API rate limiting
Add a GitHub token to your configuration for higher limits
Public repositories have lower rate limits without authentication
Claude Desktop not recognizing server
Verify the absolute path in your configuration
Ensure JSON syntax is valid in claude_desktop_config.json
Restart Claude Desktop after configuration changes
Claude Code CLI not recognizing server
Run
claude mcp listto verify the server is configuredCheck that the absolute path in your configuration is correct
If using project-level config, ensure you're in the correct directory
Run
claude mcp remove sj-redm-mcpand re-add if needed
Documentation not loading
Check that all documentation files are in the docs/ directory
Verify file permissions allow reading
Performance Tips
The server uses intelligent caching for better performance
Native function index is built on first use and cached
Framework documentation is cached after first load
Use specific namespace searches for faster native function lookups
Contributing
This MCP server combines functionality from multiple sources:
RDR3 Discoveries - Game research and documentation
VORP Framework - RedM framework documentation
RSGCore Framework - Alternative RedM framework
RDR3 Natives Database - Comprehensive native function documentation
License
MIT License - Feel free to use and modify for your RedM development needs.
Support
For issues or questions:
Check the troubleshooting section above
Verify your Claude Desktop configuration
Ensure all dependencies are properly installed
Test individual tools using the available commands
Changelog
v1.0.0
Initial unified release
Combined 3 separate MCPs into one
Added smart context loading
Implemented consistent tool naming with "redm-" prefix
Single installation process
Comprehensive documentation coverage
Available Tools
13 toolsredm-browse-namespaceC
Browse native functions within a specific namespace
Inputs: namespace (required), page.
redm-get-lua-examplesB
Find Lua code examples in the RDR3 discoveries repository
Inputs: topic (required).
redm-get-native-detailsB
Get detailed information about a specific native function
Inputs: nativeName (required), namespace.
redm-get-oxmysql-docsB
Get oxmysql documentation for database operations
Inputs: no named parameters.
redm-get-rsgcore-docsB
Get all RSGCore framework documentation
Inputs: no named parameters.
redm-get-smart-contextC
Get intelligent context based on query - automatically loads relevant documentation
Inputs: query (required).
redm-get-vorp-docsB
Get all VORP framework documentation
Inputs: no named parameters.
redm-list-discovery-dirsB
List contents of a directory in the RDR3 discoveries repository
Inputs: path.
redm-list-native-namespacesA
List all available native function namespaces
Inputs: no named parameters.
redm-read-discovery-fileC
Read the contents of a specific file from the RDR3 discoveries repository
Inputs: path (required).
redm-search-discoveriesC
Search the RDR3 discoveries GitHub repository for game assets, scripts, and documentation
Inputs: query (required), limit.
redm-search-framework-docsC
Search RedM framework documentation (VORP and RSGCore)
Inputs: query (required), framework.
redm-search-nativesC
Search for RDR3 native functions by name or partial match
Inputs: query (required), namespace.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 13 tools
Most tools have distinct purposes, such as browsing namespaces, getting documentation, or searching discoveries. However, some tools like redm-get-smart-context and redm-search-framework-docs could overlap in retrieving documentation, potentially causing minor confusion for agents.
All tool names follow a consistent pattern with the prefix 'redm-' and use snake_case throughout. The naming is uniform, making it easy to predict and understand the tool functions without ambiguity.
With 13 tools, the server is well-scoped for its purpose of providing RedM game development resources. Each tool serves a specific function, such as accessing documentation, searching, or listing resources, without feeling excessive or insufficient.
The tool set covers key areas like native functions, framework documentation, and discovery repositories, supporting common workflows. A minor gap is the lack of tools for modifying or updating resources, but this is reasonable given the server's focus on retrieval and search.
Maintenance
Related MCP Connectors
RedM / RDR3 docs MCP server: native lookups, semantic search, VORP, RSGCore, oxmysql.
Independent QBCore API, resource and troubleshooting docs with cited sources.
Search and read independent FiveM development guides with citations. Free, read-only, no API key.
FiveM dev tools: find resources, check compatibility, validate Lua and server.cfg, generate jobs
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceProvides documentation lookup and search capabilities for FiveM development, including GTA V native functions, QBCore events, and ox_lib exports. Enables developers to query documentation and generate resource templates through natural language.-
- AlicenseNot gradedqualityCmaintenanceProvides read-only access to AI documentation for Peak Studios FiveM scripts, grounded in approved public repository documentation.2MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to look up RedM/RDR3 native hashes, search documentation semantically, and access framework docs and community data for accurate coding assistance.4-
- AlicenseAqualityAmaintenanceA local, security-focused MCP server for Arma Reforger modding, providing AI coding assistants with tools for project discovery, script analysis, resource validation, log diagnosis, API documentation search, file editing, and Workbench automation.132MIT