You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**RustFS MCP Server** is a high-performance [Model Context Protocol (MCP)](https://spec.modelcontextprotocol.org) server that provides AI/LLM tools with seamless access to S3-compatible object storage operations. Built with Rust for maximum performance and safety, it enables AI assistants like Claude Desktop to interact with cloud storage through a standardized protocol.
9
+
**RustFS MCP Server** is a high-performance [Model Context Protocol (MCP)](https://www.anthropic.com/news/model-context-protocol) server that provides AI/LLM tools with seamless access to S3-compatible object storage operations. Built with Rust for maximum performance and safety, it enables AI assistants like Claude Desktop to interact with cloud storage through a standardized protocol.
RustFS MCP provides the [official Dockerfile](https://github.com/rustfs/rustfs/tree/main/crates/mcp), which can be used to build docker image, then use the RustFS MCP with Docker.
After building successfully, you can use the docker to configure MCP in AI IDE.
136
+
137
+
#### RustFS MCP configuration in AI IDE
138
+
139
+
Both of the popular AI IDE or editor(Cursor, windsurf, Trae, ect) support MCP. For example, if you use Trae, add the following content to MCP configuration page:
140
+
141
+
```
142
+
{
143
+
"mcpServers": {
144
+
"rustfs-mcp": {
145
+
"command": "docker",
146
+
"args": [
147
+
"run",
148
+
"--rm",
149
+
"-i",
150
+
"-e",
151
+
"AWS_ACCESS_KEY_ID",
152
+
"-e",
153
+
"AWS_SECRET_ACCESS_KEY",
154
+
"-e",
155
+
"AWS_REGION",
156
+
"-e",
157
+
"AWS_ENDPOINT_URL",
158
+
"rustfs/rustfs-mcp"
159
+
],
160
+
"env": {
161
+
"AWS_ACCESS_KEY_ID": "rustfs_access_key",
162
+
"AWS_SECRET_ACCESS_KEY": "rustfs_secret_key",
163
+
"AWS_REGION": "cn-east-1",
164
+
"AWS_ENDPOINT_URL": "rustfs_instance_url"
165
+
}
166
+
}
167
+
}
168
+
}
169
+
```
170
+
171
+
Where `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` are rustfs access token, for more details, you can see [rustfs access token management](access-token.md).
172
+
173
+
If adding successfully, you can see the [available tools](#️-available-tools) on MCP page.
174
+
175
+

176
+
177
+
You can use MCP in Trea by input the corresponding prompt. For example, input below content in chat:
178
+
179
+
```
180
+
Please help to list all the buckets on rustfs instance, thanks!
181
+
```
182
+
183
+
Response returned:
184
+
185
+

186
+
187
+
Trae working with **Builder with MCP** mode calls `list_buckets` tool, and lists all the buckets on instance configured. You can try other calls with the same way.
188
+
122
189
## 🛠️ Available Tools
123
190
124
191
The MCP server exposes the following tools that AI assistants can use:
0 commit comments