{"slug": "rmcp-for-rust-mcp-servers", "title": "RMCP for Rust MCP Servers", "summary": "A developer found that using the official Rust MCP crate RMCP, which has 23 million downloads, produces more elegant and reliable code than 'vibe coding' an MCP server, which led to a bloated mess of repetitive JSON declarations. The developer recommends using RMCP with schema attributes and verbose descriptions, and suggests prompting for RMCP when vibe coding.", "body_md": "Recently I decided to create an **MCP server** in **Rust**. I first tried to \"vibe code\" it, and this worked but poorly. The code was bloated and involved hundreds of lines of repetitive JSON declarations.\n\nI started trying to maintain it, but eventually realized just **replacing** the code altogether might be better. I investigated alternatives. I found `RMCP`\n\n, an official Rust MCP crate. You can add it with `cargo add rmcp`\n\n. I determined that:\n\n• It is easier to rewrite vibe-coded logic with `RMCP`\n\nstructs and methods, as the code that uses `RMCP`\n\nis much shorter.\n\n• Using schema attributes (`schemars`\n\n) on both functions and structs used as parameters is important.\n\n• Being clear and verbose in the description schema tags is important.\n\nSo in summary, vibe coding an MCP server in Rust can lead to a bloated mess of code. Meanwhile using the **RMCP crate** (currently with 23 million downloads) is elegant and reliable—and much less code. It might be a good idea to use a prompt requesting `RMCP`\n\nwhile vibe coding.", "url": "https://wpnews.pro/news/rmcp-for-rust-mcp-servers", "canonical_source": "https://www.dotnetperls.com/2026_8_31_rmcp-for-rust-mcp-servers", "published_at": "2026-08-31 07:00:00+00:00", "updated_at": "2026-08-31 22:52:20.917446+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["RMCP", "Rust"], "alternates": {"html": "https://wpnews.pro/news/rmcp-for-rust-mcp-servers", "markdown": "https://wpnews.pro/news/rmcp-for-rust-mcp-servers.md", "text": "https://wpnews.pro/news/rmcp-for-rust-mcp-servers.txt", "jsonld": "https://wpnews.pro/news/rmcp-for-rust-mcp-servers.jsonld"}}