Skip to main content
Glama

Roblox Documentation MCP Server

๐Ÿš€ Roblox Documentation MCP Server with RAG Support

TypeScript Model Context Protocol SDK MCP Spec Version Version License Status

MCP server with RAG support for intelligent Roblox documentation search and retrieval

This MCP server enables AI agents to intelligently search and retrieve Roblox documentation through semantic search and vector embeddings. It provides natural language access to the complete Roblox Creator Documentation.

๐ŸŽฏ What This Does

Enable AI agents to:

  • ๐Ÿ” Semantic Search: Find relevant documentation through natural language queries

  • ๐Ÿ“š API References: Get specific details about Roblox classes, methods, and properties

  • ๐ŸŽ“ Tutorial Discovery: Locate step-by-step guides and learning materials

  • ๐Ÿ’ก Code Examples: Find relevant code snippets and demonstrations

  • ๐Ÿท๏ธ Smart Filtering: Search by content type, difficulty, or topic

๐Ÿ—๏ธ Architecture

graph TD A[AI Agent] --> B[MCP Server] B --> C[RAG Service] C --> D[ChromaDB Vector Store] C --> E[OpenAI Embeddings] B --> F[Git Service] F --> G[Roblox/creator-docs Repository] B --> H[Content Processor] H --> I[Markdown Parser] H --> J[YAML Parser]

โœจ Key Features

Feature Area

Description

Implementation

๐Ÿ” Semantic Search

Natural language queries across all Roblox documentation

ChromaDB + OpenAI embeddings

๐Ÿ“– Content Processing

Processes markdown guides, tutorials, and YAML API references

markdown-it + yaml parsers

๐Ÿ”„ Auto-Updates

Keeps documentation current via git pull from official repository

simple-git integration

๐Ÿท๏ธ Smart Classification

Automatically categorizes content (guides, tutorials, API references)

Metadata extraction + classification

โšก Performance

Fast semantic search with caching and optimized vector storage

Redis caching + ChromaDB

๐Ÿ”’ Production Ready

Built on proven MCP template with comprehensive error handling

Full TypeScript + Zod validation

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 20+

  • ChromaDB server (Docker recommended)

  • OpenAI API key

Installation

# Clone the repository git clone https://github.com/christopher-buss/roblox-docs-mcp.git cd roblox-docs-mcp # Install dependencies npm install # Set up environment variables cp .env.example .env # Edit .env with your OpenAI API key and ChromaDB settings # Start ChromaDB (using Docker) docker run -p 8000:8000 chromadb/chroma # Build the project npm run build

Environment Configuration

Create a .env file with the following variables:

# OpenAI Configuration OPENAI_API_KEY=your_openai_api_key # ChromaDB Configuration CHROMA_DB_URL=http://localhost:8000 CHROMA_DB_COLLECTION=roblox-docs # Roblox Documentation ROBLOX_DOCS_REPO_URL=https://github.com/Roblox/creator-docs.git ROBLOX_DOCS_LOCAL_PATH=./data/roblox-docs ROBLOX_DOCS_UPDATE_INTERVAL=24 # Embedding Configuration EMBEDDING_MODEL=text-embedding-3-large MAX_CHUNK_SIZE=1000 CHUNK_OVERLAP=200 # Optional Redis Cache REDIS_URL=redis://localhost:6379

Running the Server

# Start MCP server (stdio transport) npm run start:stdio # Start MCP server (HTTP transport) npm run start:http # Update documentation repository npm run docs:update # Launch MCP inspector for debugging npm run inspector

๐Ÿ› ๏ธ Available MCP Tools

searchRobloxDocs

Purpose: Semantic search across all Roblox documentation
Input: Natural language query, optional filters
Output: Ranked list of relevant documentation with metadata

getRobloxApiReference

Purpose: Get specific API class/method documentation
Input: API name, class name, method name
Output: Detailed API documentation with examples

findRobloxTutorials

Purpose: Find step-by-step tutorials and guides
Input: Topic, difficulty level, tutorial type
Output: Curated list of tutorials with descriptions

getRobloxGuides

Purpose: Retrieve conceptual guides and explanations
Input: Topic area, content type
Output: Relevant guides with structured content

๐Ÿ“ Project Structure

src/ โ”œโ”€โ”€ services/ โ”‚ โ”œโ”€โ”€ git-service/ # Git repository operations โ”‚ โ”œโ”€โ”€ content-processor/ # Markdown/YAML processing โ”‚ โ””โ”€โ”€ roblox-rag/ # RAG implementation โ”œโ”€โ”€ mcp-server/ โ”‚ โ”œโ”€โ”€ tools/ # MCP tools for documentation search โ”‚ โ””โ”€โ”€ server.ts # Main MCP server โ”œโ”€โ”€ config/ # Configuration management โ””โ”€โ”€ utils/ # Production utilities

๐Ÿ”ง Development

Architecture Overview

This project extends the cyanheads/mcp-ts-template with Roblox-specific capabilities:

  • Git Service: Manages the Roblox creator-docs repository

  • Content Processor: Parses markdown and YAML files

  • RAG Service: Handles embeddings and semantic search

  • MCP Tools: Provides search and retrieval capabilities

Adding New Features

  1. New Tools: Follow the template pattern in src/mcp-server/tools/

  2. Content Processing: Extend processors in src/services/content-processor/

  3. RAG Enhancements: Modify search logic in src/services/roblox-rag/

Development Commands

npm run build # Build TypeScript npm run format # Format code with Prettier npm run docs:generate # Generate TypeDoc documentation npm run tree # Generate project structure npm run depcheck # Check for unused dependencies

๐Ÿงช Testing

# Test individual components npm run test:unit # Test MCP tools end-to-end npm run test:integration # Test RAG functionality npm run test:rag

๐Ÿ“Š Performance

  • Search Latency: < 500ms for semantic queries

  • Memory Usage: < 2GB RAM for full documentation index

  • Document Processing: 100+ docs/minute ingestion rate

  • Cache Hit Rate: > 80% for repeated queries

๐Ÿค Contributing

  1. Fork the repository

  2. Create a feature branch

  3. Make your changes

  4. Add tests if applicable

  5. Submit a pull request

๐Ÿ“œ License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

๐Ÿ™ Acknowledgments

๐Ÿ“š Documentation


Note: This project is currently in development. See DEVELOPMENT_PLAN.md for current status and implementation progress.

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables AI agents to intelligently search and retrieve Roblox documentation through semantic search and vector embeddings, providing natural language access to complete Roblox Creator Documentation.

  1. ๐ŸŽฏ What This Does
    1. ๐Ÿ—๏ธ Architecture
      1. โœจ Key Features
        1. ๐Ÿš€ Quick Start
          1. Prerequisites
          2. Installation
          3. Environment Configuration
          4. Running the Server
        2. ๐Ÿ› ๏ธ Available MCP Tools
          1. searchRobloxDocs
          2. getRobloxApiReference
          3. findRobloxTutorials
          4. getRobloxGuides
        3. ๐Ÿ“ Project Structure
          1. ๐Ÿ”ง Development
            1. Architecture Overview
            2. Adding New Features
            3. Development Commands
          2. ๐Ÿงช Testing
            1. ๐Ÿ“Š Performance
              1. ๐Ÿค Contributing
                1. ๐Ÿ“œ License
                  1. ๐Ÿ™ Acknowledgments
                    1. ๐Ÿ“š Documentation

                      Related MCP Servers

                      • -
                        security
                        F
                        license
                        -
                        quality
                        Enables AI assistants to enhance their responses with relevant documentation through a semantic vector search, offering tools for managing and processing documentation efficiently.
                        Last updated -
                        22
                        43
                      • -
                        security
                        A
                        license
                        -
                        quality
                        Access any documentation indexed by RagRabbit Open Source AI site search
                        Last updated -
                        0
                        124
                        MIT License
                        • Apple
                      • -
                        security
                        A
                        license
                        -
                        quality
                        Provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.
                        Last updated -
                        22
                        MIT License
                        • Apple
                      • A
                        security
                        F
                        license
                        A
                        quality
                        Provides AI systems with access to Onyx programming language documentation through web crawling and intelligent search capabilities.
                        Last updated -
                        10

                      View all related MCP servers

                      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/christopher-buss/roblox-docs-mcp'

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