AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompare
Home/
Dev Tooling/
fastmcp_rust
fastmcp_rust logo

fastmcp_rust

Active·★ 39·NOASSERTION·Updated 2026-10-22

FastMCP Rust is a cancel-aware Model Context Protocol (MCP) framework for Rust, providing robust solutions for handler schemas, cooperative cancellation, and request budget management. It leverages asupersync capability contexts to streamline concurrent child work ownership and explicit cancellation primitives.

#Rust#MCP#Async#Concurrency#Cancellation#Framework#JSON-RPC
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

Guides
#asupersync
$ Install
$ git clone https://github.com/Dicklesworthstone/fastmcp_rust.git && cd fastmcp_rust && cargo build --release
↗ Visit site★ GitHub
01

Features

01Cooperative Cancellation: Handlers can check cancellation at natural suspension or iteration boundaries.
02Budget-based Resource Management: Utilizes a `Budget` type for deadline, poll-quota, and cost-quota dimensions instead of simple timeouts.
03Four-Valued Outcomes: Asynchronous handlers return `Outcome<T, E>` with distinct variants for success, expected failure, cancellation, and panic.
04Capability-oriented Handlers: Request authority flows through `McpContext`, promoting explicit dependency passing.
05Generated Handler/Schema Implementations: Attribute macros (`#[tool]`, `#[resource]`, `#[prompt]`) reduce boilerplate.
02

Compatibility

Rust Toolchain
Toolchain
Verified via docs
Rust Edition
Edition
Verified via docs
asupersync
Runtime
Verified via docs
MCP Protocol
Protocol Version
Verified via docs
03

Quick start

1
$ git clone https://github.com/Dicklesworthstone/fastmcp_rust.git
2
$ cd fastmcp_rust
3
$ cargo build --release
04

Use cases

↳Implementing Model Context Protocol (MCP) Servers: Build servers that adhere to the MCP specification for tool, resource, and prompt handlers.
↳Developing AI Agent Tools in Rust: Create callable functions (tools) for AI agents with automatic JSON schema generation and cancellation support.
↳Managing Concurrent Asynchronous Operations: Handle parallel tasks with explicit ownership and cooperative cancellation within a structured context.
↳Building Robust Services with Request Budgets: Apply time, poll, and cost budgets to requests and handlers to prevent resource exhaustion.
05

Alternatives

⚡Top VS:
VSfastapi_mcp★12.0k→VSmobile-mcp★9.9k→VSmuxin★357→

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
VS
Unity-MCP
★4.5k
→
fastapi_mcp logo
fastapi_mcp★ 12.0k
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
VSCompare→
mobile-mcp logo
mobile-mcp★ 9.9k
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
VSCompare→
muxin logo
muxin★ 357
All your machines, one app. For you and your AI agents: agent sessions, desktops, files, logs and GitHub across your Macs, Linux and Windows machines, with an MCP server.
VSCompare→
Unity-MCP logo
Unity-MCP★ 4.5k
AI-powered bridge connecting LLMs and advanced AI agents to the Unity Editor via the Model Context Protocol (MCP). Chat with AI to generate code, debug errors, and automate game development tasks directly within your project.
VSCompare→
core logo
core★ 3.7k
A framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
VSCompare→
arcade-mcp logo
arcade-mcp★ 1.1k
The best way to create, deploy, and share MCP Servers
VSCompare→
turbovault logo
turbovault★ 155
Markdown and OFM SDK w/ MCP server that transforms your Obsidian vault into an intelligent knowledge system
VSCompare→
formanator logo
formanator★ 102
Submit and manage Forma (https://joinforma.com) claims from the command line and Model Context Protocol (MCP) clients
VSCompare→
See all alternatives →
Dicklesworthstone /
fastmcp_rust
↗

Rust framework for building Model Context Protocol servers with cancel-correct async, zero-copy serialization, and first-class tool/resource/prompt abstractions

39
Last commit1d ago
StatusActive
CategoryDev Tooling
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit