Logotipo de AIStor MCP 服务器

AIStor MCP 服务器

Organización
minio

Official MCP Server for AIStor

Editorminio
Repositoriomcp-server-aistor
Forks
15
Estrellas
44
Herramientas disponibles
0
Tipo de transportestdio, streamable-http
Categorías
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    AIStor MCP 服务器 ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    44 estrellas y 15 forks en el repositorio enlazado.

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.

Instalación

TypingMind
Requisitos:

Node.js 18+

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

Usa el MCP de AIStor MCP 服务器 con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado AIStor MCP 服务器, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Puedes ejecutar MCP localmente en tu dispositivo o conectarte a la URL de un servidor MCP remoto.

Opción 1: Usa el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade AIStor MCP 服务器 como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de AIStor MCP 服务器.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "minio-mcp-server-aistor": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-aistor"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de AIStor MCP 服务器 y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de AIStor MCP 服务器.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar AIStor MCP 服务器 para ayudarme con esta tarea?
AIStor MCP 服务器
Claro. Lo he leído.
Esto he encontrado usando AIStor MCP 服务器.

Opción 2: Añade la URL de un servidor MCP

Usa esta opción si AIStor MCP 服务器 ya está alojado en un servidor remoto o si tu equipo quiere un conector compartido al que puedan acceder varios usuarios.

1

Abre Conectores MCP

En TypingMind, ve a Plugins, abre Conectores MCP y elige Añadir URL.

  1. Abre TypingMind en tu navegador.
  2. Ve a Plugins.
  3. Abre Conectores MCP.
  4. Haz clic en Añadir URL.
Formulario de TypingMind para añadir la URL de un servidor MCP personalizado
2

Pega la URL del servidor

Introduce la URL de tu servidor en el campo URL del servidor. Añade un nombre de conexión, una descripción, un icono, cabeceras HTTP personalizadas o la configuración del cliente OAuth si el servidor los requiere.

  1. Pega la URL de tu servidor en el campo URL del servidor.
  2. Introduce un nombre para la conexión de AIStor MCP 服务器.
  3. Añade una descripción y un icono si quieres que sea más fácil de identificar.
  4. Añade cabeceras HTTP personalizadas o los datos del cliente OAuth si el servidor requiere autenticación.
3

Crea la conexión

Haz clic en Crear conexión, vuelve a la lista de plugins y comprueba que la nueva conexión MCP esté activa.

  1. Haz clic en Crear conexión.
  2. Vuelve a la lista de conectores MCP.
  3. Comprueba que la conexión de AIStor MCP 服务器 aparezca como activa.
  4. Actualiza la lista de plugins si la conexión no aparece de inmediato.
4

Cambia de modelo sin volver a conectar

Inicia un chat con tu modelo preferido, activa las herramientas de AIStor MCP 服务器 desde Plugins y cambia de modelo cuando lo necesites. La conexión MCP seguirá disponible en el espacio de trabajo de TypingMind.

  1. Inicia un nuevo chat en TypingMind.
  2. Selecciona el modelo de IA que quieras usar.
  3. Activa las herramientas de AIStor MCP 服务器 desde Plugins.
  4. Pide al modelo que use la herramienta cuando sea necesario.
  5. Cambia a otro modelo de IA y reutiliza la misma conexión MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar AIStor MCP 服务器 para ayudarme con esta tarea?
AIStor MCP 服务器
Claro. Lo he leído.
Esto he encontrado usando AIStor MCP 服务器.

Preguntas frecuentes

¿Para qué sirve el servidor MCP AIStor MCP 服务器?

AIStor MCP 服务器 es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP AIStor MCP 服务器 con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar AIStor MCP 服务器 con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de AIStor MCP 服务器 con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con AIStor MCP 服务器 conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP AIStor MCP 服务器 a TypingMind?

Puedes conectar AIStor MCP 服务器 en TypingMind con el conector MCP local o añadiendo la URL de un servidor MCP remoto. Usa el conector local cuando el servidor necesite acceder a archivos, aplicaciones o recursos privados de tu dispositivo, y una URL de servidor cuando el servidor MCP esté alojado de forma remota.

¿Qué herramientas ofrece el servidor MCP AIStor MCP 服务器 en TypingMind?

AIStor MCP 服务器 ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP AIStor MCP 服务器?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si AIStor MCP 服务器 requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇