
Veilfile
io.github.veilfilePublished by GitHub account veilfilev1.0.0Updated Oct 30, 2026
Private, expiring artifact hosting for AI agents. Upload via API or MCP; links die on their own.
Overview
Veilfile is a hosted MCP server for private, expiring artifact hosting: an assistant can upload screenshots, logs or HAR files and get back an unguessable…
- What you can do
- Upload artifacts and get back an unguessable, expiring URL
- Create pre-signed upload URLs for files the assistant does not send directly
- List existing artifacts in the workspace
- Revoke an artifact so its link stops working
- Uploads are scanned for secret shapes and flagged, and can be rejected when the caller asks for that
- When to use it
- Useful when a coding agent in CI or a cloud session produces a screenshot, log bundle or HAR file for review and needs a private link instead of putting it in a public repo. Also fits handing short-lived files to a human reviewer without leaving them online indefinitely.
- Requirements
- Remote endpoint at veilfile.com over streamable HTTP; no local install. Requires an account with email verification and an API key issued in the dashboard, sent as an Authorization bearer header, or an OAuth token. A free plan exists; larger plans are paid.
Installation
In SourceWeft
- Open Veilfile in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.veilfile%2Fveilfile/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"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.
Source: README.md at commit 5a19640
Tools
0Version history
1- v1.0.0LatestOct 29, 2026
Score
75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.