For Codex
Hosting for Codex
Codex hosting in one config entry: add the anyshare MCP server or plugin, and Codex publishes the files it makes and replies with a URL anyone can open.
Codex (command)
More ways to connectSame as the config.toml entry, in one command.
codex mcp add anyshare -- npx -y @anyshare/cli mcp- No account to publish
- No API key
- Keep links 30 days with a free account
Where Codex output goes
Codex is good at producing things people want to read: a migration report, a benchmark write-up as Markdown, a CSV of results, a built front end. It doesn’t come with a way to put a file at a public URL, so those results usually stay in the repo or get pasted into chat by hand. anyshare adds that missing step.
Codex often runs shell commands in a sandbox, and depending on your settings that sandbox may block network access. Uploading needs the network, so either approve the upload when Codex asks, or use one of the MCP options, which means Codex doesn’t have to push the upload through its shell at all.
Setup
Connect Codex
The plugin bundles the skill and the MCP server. If you prefer config files, the TOML entry does the same as codex mcp add. The remote server needs no Node.js.
Pick one
Installs the anyshare skill and MCP server together.
codex plugin marketplace add anyshare/anyshare
codex plugin add anyshare@anyshareAdd to ~/.codex/config.toml, then ask Codex to share a file.
[mcp_servers.anyshare]
command = "npx"
args = ["-y", "@anyshare/cli", "mcp"]Same as the config.toml entry, in one command.
codex mcp add anyshare -- npx -y @anyshare/cli mcpNo Node needed. Add to ~/.codex/config.toml.
[mcp_servers.anyshare]
url = "https://anyshare.ai/mcp"Teaches any skills-aware agent when and how to share. Uses the CLI, falls back to curl.
npx skills add anyshare/anyshare --skill anyshareWhat exists for Codex
Codex gets the full set: a Codex plugin (the skill plus the MCP server), the local and remote MCP servers, and the Agent Skill on its own. Nothing needs an account or an API key.
Then just ask
- “build the site and share dist/ with anyshare”
- “write the findings up as report.md and share it”
- “export the benchmark results as results.csv and send me a link”
- “update the anyshare link with the latest build”
When it’s shared
What Codex tends to publish
Reports and docs Codex writes in Markdown get a reading page with a table of contents, CSV results open as a sortable table, and HTML runs as a live page.
- Markdown with a table of contents
- CSV as a sortable, filterable table
- HTML served as a live page
- Build folders as websites
How it works
Three steps to a Codex link
- Step 1:
Add anyshare
Run
codex mcp add anyshare -- npx -y @anyshare/cli mcp, or add the same server to~/.codex/config.toml. Check it withcodex mcp list. - Step 2:
Ask Codex
“Build the site and share dist/ with anyshare.” Codex calls the
publishtool with the folder path, and the files go straight from disk to anyshare. - Step 3:
Get the link
Codex prints the URL when it’s done. After the next change, ask it to update the link: the address stays the same.
The details
How it fits Codex
Plugin or plain config
Install the plugin with two commands, or add one
[mcp_servers.anyshare]table to~/.codex/config.toml. Both give Codex the same tools.Reads from disk
The local server takes a path, so Codex can share a whole folder in one tool call and the bytes never pass through the model.
Remote for locked-down machines
No Node.js? Point Codex at the remote server with a
urlentry. For files on disk it returns a ready-to-run upload command instead of asking the model to read the bytes.No tokens in the transcript
The local server keeps each link’s update token in
~/.config/anyshare/sites.json, so “update the link” works without the token ever appearing in the conversation.Secrets are skipped
.envfiles, keys,.npmrcand folders like.sshare never uploaded, and naming one directly is refused.Free limits
50 MB and 1,000 files per upload, and no account or API key to publish. Without an account a link lasts 1 hour; keep it with a free account and it lasts 30 days from the upload.
FAQ
Questions, answered.
What does Codex reply with after publishing?
https://sunny-otter-4821.anyshare.site. The skill also tells Codex to show the claim link and its 1 hour deadline for links published without an account, so nobody is surprised later.Codex says it can’t reach the network. What now?
Do I need both the plugin and the MCP server?
Can Codex update a link it published yesterday?
~/.config/anyshare/sites.json. From another machine, pass the token with --token or the ANYSHARE_TOKEN environment variable.Will Codex upload my .env file by accident?
Give your agent a URL for any file.
One step to connect, no account or API key. It hands you back a link anyone can open, and a claim link to keep it.




