The AIStor MCP server enables interaction with AIStor object stores using the Model Context Protocol (MCP). It provides tools for managing storage objects, executing AI operations on those objects, and performing administrative functions. More information about MCP can be found on the official MCP site.
MINIO_ACCESS_KEY
and MINIO_SECRET_KEY
) and endpoint locationLocate the Claude for Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Add the AIStor MCP server configuration to the file:
{
"mcpServers": {
"aistor": {
"command": "podman",
"args": [
"run",
"-i",
"--rm",
"-v",
"/Users/YOUR_USERNAME/Downloads:/Downloads",
"-e",
"MINIO_ENDPOINT=REPLACE_WITH_ENDPOINT",
"-e",
"MINIO_ACCESS_KEY=REPLACE_WITH_ACCESS_KEY",
"-e",
"MINIO_SECRET_KEY=REPLACE_WITH_SECRET_KEY",
"-e",
"MINIO_USE_SSL=true",
"quay.io/minio/aistor/mcp-server-aistor:latest",
"--allowed-directories",
"/Downloads",
"--allow-write",
"--allow-delete",
"--allow-admin"
]
}
}
}
Note: Replace podman
with docker
if you're using Docker. Update the path, credentials, and username accordingly. The --allow-write
, --allow-delete
, and --allow-admin
flags are optional and should only be added when needed.
podman run -d --name aistor-mcp-server \
-v /Users/YOUR_USERNAME/Downloads:/Downloads \
-e MINIO_ENDPOINT=REPLACE_WITH_ENDPOINT \
-e MINIO_ACCESS_KEY=REPLACE_WITH_ACCESS_KEY \
-e MINIO_SECRET_KEY=REPLACE_WITH_SECRET_KEY \
-e MINIO_USE_SSL=true \
-p 8090:8090 \
quay.io/minio/aistor/mcp-server-aistor:latest \
--allowed-directories /Downloads \
--allow-admin \
--allow-delete \
--allow-write \
--http \
--http-port 8090
Configure your MCP-enabled client (e.g., Cherry Studio):
aistor
StreamableHTTP
http://localhost:8090/mcp
To stop the server:
podman stop aistor-mcp-server
The MCP server includes numerous tools that the LLM can use to perform various operations:
create_bucket
: Create new buckets with configurable settingsdelete_bucket
: Remove buckets and their contentslist_buckets
: Display all available bucketslist_bucket_contents
: Show objects within a bucketupload_object
: Upload files to a bucketdownload_object
: Download files to local filesystemdelete_object
: Remove objects from a bucketcopy_object
: Copy objects between bucketsmove_object
: Move objects between bucketsget_object_metadata
: View detailed object informationget_object_tags
/set_object_tags
: Manage object tagsget_bucket_tags
/set_bucket_tags
: Manage bucket tagsget_object_presigned_url
: Generate temporary access URLsask_object
: Query an object's contents using AItext_to_object
: Convert text to an object in a bucketget_admin_info
: View cluster configuration and healthget_data_usage_info
: Check storage usage statisticsget_bucket_lifecycle
: View lifecycle management rulesget_bucket_replication
: View replication settingsset_bucket_versioning
/get_bucket_versioning
: Configure versioningThere are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.