rust-anything
MCP server by erkamyaman Community
Migrates an app to Rust one unit at a time and checks each port against the original's recorded behavior. Its MCP server exposes tools that list and check migration obligations for developers porting apps to Rust.
Install rust-anything
Built from the published package, never by AI.
claude mcp add rust-anything -- npx -y rust-anythingRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"rust-anything": {
"args": [
"-y",
"rust-anything"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"rust-anything": {
"args": [
"-y",
"rust-anything"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"rust-anything": {
"args": [
"-y",
"rust-anything"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add rust-anything -- npx -y rust-anything{
"mcpServers": {
"rust-anything": {
"args": [
"-y",
"rust-anything"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add rust-anything npx -y rust-anythingGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the rust-anything block.
About
Rust Anything helps you move an app to Rust in small steps. It records what the original code returns, throws and prints, then checks that a Rust port matches those recorded cases. A port counts as done when the gate passes, which also runs fmt, clippy, cargo test, and checks for unsafe code and stubs. The source lists TypeScript and JavaScript, Python, Go, Ruby, Java, C, C#, PHP as verified, and Kotlin, PowerShell and Swift as tested.
The MCP server offers obligations, obligations_check and obligations_fallbacks. The first two only read. The third writes only when given write or inputs. The project is aimed at developers porting CLIs, servers or units of a codebase to Rust. Recording runs the original code, so the source advises working on a copy and pointing servers at a test database.
Written from the project's README and checked against it.
Tools it gives your assistant
obligationsLists what the original offers, such as exports, commands, flags, routes and environment variables.obligations_checkSays what still blocks app lift, such as items that no recorded case exercises.obligations_fallbacksCovers the fallbacks the front door took. Writes only when given write or inputs.
What you need
- Rust toolchain for cargo install
- Node.js and npm for npm install
- sandbox-exec on macOS or bubblewrap on Linux for sandboxed recording
Try asking
- List the obligations of my app before I run app lift
- Check which obligations still block app lift for this repo
- Show the fallbacks the front door took in my port
Good to know
- Recording runs the original's real code, so work on a copy and use a test database.
- The macOS sandbox has no memory limit, and the Linux sandbox path has not been run yet.
- Only exports can be listed in full; other obligations need a person to attest them or waive them.
- The go command runs only for TypeScript/JavaScript, Python, Go, Ruby and Java.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to rust-anything
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
rust-anything: common questions
Does it check that a Rust port behaves like the original?
Yes. The record command saves what each original call returns, throws and prints, and gate passes only when every recorded case matches.
Which languages does it support?
The source marks TypeScript/JavaScript, Python, Go, Ruby, Java, C, C# and PHP as verified. Kotlin, PowerShell and Swift are marked as tested on fixtures.
Is it safe to run on my own code?
Recording runs the original's real code, so the source advises using a copy and a test database. A sandbox mode with no network and a read-only repository is offered on macOS and Linux.
How do I install rust-anything?
In Claude Code run claude mcp add rust-anything -- npx -y rust-anything. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is rust-anything the official server?
rust-anything is a community project by erkamyaman, not verified by a company domain.
Is rust-anything free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is rust-anything safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to rust-anything?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does rust-anything work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
