deepseek-harness-baidu-netdisk-audit
Provides read-only access to a user's own Baidu Netdisk (百度网盘) account, enabling recursive directory listing, file metadata retrieval, keyword and semantic search, and quota checks without download or write capabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@deepseek-harness-baidu-netdisk-auditAudit my /网络安全教程 directory"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DeepSeek Harness × Baidu Netdisk: Read-Only Directory Audit
An unofficial, community-maintained minimal project: let DeepSeek Harness read your own netdisk through Baidu Netdisk's official MCP, recursively organize large tutorial directories, while blocking download and write operations by default.
This repository does not contain anyone's Access Token, real netdisk directories, file listings, or audit reports, nor does it install, sync, or upload netdisk files.
Why the bridge is needed
Baidu Netdisk officially provides the remote SSE address https://mcp-pan.baidu.com/sse. DeepSeek Harness's generic MCP client supports stdio and Streamable HTTP; this project provides a small SSE → stdio adapter and uses an explicit read-only allowlist in the adapter.
DeepSeek Harness
│ stdio
▼
本地只读桥接器
│ 官方 SSE + 用户自己的 Access Token
▼
百度网盘官方 MCPOnly these tools are registered in the Harness:
file_listfile_doc_listfile_image_listfile_video_listfile_metafile_keyword_searchfile_semantics_searchuser_infoget_quota
Tools for upload, download, sharing, deletion, moving, copying, renaming, and creating directories are not exposed to the model.
Related MCP server: CodeAudit MCP
Prerequisites
Windows 10/11 (the current script is verified on Windows; the bridge itself is cross-platform Node.js)
Node.js 20 or higher
An officially launched DeepSeek Harness
An Access Token obtained through Baidu Netdisk's official process
Official references:
Installation
git clone https://github.com/MarenV-narrative/deepseek-harness-baidu-netdisk-audit.git
Set-Location '.\deepseek-harness-baidu-netdisk-audit'
npm installnpm install only installs the publicly declared MCP SDK dependencies; it does not install or overwrite DeepSeek Harness.
1. Securely save the Access Token
Complete the authorization following the "Getting Started" section of Baidu's official README. Do not write the token into source code, Git, command-line arguments, or chat content.
On Windows, use the hidden-input script:
& '.\scripts\set-token-user.ps1'It saves the token as the BAIDU_NETDISK_ACCESS_TOKEN environment variable for the current Windows user. After saving, close and reopen the Harness.
2. Generate the Harness configuration snippet
npm run generate-configThe script generates config/harness-cordis-entry.generated.yml, which contains only the absolute paths of the local Node and the project, with no token. Append the entire patch operation to:
%USERPROFILE%\.dsh\profiles\web\cordis.patch.ymlBack up the original file first; do not overwrite an existing patch. After restarting the Harness, the mcp__baidu-netdisk__... tools should appear on the model side.
You can run a connection test that does not read private filenames:
npm run smokeIt only fetches the bridge's public tool list and confirms that no download or write tools are present.
3. Specify your own netdisk directory
Edit config/audit.json:
{
"target_dir": "/网络安全教程",
"dir_encoding": "urlencoded",
"max_pages_per_directory": 10000,
"document_content_preview_chars": 2000
}You can also override the target for this test only:
& '.\scripts\run-readonly-test.ps1' --target '/网络安全教程'4. Minimal read-only verification
& '.\scripts\run-readonly-test.ps1'This test will:
Use
file_listto paginate the target directory;Recursively obtain the subdirectory tree;
Select one document and use
file_metato check its metadata, content, and abstract;Write the private results to the local
inventory/andreports/.
These two output directories are ignored by Git by default. The test script makes no download, upload, or write calls to the netdisk.
5. Organize tutorials in the Harness
Copy the prompt from prompts/course-audit.zh.md and replace the target directory with your own path.
If content or abstract is empty, it usually means Baidu has not yet generated the parsing result, not that the file is empty. First infer from the path, filename, extension, size, and adjacent courses; only build an on-demand check queue for low-confidence files that affect learning order or installation safety.
This project deliberately does not implement a download tool. If on-demand downloads are added later, they should be placed in a separate tool that requires manual confirmation and limits single-file size and local disk output.
Privacy and security
The remote address is fixed to Baidu's official domain, avoiding environment variables forwarding the token to arbitrary servers.
The token is passed to the bridge subprocess only through environment variables.
Error messages attempt to mask the token.
Read-only permissions are enforced by the code allowlist, not just by prompts.
inventory/andreports/may contain private filenames, paths, summaries, and content previews; do not commit them.Run
npm run privacy-checkto check for common token shapes, Windows user paths, and known private paths.
Compatibility notes
This project was initially verified with: DeepSeek Harness 0.1.0-rc.6, MCP SDK 1.30.0, Windows 11. If upstream changes the transport method, tool names, or configuration format, refer first to the official documentation of Baidu Netdisk and DeepSeek Harness.
Disclaimer
This project is not an official Baidu or DeepSeek project and has no affiliation, endorsement, or partnership with them. Users should comply with Baidu Netdisk's terms of service and access only data they own or are authorized to access.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityBmaintenanceRead-only MCP server that wraps WizTree's CSV export and adds disk-usage analysis tools, enabling file system scanning and analysis via natural language.63MIT
- AlicenseNot gradedqualityCmaintenanceA read-only MCP server for AI coding agents to inspect repositories, audit code quality, route engineering skills, and plan safe issue/PR workflows.1MIT
- AlicenseCqualityCmaintenanceConnects Baidu Netdisk to MCP-compatible AI clients, enabling AI to safely read selected files and generate summaries, key points, to-dos, tags, and organization suggestions.2712MIT
- FlicenseBqualityCmaintenanceA read-only MCP server that exposes a local code workspace to AI clients via stdio, providing file browsing and text search capabilities with path safety rules.1
Related MCP Connectors
Read-only Remote MCP for externally grounded AI agent trust receipts.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Read-only China A-share data for AI agents: market, limit-up, capital flow and disclosures.
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/MarenV-narrative/deepseek-harness-baidu-netdisk-audit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server