Content
# mcp-upload-file
A file upload service based on MCP (Model Context Protocol).
## Configuration
Add the following configuration to the MCP configuration file:
```json
{
"mcpServers": {
"upload-file": {
"command": "npx",
"args": [
"-y",
"mcp-upload-file@latest"
],
"env": {
"UPLOAD_URL": "", // The target URL for file upload
"FILE_KEY": "", // The key of the file field in the upload form
"FILE_NAME": "", // The name of the uploaded file
": "{\"other_form_key\":\"other_form_value\"}" // Extra form data (in JSON format)
Environment Variables
- `UPLOAD_URL`: Required, the target URL for file upload
- `FILE_KEY`: Required, the key name of the file field in the upload form
- `FILE_NAME`: Optional, specify the filename of the uploaded file
- `EXTRA_FORM be a valid
Connection Info
You Might Also Like
everything-claude-code
Complete Claude Code configuration collection - agents, skills, hooks,...
markitdown
Python tool for converting files and office documents to Markdown.
awesome-claude-skills
A curated list of awesome Claude Skills, resources, and tools for...
antigravity-awesome-skills
The Ultimate Collection of 130+ Agentic Skills for Claude...
context-mode
MCP is the protocol for tool access. We're the virtualization layer for context.
claude-context-mode
claude-context-mode plugin reduces MCP context bloat, saving up to 99% of tokens.