Connect to AI (MCP)
Raxorin Studio is an MCP server (Model Context Protocol): AIs that support it, like Claude Code or Claude Desktop, can work with your Rust projects through the IDE’s tools. They build and get errors with their file and line, run the tests and the program, explain error codes, add packages and write Slint windows the visual designer understands.
Connecting it
Section titled “Connecting it”Help → Connect to AI (MCP)… shows everything ready to copy, with your installation’s path.
Claude Code
Section titled “Claude Code”-
Open Help → Connect to AI (MCP)… and copy the Claude Code command. It looks like this:
Ventana de terminal claude mcp add raxorin-studio -- "/Applications/Raxorin Studio.app/Contents/MacOS/raxorin-studio" --mcp -
Run it in a terminal (Raxorin Studio’s terminal works).
-
In Claude Code,
/mcpshows raxorin-studio connected.
Claude Desktop
Section titled “Claude Desktop”- In Help → Connect to AI (MCP)…, click Add to Claude Desktop. Raxorin Studio is added to
claude_desktop_config.jsonwithout touching anything else, and a copy of the previous one is kept (claude_desktop_config.json.bak). - Restart Claude Desktop. Raxorin Studio’s tools appear in the tools menu.
Other clients
Section titled “Other clients”Any MCP client that launches servers over stdio works. The standard configuration:
{ "mcpServers": { "raxorin-studio": { "command": "/Applications/Raxorin Studio.app/Contents/MacOS/raxorin-studio", "args": ["--mcp"] } }}On Windows, command is C:\\Users\\<you>\\AppData\\Local\\Raxorin Studio\\raxorin-studio.exe (Raxorin Studio’s
window shows you the exact path). With --mcp, Raxorin Studio doesn’t open its window: it only serves the AI.
Which folders it can use
Section titled “Which folders it can use”The tools only read and write inside the allowed folders:
- The ones you give with
--root <folder>(you can repeat it). In the connection window, check Only the open project’s folder to add it. - The ones the client shares (MCP calls them roots; Claude Code shares the folder where you started it).
- If there are none, your user folder.
Any other path, including with .., is rejected with a message that explains why.
| Tool | What it does |
|---|---|
ide_info |
Version, allowed folders, and whether Rust, Cargo, Clippy, rustfmt and rust-analyzer are installed |
list_projects |
Finds the Rust projects in a folder |
list_dir, read_file, write_file |
Browse, read and write files (if the file is open in Raxorin Studio without unsaved changes, it reloads) |
edit_file |
Replaces an exact piece of a file, without rewriting all of it |
build |
Builds (cargo build, also --release): errors and warnings with file, line, column, code and the full message |
check |
Checks with Clippy (or cargo check) |
test |
Runs the tests: how many pass and fail, and which ones |
run |
Runs the program with arguments and keyboard input, with a time limit |
format |
Formats with rustfmt |
explain_error |
The official explanation of a code like E0382 |
search_crates, add_dependency |
Search crates.io and add packages |
create_project |
New project from Raxorin Studio’s templates: console, library, or window with Slint |
list_samples, create_from_sample |
The sample apps |
slint_controls |
The designer’s controls: types, properties, events and what’s bound from Rust |
Long builds send progress to the client (each compiled package).
Ideas to ask for
Section titled “Ideas to ask for”- “Create a console project that reads numbers and says whether they’re prime, with tests, and build it until it has no errors.”
- “Build the project and fix the errors.”
- “Make a Slint window to convert temperatures that opens in Raxorin Studio’s designer.”
- “Why am I getting E0502? Explain it with my code.”
Then open the project in Raxorin Studio (File → Open folder…) to see it, debug it or keep editing the window in the designer.