Roblox Studio MCP server setup with cmd.exe on Windows

developer2026-11-15

On this page

The Roblox Studio MCP server starts on Windows when your MCP client runs cmd.exe and passes it the launcher command as args. In the config entry, command is cmd.exe, and args begins with /c, followed by npx, the server package name, and any flags. Studio must be open with the MCP connection enabled before the client can call the server's tools.

How the command and args fields fit together

An MCP client starts a local server by running one process. The config entry names that process in the command field. The args field holds the list of arguments that process receives.

For the Roblox Studio server on Windows, command is cmd.exe. The client does not run the server directly. It runs cmd.exe, and cmd.exe runs the server.

The first entry in args is /c. This flag tells cmd.exe to run the command that follows, then exit when that command finishes. The next entries name the launcher and the package. A typical list reads /c, npx, -y, and then the package name from the Roblox documentation.

Write the config entry

Add one named entry under the mcpServers key. The name is a label you choose. The client shows it in its server list.

{\n  \"mcpServers\": {\n    \"roblox-studio\": {\n      \"command\": \"cmd.exe\",\n      \"args\": [\"/c\", \"npx\", \"-y\", \"\"]\n    }\n  }\n}

Replace the placeholder with the package name from the current Roblox documentation. Package names change between releases. Check the source before you copy a name from an older guide.

Save the file and restart the MCP client. Most clients read the config only at startup.

Why Windows needs the cmd.exe wrapper

npx ships on Windows as a batch file named npx.cmd. Many process launchers do not resolve batch files the way a shell does. A client that starts npx directly often reports that the command was not found.

Routing the launch through cmd.exe with /c lets the Windows shell resolve npx.cmd. The shell does the lookup. The client sees only cmd.exe as the process it started.

The wrapper adds one layer of process. If the server crashes, the client sees the shell exit. Read the client log for the server output, because the shell does not forward its error text in the same form.

Fix the common startup failures

Most failed starts trace back to four causes. Check them in this order.

  • The /c flag sits in its own list item. A flag written as /c npx in one string often fails to parse.
  • Node.js is installed, and the PATH that the client sees includes it. Restart the client after you change PATH.
  • The package name matches the current release. An outdated name fails at install time.
  • Studio opens with the MCP option enabled. The server cannot reach a session that is not running.

If the entry still fails, run the same command in a terminal. The terminal output shows the error that the client hides.

Use the same pattern on other platforms

The cmd.exe wrapper applies only to Windows. On macOS and Linux, set command to npx. Move the package name and flags into args, without the /c flag.

The rest of the entry stays the same. The server name, the JSON structure, and the restart step do not change.

Where an MCP gateway fits

A local server like the Roblox Studio server runs on your machine and talks to your open Studio session. A gateway works differently. It exposes remote tools through one MCP endpoint, so your client connects to a single address for many tools.

APIbase is an MCP gateway. Its tools reach external APIs and services, and the catalog covers hundreds of providers across many categories. Tools that need a local Studio session still run through the local server above. The gateway does not start Studio or replace the local process.

Use the gateway for remote calls and the local server for Studio. Keep both entries in the same config file under different names.

Live pricing — developer

Price per call, developer tools Horizontal bar chart of the price per call and the cache-hit price, in US dollars, for 12 developer tools. The same values are in the table below the chart. Price per call Cache-hit price $0.0 $0.0005 $0.001 Usage Time SeriesUsage Time Series $0.0 $0.0 Per-Tool Usage BreakdownPer-Tool Usage Breakdown $0.0 $0.0 Usage SummaryUsage Summary $0.0 $0.0 Discover ToolsDiscover Tools $0.0 $0.0 Batch Tool CallsBatch Tool Calls $0.0 $0.0 Tool Quality MetricsTool Quality Metrics $0.0 $0.0 Tool Quality RankingsTool Quality Rankings $0.0 $0.0 List Programming LanguagesList Programming Languages $0.001 $0.0001 Check CVE ID Reservation Stat…Check CVE ID Reservation Status $0.001 $0.0001 Security Advisories (deps.dev)Security Advisories (deps.dev) $0.001 $0.0001 Dependency Tree (deps.dev)Dependency Tree (deps.dev) $0.001 $0.0001 Package Info (deps.dev)Package Info (deps.dev) $0.001 $0.0001 US dollars per call
Price per call for developer tools, cheapest first.

Data source: live tool catalog snapshot, fetched 2026-11-15.

Chart data as a table
ToolPrice per callCache-hit price
Usage Time Series$0.0$0.0
Per-Tool Usage Breakdown$0.0$0.0
Usage Summary$0.0$0.0
Discover Tools$0.0$0.0
Batch Tool Calls$0.0$0.0
Tool Quality Metrics$0.0$0.0
Tool Quality Rankings$0.0$0.0
List Programming Languages$0.001$0.0001
Check CVE ID Reservation Status$0.001$0.0001
Security Advisories (deps.dev)$0.001$0.0001
Dependency Tree (deps.dev)$0.001$0.0001
Package Info (deps.dev)$0.001$0.0001
ToolProviderPrice/callCache-hit
Usage Time Seriesaccount$0$0
Per-Tool Usage Breakdownaccount$0$0
Usage Summaryaccount$0$0
Discover Toolsapibase$0$0
Batch Tool Callsplatform$0$0
Tool Quality Metricsplatform$0$0
Tool Quality Rankingsplatform$0$0
List Programming Languagesjudge0$0.001$0.0001
Check CVE ID Reservation Statuscve-mitre$0.001$0.0001
Security Advisories (deps.dev)depsdev$0.001$0.0001
Dependency Tree (deps.dev)depsdev$0.001$0.0001
Package Info (deps.dev)depsdev$0.001$0.0001

Connect via MCP

How a tool call worksAn AI agent sends a tool call to the APIbase gateway. The gateway checks payment, calls the provider API, and returns the JSON result to the agent.Your agentAPIbase gatewayProvider API1. tool call2. paid call3. JSON result flows back to the agent
Diagram: the path of one tool call.

Data source: gateway design, no measured values.

$ curl -X POST https://apibase.pro/api/v1/tools/account.timeseries/call \
  -H "Content-Type: application/json" -d '{"params": {}}'

FAQ

Why does the Roblox Studio MCP config use cmd.exe instead of calling npx directly?

On Windows, npx ships as a batch file named npx.cmd. Many clients do not resolve batch files when they start a process, so the launch fails. Setting command to cmd.exe with the /c flag lets the Windows shell find and run npx.cmd.

Does the same entry work on macOS or Linux?

No. The cmd.exe wrapper is specific to Windows. On macOS and Linux, set command to npx and place the package name and any flags in args, without the /c flag. Check the current Roblox documentation for the package name.

The client shows the Roblox Studio server as failed to start. What should I check first?

Confirm three things. /c is its own item in the args list. Node.js is on the PATH the client uses. Studio is open with MCP enabled. Then run the same command in a terminal to see the error text. Restart the client after each change.

Can an MCP gateway replace the local Roblox Studio server?

No. A gateway exposes remote tools through one endpoint. It does not run on your machine or connect to your open Studio session. Keep the local server for Studio tasks and use a gateway for remote API calls.

  1. STEP 1/2 Connect your MCP client
  2. STEP 2/2 Browse the full catalog

Written with AI assistance from APIbase's published documentation and public data; checked automatically against them. Corrections: https://apibase.pro/

Published: 2026-11-15Source: live apibase.pro catalog snapshot