Логотип AIStor MCP 服务器

AIStor MCP 服务器

Организация
minio

Official MCP Server for AIStor

Издательminio
Репозиторийmcp-server-aistor
Форки
15
Звёзды
44
Доступные инструменты
0
Тип транспортаstdio, streamable-http
Категории
Ссылки
  • Подключайте инструменты к рабочим процессам с ИИ

    AIStor MCP 服务器 предоставляет возможности MCP, доступные совместимым ИИ-клиентам и агентам.

  • Доступные инструменты: 0

    Ниже представлены доступные для вызова действия с названиями и описаниями, если сервер их предоставляет.

  • Готовая конфигурация для копирования

    Используйте примеры конфигурации, чтобы настроить этот сервер в предпочитаемом MCP-клиенте.

  • Показатели интереса к открытому проекту

    Звёзды: 44, форки: 15 — в связанном репозитории.

AIStor MCP server

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

More information about MCP can be found on its official site.

More information about AIStor MCP server can be found in our blog posts:

Updates

  • 2025-05-28
    • Added support for MCP version 2025-03-26
    • Added support for StreamableHTTP protocol
    • Added the text_to_object tool

Features

Read operations

  • List buckets
  • List objects in the bucket
  • Get object's metadata and tags
  • Create a presigned URL with expiration for an object

AI operations

  • Describe the object's contents using the ask_object tool

Write operations

These operations should be enabled by using the --allow-write flag in the config.

  • Create a bucket
  • Upload an object to the bucket
  • Add tags to the object

Delete operations

These operations should be enabled by using the --allow-delete flag in the config.

  • Delete an object
  • Delete a bucket

Admin operations

These operations should be enabled by using the --allow-admin flag in the config.

  • Get cluster info (config, health status, available space) in human-readable form

Configuration for Claude for Desktop

This MCP server works with other MCP-enabled clients, but let's start with Claude. It uses the STDIO transport to interact with the server. See the next section for the instructions on configuring the server with StreamableHTTP transport.

Prerequisites

  1. Download and install Claude for Desktop application from Claude. This MCP server works with other MCP-enabled clients, but let's start with Claude.

  2. Make sure you have Docker or Podman installed and ready to use on your desktop/laptop.

  3. Get your AIStor (or MinIO) object store credentials (MINIO_ACCESS_KEY and MINIO_SECRET_KEY) and its endpoint location. If you don't have an AIStor or MinIO server available, feel free to use the values for MinIO Playground server.

Configuration file

Open the Claude for Desktop configuration file with your favorite text editor. To find the config file in your system follow the Quickstart instructions from the Model Context Protocol site. Its default location is:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the following lines to the config file, replacing the credentials, endpoint, and YOUR_USERNAME with their actual values. This example uses Podman, but if you use Docker replace podman in the command: field with docker. If you have other MCP servers configured just insert the AIStor config in the list.

Be careful when adding the --allow-* flags. By default without any flags the server will be running in read-only mode. Add --allow-write and --allow-delete flags to this configuration only when you need them. The --allow-admin flag enables admin functions that collect information about the cluster.

json
{
  "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"
      ]
    }
  }
}

By default, the number of objects or buckets that the server lists and send to LLM is limited by 1000 objects. This is done to avoid hitting the limit of the model's context window in tokens. If your model allows wider context window you can increase this number by adding the --max-keys parameter to the configuration file. Keep in mind that each object record contains several dozen of tokens.

Configuration for StreamableHTTP

This MCP server works with other MCP-enabled clients, that support the StreamableHTTP transport.

Prerequisites

  1. Download and install an LLM client that supports MCP and StreamableHTTP. For example, you can use Cherry Studio.

  2. Make sure you have Docker or Podman installed and ready to use on your desktop/laptop.

  3. Get your AIStor (or MinIO) object store credentials (MINIO_ACCESS_KEY and MINIO_SECRET_KEY) and its endpoint location. If you don't have an AIStor or MinIO server available, feel free to use the values for MinIO Playground server.

Run the server

Run the following command to start the server. Replace the values for MINIO_ENDPOINT, MINIO_ACCESS_KEY, and MINIO_SECRET_KEY with your actual values. Replace 8090 (in three places!)with the port number available on your system.

bash
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 the client

In the client, add the following configuration:

  • MCP server name: aistor
  • Type: StreamableHTTP
  • URL: http://localhost:8090/mcp

Test the connection

Check if you can list the tools available in the server. Use the "Tools" tab in the client.

Stop the server

bash
podman stop aistor-mcp-server

Usage

Here are some examples of what you can do:

Basic Operations

  • "List all buckets on my AIStor server"
  • "List the contents of bucket test"

File Operations

  • "Download the file example.pdf to my Downloads directory"
  • "Create a bucket my-bucket"
  • "Upload document.pdf from Downloads to bucket my-bucket"

Metadata Operations

  • "Get metadata of file.pdf in bucket my-bucket"
  • "List all tags for object config.json"

Admin Operations

  • "Show server health status"
  • "Get storage usage statistics"

Each command will return human-readable responses with relevant information.

Available tools

Usually the Large Language Model (LLM) will be able to figure out which tool to use for your request. Sometimes, you may want to tell the model explicitly which tool to use. For such cases and also to let you know what else is possible with this MCP server, here is the list of tools available in this version.

You can always get this list by clicking the hammer icon in your Claude for Desktop application.

ask_object : Ask questions about an object's content using AI, supporting various file formats and returning contextual answers

copy_object : Copy an object from one bucket to another while preserving metadata and optionally modifying properties. You can also specify a version ID to copy a specific version of the object.

create_bucket : Create a new bucket with specified configurations and optional versioning settings

delete_bucket : Delete a bucket and optionally force removal of all contained objects

delete_object : Delete a specific object or version from a bucket, with optional soft delete support. You can also specify a version ID to delete a specific version of the object.

download_object : Download an object from a specified bucket to the local filesystem, preserving metadata. You can also specify a version ID to download a specific version of the object.

get_admin_info : Get comprehensive technical information about the AIStor object store, including status, performance metrics, and configuration

get_bucket_lifecycle : Get the lifecycle also known as lifecycle rules also known as ILM configuration of a specified bucket

get_bucket_replication : Get the replication configuration of a specified bucket

get_bucket_tags : Get the tags of a specified bucket

get_bucket_versioning : Get the versioning status and configuration of a specified bucket

get_data_usage_info : Get data usage information for the AIStor object storeincluding total data stored, number of objects, and usage by each bucket

get_object_metadata : Get detailed metadata of an object including content type, size, custom headers, and system properties

get_object_presigned_url : Get a presigned URL for an object in a bucket, with an optional expiration time. Default is 7 days.

get_object_tags : Get all tags associated with a specific object in a bucket

get_object_versions : Get all versions of an object in a bucket

list_allowed_directories : List all directories that are permitted for operations with the server

list_bucket_contents : List all objects in a specified bucket, including their sizes and last modified dates. You can also specify a prefix to filter the objects and whether to list versions.

list_buckets : List all buckets in the AIStor object store with their basic information

list_local_files : List all files and directories in a specified local directory path with their attributes

move_object : Move an object between buckets by copying to destination and removing from source. You can also specify a version ID to move a specific version of the object.

set_bucket_tags : Set the tags for a specified bucket

set_bucket_versioning : Configure versioning settings for a bucket with administrative privileges

set_object_tags : Set or update tags for an existing object in a bucket, supporting multiple key-value pairs. You can also specify a version ID to set tags for a specific version of the object.

text_to_object : Convert text to an object in a bucket, with support for different content types.

upload_object : Upload a file from local filesystem to a specified bucket.

Установка

TypingMind
Требования:

Node.js 18+

{
  "mcpServers": {
    "minio-mcp-server-aistor": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-aistor"
      ]
    }
  }
}

Используйте MCP AIStor MCP 服务器 с разными ИИ-моделями

TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому после подключения AIStor MCP 服务器 вы можете использовать их с разными моделями ИИ в TypingMind, не настраивая подключение отдельно для каждой модели. Вы можете запустить MCP локально на своём устройстве или подключиться к удалённому серверу MCP по URL.

Вариант 1: используйте локальный коннектор

Выберите этот способ, если серверу MCP нужен доступ к локальным файлам, приложениям или закрытым ресурсам на вашем компьютере.

1

Откройте настройки MCP

В TypingMind откройте «Настройки», затем «Расширенные настройки», перейдите в раздел «Протокол контекста модели» и выберите «Настроить коннектор».

  1. Откройте TypingMind в браузере.
  2. Нажмите значок настроек.
  3. Перейдите в «Расширенные настройки».
  4. Откройте раздел «Протокол контекста модели».
  5. Нажмите «Настроить коннектор» и выберите «Это устройство».
Экран настройки коннектора MCP в TypingMind с выбранным вариантом «Это устройство»
2

Выполните команду коннектора

Выберите «Это устройство», скопируйте команду из TypingMind и выполните её в терминале. Не останавливайте процесс, пока используете MCP.

  1. Скопируйте команду настройки, показанную в TypingMind.
  2. Откройте «Терминал» в macOS или Windows Terminal в Windows.
  3. Вставьте и выполните команду.
  4. Подтвердите установку пакета, если терминал запросит разрешение продолжить.
  5. Не закрывайте окно терминала и не останавливайте процесс, пока используете инструменты MCP.
3

Добавьте AIStor MCP 服务器 как сервер

Когда статус коннектора сменится на «Готов», нажмите «Изменить серверы» и вставьте конфигурацию сервера MCP.

  1. Дождитесь, пока статус коннектора сменится на «Готов».
  2. Нажмите «Изменить серверы».
  3. Вставьте конфигурацию сервера MCP для AIStor MCP 服务器.
  4. Сохраните список серверов.
  5. Обновите статус, если хотите убедиться, что коннектор по-прежнему готов к работе.
Настройки MCP в TypingMind с активным сервером и кнопкой «Изменить серверы»
{
  "mcpServers": {
    "minio-mcp-server-aistor": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-aistor"
      ]
    }
  }
}
4

Используйте подключение с разными моделями

Сохраните список серверов, откройте раздел «Плагины», включите инструменты MCP для AIStor MCP 服务器, затем выберите любую поддерживаемую модель ИИ в TypingMind и используйте инструменты в чате или назначьте их ИИ-агенту.

  1. Откройте страницу «Плагины» в TypingMind.
  2. Включите инструменты MCP для AIStor MCP 服务器.
  3. Начните чат и выберите модель ИИ, которую хотите использовать.
  4. Используйте инструменты MCP в чате или назначьте их ИИ-агенту.
  5. При необходимости переключайтесь на другую модель ИИ без повторного подключения MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью AIStor MCP 服务器?
AIStor MCP 服务器
Конечно. Я всё прочитал.
Вот что я нашёл с помощью AIStor MCP 服务器.

Вариант 2: добавьте URL сервера MCP

Выберите этот способ, если AIStor MCP 服务器 уже размещён на удалённом сервере или вашей команде нужен общий коннектор для нескольких пользователей.

1

Откройте коннекторы MCP

В TypingMind перейдите в раздел «Плагины», откройте «Коннекторы MCP» и выберите «Добавить URL».

  1. Откройте TypingMind в браузере.
  2. Перейдите в раздел «Плагины».
  3. Откройте раздел «Коннекторы MCP».
  4. Нажмите «Добавить URL».
Форма «Добавить URL своего сервера MCP» в TypingMind
2

Вставьте URL сервера

Введите URL вашего сервера в поле «URL сервера». Добавьте название подключения, описание, значок, пользовательские HTTP-заголовки или настройки клиента OAuth, если они требуются серверу.

  1. Вставьте URL вашего сервера в поле «URL сервера».
  2. Введите название подключения для AIStor MCP 服务器.
  3. Добавьте описание и значок, чтобы подключение было проще узнать.
  4. Добавьте пользовательские HTTP-заголовки или данные клиента OAuth, если сервер требует аутентификации.
3

Создайте подключение

Нажмите «Создать подключение», затем вернитесь к списку плагинов и убедитесь, что новое подключение MCP активно.

  1. Нажмите «Создать подключение».
  2. Вернитесь к списку коннекторов MCP.
  3. Убедитесь, что подключение AIStor MCP 服务器 отображается как активное.
  4. Обновите список плагинов, если подключение не появится сразу.
4

Переключайте модели без повторного подключения

Начните чат с предпочитаемой моделью, включите инструменты AIStor MCP 服务器 в разделе «Плагины» и при необходимости переключитесь на другую модель. Подключение MCP останется доступным в рабочем пространстве TypingMind.

  1. Начните новый чат в TypingMind.
  2. Выберите модель ИИ, которую хотите использовать.
  3. Включите инструменты AIStor MCP 服务器 в разделе «Плагины».
  4. При необходимости попросите модель использовать инструмент.
  5. Переключитесь на другую модель ИИ и используйте то же подключение MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью AIStor MCP 服务器?
AIStor MCP 服务器
Конечно. Я всё прочитал.
Вот что я нашёл с помощью AIStor MCP 服务器.

Часто задаваемые вопросы

Для чего используется сервер MCP AIStor MCP 服务器?

AIStor MCP 服务器 — это сервер MCP, который позволяет совместимым ИИ-клиентам подключаться к внешним инструментам и получать контекст. В TypingMind достаточно один раз добавить этот сервер MCP, чтобы его инструменты стали доступны в вашем рабочем пространстве с ИИ.

Можно ли использовать сервер MCP AIStor MCP 服务器 с несколькими ИИ-моделями в TypingMind?

Да. TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому вы можете использовать AIStor MCP 服务器 с разными ИИ-моделями, например Claude, ChatGPT, Gemini или другими моделями, настроенными в TypingMind, без отдельной настройки сервера MCP для каждой модели.

Зачем использовать MCP AIStor MCP 服务器 с TypingMind?

TypingMind — один из лучших интерфейсов для чата с LLM: он объединяет разные ИИ-модели, промпты, плагины, ИИ-агентов, ключи API и инструменты MCP в одном рабочем пространстве. Подключив AIStor MCP 服务器, вы сможете использовать его инструменты MCP с предпочитаемыми моделями, сохраняя удобную организацию работы с чатами в TypingMind.

Как подключить сервер MCP AIStor MCP 服务器 к TypingMind?

AIStor MCP 服务器 можно подключить к TypingMind через локальный коннектор MCP или добавив URL удалённого сервера MCP. Используйте локальный коннектор, если серверу нужен доступ к файлам, приложениям или закрытым ресурсам на вашем устройстве, и URL сервера, если сервер MCP размещён удалённо.

Какие инструменты предоставляет сервер MCP AIStor MCP 服务器 в TypingMind?

AIStor MCP 服务器 предоставляет возможности MCP, которые можно включить на странице «Плагины» в TypingMind и использовать в чате или назначить ИИ-агентам.

Нужно ли передавать TypingMind свои ключи API для использования сервера MCP AIStor MCP 服务器?

Нет. TypingMind ориентирован прежде всего на локальную работу и позволяет вам контролировать выбор провайдеров моделей, ключи API, промпты и конфигурацию MCP. Если AIStor MCP 服务器 требует аутентификации, при создании подключения добавьте необходимые заголовки, настройки OAuth или локальную конфигурацию для этого сервера MCP.

Похожие серверы MCP

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇