Baidu Netdisk Knowledge MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BAIDU_SCOPE | No | OAuth scope | basic,netdisk |
| BAIDU_APP_KEY | Yes | 百度开放平台 AppKey | |
| BAIDU_CACHE_ROOT | No | 本地 cache 路径 | ~/.baidu-netdisk-mcp/cache |
| BAIDU_LOCAL_ROOT | No | 本地文件访问根目录 | 启动目录 |
| BAIDU_SECRET_KEY | Yes | 百度开放平台 SecretKey | |
| BAIDU_SKILLS_DIR | No | 自定义 skill 目录 | ~/.baidu-netdisk-mcp/skills |
| BAIDU_TOKEN_STORE | No | token 文件路径 | ~/.baidu-netdisk-mcp/tokens.json |
| BAIDU_REDIRECT_URI | No | OAuth 回调地址 | oob |
| BAIDU_OPERATION_LOG | No | 写操作审计日志路径 | ~/.baidu-netdisk-mcp/operations.jsonl |
| BAIDU_SELECTION_STORE | No | selectionId 存储路径 | ~/.baidu-netdisk-mcp/selections.json |
| BAIDU_STRICT_APP_PATHS | No | 写操作限制到 /apps/<appName> | true |
| BAIDU_TRANSFER_MAX_RETRIES | No | 上传/下载重试次数 | 3 |
| BAIDU_UPLOAD_CHUNK_SIZE_BYTES | No | 上传分片大小 | 4194304 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| baidu_auth_statusA | Check whether the MCP server has a Baidu Netdisk access token. |
| baidu_auth_urlC | Build a Baidu OAuth authorization URL for basic,netdisk access. |
| baidu_auth_qrcode_urlC | Build a Baidu OAuth URL optimized for QR-code login. |
| baidu_auth_qrcodeB | Build a QR-code Baidu OAuth URL plus terminal QR and PNG data URL. |
| baidu_auth_exchange_codeB | Exchange a Baidu OAuth authorization code for access and refresh tokens. |
| baidu_auth_refreshA | Refresh the stored Baidu access token and persist the new single-use refresh token. |
| baidu_operation_logB | Read recent local audit records for executed Baidu Netdisk write operations. |
| baidu_quotaA | Get Baidu Netdisk total, used, free, and expiring capacity. |
| baidu_list_filesC | List files in a Baidu Netdisk directory. |
| baidu_list_all_filesC | List files below a Baidu Netdisk path, optionally recursively. |
| baidu_search_filesC | Search Baidu Netdisk files by keyword. |
| baidu_search_selectable_filesB | Search files and return a numbered list that can be selected with expressions like 1,3,5-9. |
| baidu_list_selectable_filesB | List files and return a numbered list that can be selected with expressions like 1,3,5-9. |
| baidu_select_filesB | Create a reusable selectionId from a resultId plus an expression such as 1,3,5-9. |
| baidu_file_metasC | Get metadata for one or more Baidu Netdisk fs_id values. |
| baidu_create_folderB | Create a folder under /apps/ in Baidu Netdisk. |
| baidu_rename_fileC | Rename a Baidu Netdisk file or folder. |
| baidu_copy_fileC | Copy a Baidu Netdisk file or folder. |
| baidu_move_fileC | Move a Baidu Netdisk file or folder. |
| baidu_delete_fileB | Delete Baidu Netdisk files. Requires confirm: DELETE. |
| baidu_upload_fileB | Upload a local file to Baidu Netdisk using the official multipart upload flow. |
| baidu_download_fileA | Download a Baidu Netdisk file by fs_id to the configured local root. |
| baidu_read_selectionB | Download selected files to local cache, parse supported document formats, and return chunked text. |
| baidu_analyze_selectionB | Summarize selected files with key points, actions, tags, value judgment, and suggested classification. |
| baidu_list_skillsA | List built-in and user-defined Markdown/YAML knowledge processing skills. |
| baidu_run_skillC | Run a configured knowledge processing skill over a selectionId. |
| baidu_plan_organize_selectionA | Create a dry-run folder organization plan for selected files. It does not move files. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/capwitf/baidu-netdisk-knowledge-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server