
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
icsc-ava-upload-toolkit
Advanced tools
完整的檔案上傳工具套件,包含 MCP Server 和 Mock File Service,支援工具鏈設計,專為 LibreChat 系統設計。
# 安裝專案依賴
uv sync
# 或者以開發模式安裝
uv pip install -e .
# 從本地專案運行 MCP Server (STDIO 模式)
uvx --from . icsc-ava-upload-server stdio
# MCP Server (HTTP 模式) - 可指定 host 和 port
uvx --from . icsc-ava-upload-server http 127.0.0.1 8001
# 使用簡短命令
uvx --from . icsc-ava-mcp stdio
# 從本地專案運行 Mock File Service - 可指定 host 和 port
uvx --from . mock-file-service 127.0.0.1 8090
# 使用簡短命令
uvx --from . icsc-ava-mock-service 127.0.0.1 8090
# 開發模式 (支援熱重載)
uvx --from . mock-file-service 127.0.0.1 8090 --reload
適用於本地 MCP Client 連接:
# 使用 uv run
uv run python -m icsc_ava_upload_mcp_server.server stdio
# 或使用安裝後的命令
uv run icsc-ava-upload-server stdio
適用於遠端 MCP Client 連接:
# 使用 uv run (預設 127.0.0.1:8001)
uv run python -m icsc_ava_upload_mcp_server.server http
# 指定 host 和 port
uv run python -m icsc_ava_upload_mcp_server.server http 0.0.0.0 9000
# 或使用安裝後的命令
uv run icsc-ava-upload-server http 127.0.0.1 8001
# 使用 uv run (預設 127.0.0.1:8090)
uv run python -m mock_file_service.server
# 指定 host 和 port
uv run python -m mock_file_service.server 0.0.0.0 9000
# 開發模式 (熱重載)
uv run python -m mock_file_service.server 127.0.0.1 8090 --reload
# 或使用安裝後的命令
uv run mock-file-service 127.0.0.1 8090
# 一鍵啟動兩個服務
uv run icsc-ava-start
# 或使用 uvx
uvx --from . icsc-ava-start
# 終端機 1: 啟動 Mock File Service
uv run mock-file-service 127.0.0.1 8090
# 終端機 2: 啟動 MCP Server
uv run icsc-ava-upload-server http 127.0.0.1 8001
HTTP 模式預設監聽:
http://127.0.0.1:8001/mcphttp://127.0.0.1:8090在 claude_desktop_config.json 中加入:
{
"mcpServers": {
"icsc-ava-upload": {
"command": "uvx",
"args": ["--from", "D:\\project\\icsc-file-uploader", "icsc-ava-upload-server", "stdio"]
}
}
}
啟動 HTTP 伺服器後,MCP Client 可連接到:
http://127.0.0.1:8001/mcp專案已包含 .vscode/launch.json,提供兩種除錯模式:
更新版本號:
# 更新 pyproject.toml 中的版本號
# 確保版本號遵循語意化版本控制 (Semantic Versioning)
構建套件:
# 使用 uv 構建套件
uv build
# 或使用傳統的 setuptools
python -m build
上傳到 PyPI:
# 上傳到官方 PyPI
uv publish --publish-url https://upload.pypi.org/legacy/
# 或使用 twine
python -m twine upload dist/*
驗證發佈:
# 檢查套件是否成功發佈
pip install icsc-ava-upload-toolkit
# 或使用 uv
uv add icsc-ava-upload-toolkit
如需先測試發佈流程:
# 上傳到測試 PyPI
uv publish --publish-url https://test.pypi.org/legacy/
# 從測試 PyPI 安裝
pip install --index-url https://test.pypi.org/simple/ icsc-ava-upload-toolkit
發佈時建議建立 Git 標籤:
# 建立標籤
git tag v1.0.0
# 推送標籤到遠端
git push origin v1.0.0
MIT License
FAQs
ICSC Ava Upload Toolkit - 包含 MCP Server 和 Mock File Service 的完整工具套件
We found that icsc-ava-upload-toolkit 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
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

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.