Begin
Connect your agent
Create an account first if you do not have one. The MCP server is at https://veilfile.com/mcp, and your account needs a verified email to use it. Clients that support MCP sign-in ask you to sign in the first time. The others take an API key instead: create one in your dashboard and export it as VEILFILE_API_KEY. On Free there is one key, shared between the CLI and your agent: run veilfile key to print it, or sign in with OAuth where your client offers it, which never counts toward the cap. The snippets below use the key.
Claude Code
claude mcp add --transport http veilfile https://veilfile.com/mcp \
--header "Authorization: Bearer $VEILFILE_API_KEY"
Codex
codex mcp add veilfile --url https://veilfile.com/mcp --bearer-token-env-var VEILFILE_API_KEY
Cursor
Add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"veilfile": {
"url": "https://veilfile.com/mcp",
"headers": { "Authorization": "Bearer ${env:VEILFILE_API_KEY}" }
}
}
}
The Claude apps
In a Claude app, go to Customize, then Connectors, then Add custom connector, name it Veilfile and enter https://veilfile.com/mcp as its URL. If the dialog asks for an OAuth client, choose Register automatically, then sign in.
The Docs cover every other client and each option in agent setup.
Or use the command line
npm install -g veilfile # or: pip install veilfile
veilfile login # approve in your browser
veilfile push report.pdf # prints a private link
Or plain HTTP
curl -X POST https://veilfile.com/api/v1/artifacts \
-H "Authorization: Bearer $VEILFILE_API_KEY" \
-F "file=@screenshot.png" -F "ttl_days=7"
Agents can read a plain-text guide in one file, llms.txt.