Roblox Studio MCP Server logo

Roblox Studio MCP Server

by dmae97

This is a Model Context Protocol (MCP) server implementation for Roblox Studio, written in TypeScript. It provides resources, tools, and prompts designed to enhance Roblox Studio development by allowing LLM applications to access documentation, templates, code generation, and other features through a standardized interface.

View on GitHub

Last updated: N/A

What is Roblox Studio MCP Server?

The Roblox Studio MCP Server is a server implementation that provides resources, tools, and prompts for Roblox Studio development. It allows LLM applications to access Roblox Studio documentation, templates, code generation features, and more through a standardized interface.

How to use Roblox Studio MCP Server?

To use the server, you need to clone the repository, install the dependencies, configure the .env file with your Roblox API keys, build the project, and then run the server in either development or production mode. You can then interact with the server's API endpoints using tools like Claude or a CLI tool.

Key features of Roblox Studio MCP Server

  • Access to Roblox Studio documentation, API references, and code templates

  • Luau code generation and validation, asset searching, and game component creation

  • Specialized prompts for script generation, bug finding, and performance optimization

  • Direct integration with Roblox API and Open Cloud API

  • Interactive system creation for dialog, UI interfaces, and complex game play mechanics

  • Built-in caching and rate limiting for optimal performance

  • Comprehensive error management and graceful error recovery

  • Built-in health checks and performance metrics

Use cases of Roblox Studio MCP Server

  • Generating Luau code for Roblox games using AI assistance

  • Finding and fixing bugs in Roblox scripts

  • Optimizing the performance of Roblox games

  • Creating interactive systems for dialog, UI interfaces, and complex game play mechanics

FAQ from Roblox Studio MCP Server

How do I configure the server?

The server is configured using environment variables in the .env file. You can set the port, server name, logging level, rate limiting settings, and security settings.

What API endpoints are available?

The server provides endpoints for Server-Sent Events (/sse), message handling (/messages), health checks (/health), and server metrics (/metrics).

How do I access Roblox Studio API documentation?

You can access the documentation using the docs://api/{section} resource. For example, docs://api/DataModel.

How do I generate Roblox code?

You can use the generate-roblox-code tool with parameters like scriptType, functionality, and includeComments.

How do I search for Roblox assets?

You can use the find-roblox-assets tool with parameters like assetType, keywords, and maxResults.