Feedback

Alist MCP Server

@javanshen Claim

Basic information

Runtime
node
Category
License
MIT license
Transports
stdio
Author
javanshen
Submitted by
Community
Quality
10
Stars
5

About Alist MCP Server

MCP Server for Alist

Alist MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by JavanShen. It exposes 15 tools, including fsList, fsGet, fsDirs, fsSearch and more. Supported transport: stdio. Runtime: node. License: MIT license. The repository has 5 GitHub stars. Source code is hosted on github.com. Related topics: alist, api, mcp-server.

Setup

{
    "mcpServers": {
        "alistApi": {
            "command": "npx",
            "args": [
                "-y",
                "alist-mcp-server"
            ],
            "env": {
                "ALIST_HOST": "",
                "ALIST_TOKEN": ""
            }
        }
    }
}

Alist MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "alistApi": {
            "command": "npx",
            "args": [
                "-y",
                "alist-mcp-server"
            ],
            "env": {
                "ALIST_HOST": "",
                "ALIST_TOKEN": ""
            }
        }
    }
}

Alist MCP Server tools

  • fsList — 列出文件目录
    path:string, password:string, page:integer, per_page:integer, refresh:boolean
  • fsGet — 获取某个文件/目录信息
    path:string*, password:string*, page:integer, per_page:integer, refresh:boolean
  • fsDirs — 获取目录
    path:string, password:string, force_root:boolean
  • fsSearch — 搜索文件或文件夹
    parent:string*, keywords:string*, scope:integer, page:integer*, per_page:integer*, password:string*
  • fsMkdir — 新建文件夹
    path:string*
  • fsRename — 重命名文件
    name:string*, path:string*
  • fsBatch_rename — 批量重命名
    src_dir:string*, rename_objects:array*
  • fsRegex_rename — 正则重命名
    src_dir:string*, src_name_regex:string*, new_name_regex:string*
  • fsMove — 移动文件
    src_dir:string*, dst_dir:string*, names:array*
  • fsRecursive_move — 聚合移动
    src_dir:string*, dst_dir:string*
  • fsCopy — 复制文件
    src_dir:string*, dst_dir:string*, names:array*
  • fsRemove — 删除文件或文件夹
    names:array*, dir:string*
  • fsRemove_empty_directory — 删除空文件夹
    src_dir:string*
  • fsAdd_offline_download — 添加离线下载
    urls:array*, path:string*, tool:string*, delete_policy:string*
  • fsForm — 表单上传文件
    file:string*

Overview

What is Alist MCP Server?

Alist MCP Server is an MCP (Model Context Protocol) server that integrates with the Alist API, enabling AI models to interact with Alist file management services.

How to use Alist MCP Server?

Provide your Alist server address and authentication token via the environment variables ALIST_HOST and ALIST_TOKEN. Run the server using npx with the command npx -y alist-mcp-server. To obtain a token, open Alist in a browser, press F12 to open developer tools, go to the Network tab, select any request, and copy the value of the Authorization parameter.

Key features of Alist MCP Server

  • Integrates with Alist API over the MCP protocol
  • Authentication via Alist token
  • Simple setup with npx

Frequently asked questions

1 How do I get the Alist token?

Open Alist in a browser, press F12 to open developer tools, go to the Network tab, select any request, and copy the Authorization header value.

2 What environment variables are required?

You must set ALIST_HOST (the Alist server URL) and ALIST_TOKEN (the authentication token).

3 How do I install Alist MCP Server?

Add the following configuration to your MCP settings JSON: command npx, args ["-y", "alist-mcp-server"], and environment variables ALIST_HOST and ALIST_TOKEN.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬