
baidu-netdisk/mcp
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
baidu netdisk mcp server
Overview
Baidu Netdisk's core API is now fully compatible with the MCP protocol. It covers user information, file retrieval, file upload, file management, file search, and more. Developers only need simple configuration to quickly connect to Baidu Netdisk, enabling file upload, file management, and other capabilities, significantly lowering the threshold for developers to access cloud drive services and significantly improving development efficiency. Before using the service, developers need to register a Baidu account on the Baidu Netdisk Open Platform. For details, please refer to 【Register and Log in to Baidu Account】. After registering the account, you need to complete real-name authentication to enjoy various Netdisk capabilities and services. For details, please refer to 【Real-Name Authentication】. After completing real-name authentication, developers need to create an application in the Open Platform console to obtain key access information. For specific steps, please refer to 【Create an App】. Currently, all services on the Open Platform are built on Baidu OAuth system. To access the Open Platform services, you must first authorize your application to obtain an Access Token. For specific steps, please refer to 【Access Authorization】. Currently, all services on the Open Platform are built on Baidu's OAuth system. To access the Open Platform services, you must first authorize your account to obtain Access Tokens. The specific process is as follows: [Click here to initiate an authorization request] After clicking the above link, you will be redirected to the authorization page. After clicking the "Authorize" button, users will be redirected to the Access Token link. Simply copy the Access Token section of the link. If you need to unbind an application, you can manage the cloud drive MCP Server authorization in [Authorization Management] and perform actions such as "setting permissions" and "unlinking" on authorized applications. Once you obtain the Access Token credential, you can call the cloud drive MCP Server to access user information and authorization resources. Any platform that supports the MCP protocol (such as Claude, Cursor, Cline) can easily connect to Baidu Netdisk's MCP server. Baidu Netdisk offers two access methods: SSE and Python for users to choose from. Among them, the upload function can only be accessed locally via Python, while other functions support SSE access. Taking the Cursor platform as an example, before performing the integration operation, users are advised to install and use the latest version of the Cursor client. Note: The upload tool requires reading the local file. SSE mode does not include the upload tool. To use the upload tool, use stdio mode. 2. Add the following content to the mcp.json configuration file and save Note: Please first complete user authentication on the Open Cloud Platform to obtain the Access Token. Refer to [Preparation for Use]
Overview (machine translated)
Introduction
Baidu Netdisk’s core API is now fully compatible with the MCP protocol. It covers user information, file retrieval, file upload, file management, file search, and more. Developers only need simple configuration to quickly connect to Baidu Netdisk, enabling file upload, file management, and other capabilities, significantly lowering the threshold for developers to access cloud drive services and significantly improving development efficiency.
Feature Introduction
| Feature Name | Function Description | Function Description |
|---|---|---|
| file_list | Basic File Information - Get File List | Get the list of files in the specified directory on the user’s cloud drive. |
| file_doc_list | Basic File Information - Get Document List | Get the list of documents in the user-specified directory. |
| file_image_list | Basic File Information - Get Image List | Get a list of images in the user’s specified directory. |
| file_video_list | Basic File Information - Get Video List | Get the video list in the user’s specified directory. |
| file_meta | Basic File Information - Obtain File Details | Get detailed information about cloud drive files via file ID. |
| make_dir | File Management - Create Folder | Create folder. |
| file_copy | File Management - Copy | Perform a copy operation on the specified file. |
| file_del | File Management - Delete | Perform deletion operations on specified files. |
| file_move | File Management - Move | Perform the move operation on specified files. |
| file_rename | File Management - Rename | Rename specified files. |
| file_upload_stdio | File Upload - Upload Local Files | Upload the user’s local files to the cloud file stored on the cloud drive. **Due to the need to read local files, uploading local files only supports STDIO mode ** |
| file_upload_by_url | File upload - upload via URL | Upload files to the cloud drive via file link. |
| file_upload_by_url | File Upload - Upload via Text | Upload files to cloud drive via text content. |
| file_keyword_search | File Search - File Name Search | Search by keyword for cloud drive file names. Retrieves a list of files containing the specified keywords in the user-specified directory. |
| file_semantics_search | File Search - File Semantic Retrieval | Semantic search of cloud drive files, supports complex query searches in natural language descriptions for files on cloud drives |
| file_sharelink_set | File Sharing - Create Share Link | Create file sharing link. |
| user_info | Basic User Information - Obtain Authorized User Information | Obtain basic user information. |
This page was translated automatically. Technical details may differ from the original.
Install
This server does not publish a one-line install command.
Open the repository installation guide New to MCP? Start with the mcpskill.org guide →