
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
mcp-file-uploader
Advanced tools
一个基于 MCP (Model Context Protocol) 的文件上传工具,支持将本地文件上传到指定的接口。
首先,确保你已经安装了所有依赖:
npm install
构建项目:
npm run build
启动 MCP 服务器(需要提供上传接口URL和API密钥):
npx mcp-file-uploader --uploadUrl <上传接口URL> --apiKey <API密钥>
示例:
npx mcp-file-uploader --uploadUrl https://api.example.com/upload --apiKey your-api-key-here
上传本地文件到指定接口。
参数:
filePath (string): 要上传的本地文件路径启动参数:
--uploadUrl: 上传接口的URL地址--apiKey: API密钥,用于验证用户身份接口规范:
fileKey: 文件唯一标识(格式:文件MD5_文件名)fileName: 原始文件名(含后缀)fileSize: 文件大小(字节)fileMd5: 文件MD5值file: 文件二进制流{
"mcpServers": {
"mcp-file-uploader": {
"command": "npx",
"args": [
"-y",
"mcp-file-uploader",
"--uploadUrl",
"https://api.example.com/upload",
"--apiKey",
"your-api-key-here"
]
}
}
}
FAQs
MCP文件上传工具 - 支持将本地文件上传到指定接口
The npm package mcp-file-uploader receives a total of 3 weekly downloads. As such, mcp-file-uploader popularity was classified as not popular.
We found that mcp-file-uploader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.