mcp-server-rust
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-server-rustcompute factorial of 10"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
A simple Rust function integrated with an MCP client.
Step 1: Relase the Rust & Javascript/TS code
Release
npm run build:wasm:release // release rust code
npm install // create javascript file and install all npm dependenciesRelated MCP server: FastMCP Demo Server
Step 2: Claude Desktop Configuration
Create a configuration file at:
{
"mcpServers": {
"mcp-server": {
"command": "node",
"args": [
"[your local path]/mcpserver/build/index.js"
]
}
}
}locations:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json(source: https://modelcontextprotocol.info/docs/quickstart/user/#2-add-the-filesystem-mcp-server)
Step 3: Claude Desktop
Start Claude Desktop
please note the additional mcp server icon in the frontend
Agree to use the mcp server function:

Observe the mcp server function:

Video
Watch the video tutorial here: YouTube video
Misc
Test the rust code
npm run test:rustor
cd src/lib/rust-functions-lib
cargo test && cargo fmt --all -- --checkClean the output files and folders
npm run cleanBuild the rust code - alternatives
npm
npm run build:wasm
Alternative approach using wasm tool
cd src/lib/rust-functions-lib
wasm-pack build --target bundlerBuild only ts code (npm)
npm buildCopy build Rust code
manual copy to the correct location - included in npm run build:wasm:release
mkdir -p build/lib/rust-functions-lib/pkg && cp src/lib/rust-functions-lib/pkg/rust_funcations_lib.js build/lib/rust-functions-lib/pkg/rust_funcations_lib.jsRust import failed
issue:

solution:
run npm run build:wasm:release to release the wasm-binding the factorial import depends on
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloudflare Workers MCP server: claude-skill-validator
Cloudflare Workers MCP server: ai-agent-scratchpad
MCP server for AI dialogue using various LLM models via AceDataCloud
Cloudflare Workers MCP server: ai-eval
Related MCP Servers
- AlicenseAqualityDmaintenanceA demonstration MCP server for local development and testing with Claude Desktop on WSL. Provides basic utility tools including greeting messages, echo functionality, and server information retrieval.3MIT
- FlicenseNot gradedqualityDmaintenanceA demonstration MCP server built with FastMCP that provides basic tools (addition calculator), dynamic resources (personalized greetings), and prompt templates, designed to run on Wasmer Edge.-
- AlicenseAqualityDmaintenanceA demonstration MCP server for educational purposes, showcasing how to build and integrate MCP servers with LLM clients like Claude Desktop.1MIT
- FlicenseNot gradedqualityDmaintenanceA local MCP server providing text utilities, math functions, and a persistent todo list, enabling task automation via natural language in Claude Desktop.-