Skip to main content

Crate rustfs_mcp

Crate rustfs_mcp 

Source
Expand description

RustFS MCP server library.

This crate exposes a Model Context Protocol (MCP) server that provides S3-compatible storage operations, plus reusable configuration and client primitives for embedding into other Rust applications.

§Optional features

  • io-uring: Enables Tokio’s io-uring integration. This requires building with RUSTFLAGS="--cfg tokio_unstable".

Re-exports§

pub use config::Config;
pub use s3_client::BucketInfo;
pub use s3_client::S3Client;
pub use server::RustfsMcpServer;

Modules§

config
Command-line and environment configuration parsing/validation.
s3_client
S3 client wrapper and operation/result data types.
server
MCP server and tool handlers.

Functions§

run_server
Start the MCP server with Config::default.
run_server_with_config
Start the MCP server with an explicit Config.
validate_environment
Validate required AWS credentials in environment variables.