Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 94
  • 11k stars
  • 5.3k a week
  • Apache-2.0
  • Updated

Install rust-anything

Built from the published package, never by AI.

claude mcp add rust-anything -- npx -y rust-anything

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install rust-anything in Claude Code

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

A

No 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 →

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.

rust-anything Install

Add to stack

Loading.