
Veilfile
io.github.veilfile由 GitHub 账号 veilfile 发布v1.0.0更新于 Oct 30, 2026
Private, expiring artifact hosting for AI agents. Upload via API or MCP; links die on their own.
概览
Veilfile 是一个托管的 MCP 服务器,用于私密、会过期的产物托管:助手可上传截图、日志或 HAR 文件,并获得一个无法猜测、到期自动失效的链接。
- 可以做什么
- 上传产物并取回无法猜测、带有效期的链接
- 为不直接发送的文件创建预签名上传地址
- 列出工作区中已有的产物
- 撤销产物,使其链接立即失效
- 上传内容会被扫描敏感信息形态并标记,调用方要求时可直接拒绝
- 适用场景
- 适合 CI 或云端会话中的编码代理产出截图、日志包或 HAR 文件需要私密链接供审阅,而不想放进公开仓库的场景。也适合把短期文件交给人工查看,又不想让它们长期留在网上。
- 运行要求
- 通过 streamable HTTP 连接 veilfile.com 的远程端点,无需本地安装。需要完成邮箱验证的账号,并在控制台创建 API 密钥,以 Authorization 请求头携带,或使用 OAuth 令牌。有免费方案,更大额度需付费。
安装
在 SourceWeft 中
- 打开 控制台中的 Veilfile,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.veilfile%2Fveilfile/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"veilfile": {
"type": "http",
"url": "https://veilfile.com/mcp/"
}
}
}README
Veilfile — private, ephemeral artifact hosting for AI agents
When a coding agent in CI or a cloud session produces a screenshot, log bundle,
or HAR file for review, it needs a private URL to put it at — not a public
repo. Veilfile is the sanctioned place: upload via API key (or MCP), get back an
unguessable, expiring URL. Uploads are scanned for secret shapes and flagged
(blocked only when the caller passes on_secret=reject; file contents are
never logged).
- API:
POST /api/v1/artifacts(multipart,Authorization: Bearer vlf_…) →{id, url, expires_at, size_bytes, secret_flags[]}.GET /a/<token>serves the file (the 256-bit token is the auth). List (bare JSON array) and revoke endpoints included. - MCP: hosted server at
POST /mcp(JSON-RPC over HTTP; toolsupload_artifact,create_upload_url,list_artifacts,revoke_artifact), authenticated with avlf_key or an OAuth token. - CLIs:
veilfileon PyPI (cli/) and npm (npm/):login(device flow),logout,status,push,pull. - Dashboard: signed-in pages at
/app/, Django views on the same shell as the rest of the site: Overview (usage vs plan caps), Files (secret-flag notes- revoke), Keys (a new key is shown once), Connected apps and Billing (plan switching and the Stripe billing portal).
- Landing page:
/(public). Agent docs:/llms.txt,docs/API.md,/docs/. - Agents working on this repo: read AGENTS.md.
See SPEC.md for the product spec.
Plans
Yearly billing costs ten months' price, so two months are free. A yearly plan has the same limits as the monthly one.
The source of truth is backend/drop_core/plans.py (PLANS, and
ANNUAL_PRICE_USD for the yearly prices; Stripe prices live in Stripe and the
STRIPE_PRICE_* variables). backend/drop_core/tests_fix_docs.py
fails when a doc or template states a different price or cap.
Quickstart (local dev)
Sign up at http://localhost:8000/accounts/signup/ (or log in), open
/app/, create an API key, then:
Environment variables
No secrets are committed to this repo. Copy the names below into a local
.env (gitignored) or your host's env config. Billing is live in
production (sk_live_..., live price IDs, Stripe Managed Payments); use a
Stripe sandbox/test key only on a local or staging copy.
Without Stripe vars, checkout/switch/portal return 503 billing_not_configured and the
dashboard shows a friendly note; everything else works.
Tests
Tests need DJANGO_DEBUG=True (the test runner refuses False) and a local
database; it also forces local storage and strips STRIPE_*/AWS_*.
CI (.github/workflows/ci.yml) runs all of the above plus
manage.py check --deploy, a production-settings collectstatic, and the
browser checks in site-tests/ (jobs site, site-cloth, site-ink, site-reading, site-phone, site-forms, site-catalog and site-dashboard; see AGENTS.md, "Site checks")
on every pull request to main (the browser checks skip a pull request that changes no page), and the backend and CLI checks on every push to it. It runs on GitHub-hosted runners, one machine for each job, with the jobs side by side (AGENTS.md, "Where CI runs").
Ops
- Deploy: Render Docker web service (serves veilfile.com), auto-deploys every commit to
mainafter its CI checks pass, with a paid Postgres.render.yamlmirrors it. The container runs as a non-root user. Boot sequence (backend/entrypoint.sh):migrate --noinput(skipped whenSKIP_MIGRATE=1),createcachetable, a background daily housekeeping loop, then gunicorn. - Health check:
GET /healthzreturns200 {"status":"ok"}after aSELECT 1, or503. Set it as the Render Health Check Path. - Daily housekeeping: the entrypoint loop runs
sweep_expired,clearsessions,cleartokens,prune_funnel_events,prune_email_ips(clears send-log IPs after 90 days) andpurge_expired_cacheonce a day. No separate cron job is needed. Uploads also trigger a small lazy sweep. - TTL sweeper:
python backend/manage.py sweep_expireddeletes expired artifacts (files + rows). Idempotent. Printsswept=N bytes=N failed=Nand exits non-zero when any storage delete failed (those rows are kept for the next run);--limit N/--time-budget SECONDSbound a run. - Orphaned files:
python backend/manage.py reconcile_storagelists stored objects with no artifact row;--deleteremoves them. Run it by hand, dry run first:--deleterefuses when the database looks wrong (empty artifact table, more than 20% orphans, or R2 storage without PostgreSQL) unless you pass--forceafter checking thedb=/storage=it prints. - Billing resync:
python backend/manage.py sync_stripe_billing(dry run;--applyto write) rebuilds workspace plans from Stripe. The Stripe setup steps are in the private ops repository. - Deploy checks:
manage.py check --deployreportsveilfile.W001-W006misconfigurations (also logged at ERROR by every worker at boot). - Local container:
docker runneedsDATABASE_URL=sqlite:////tmp/db.sqlite3together withDJANGO_ALLOW_SQLITE=True(production mode otherwise refuses SQLite);/app/backendis read-only to the non-root user. - Storage: Render's disk is ephemeral. Production must use
DROP_STORAGE=s3(Cloudflare R2). - MCP registries: launch checklist in
docs/REGISTRIES.md.
Project layout
License and contributions
The code is published so that anyone can read it and check what Veilfile does.
All rights are reserved (LICENSE), except for the command-line clients in cli/ and npm/, which
are under the MIT License. This repository does not accept pull requests from outside contributors. Issues are
welcome, and a security problem should be reported privately with "Report a vulnerability" on the
repository's Security tab.
Launch checklist
- Create Cloudflare R2 bucket + API token (S3-compatible).
- Create Stripe products/prices (Team $4, Team Plus $6, Scale $12, tax-inclusive) with product tax codes; note the price IDs.
- Deploy on Render (see
render.yaml); set env vars incl.DROP_BASE_URL,DATABASE_URLand theEMAIL_*SMTP settings; set the Health Check Path to/healthz. - Point the Stripe webhook at
https://<host>/api/v1/billing/webhook; setSTRIPE_WEBHOOK_SECRET. - Decide
VEILFILE_SAFETY_MODE(logorenforce). - List the MCP server per
docs/REGISTRIES.md.
Expired artifacts are swept daily by the entrypoint loop; no cron job is needed.
来源:README.md,提交 5a19640
工具
0版本历史
1- v1.0.0最新Oct 29, 2026
评分
已满足适用检查项的 75%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。