Content
# mcp-upload-file
A file upload service based on MCP (Model Context Protocol).
## Configuration Instructions
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 for the file field in the upload form
"FILE_NAME": "", // The name of the file to be uploaded
"EXTRA_FORM": "{\"other_form_key\":\"other_form_value\"}" // Additional form data (in JSON format)
}
}
}
}
```
### Environment Variable Descriptions
- `UPLOAD_URL`: Required, the target URL for file upload
- `FILE_KEY`: Required, the key name for the file field in the upload form
- `FILE_NAME`: Optional, specifies the name of the file to be uploaded
- `EXTRA_FORM`: Optional, additional form data, must be a valid JSON string
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...
openfang
Open-source Agent Operating System
memU
MemU is a memory framework for LLM and AI agents, organizing multimodal...