uploads.sh

v0.64.1
sh.uploads/mcp Checked 5 hours ago Published 3 days ago

Host files from coding agents; stage on a branch and attach to GitHub PRs.

Has high-severity static-analysis findings pending human review.

Values you need

VariableWhat it is
UPLOADS_TOKENrequired secret Workspace bearer token (up_<workspace>_…). Mint with uploads login.
UPLOADS_WORKSPACEoptional Workspace name. Inferred from the token when omitted.
UPLOADS_API_URLoptional API origin. Defaults to https://api.uploads.sh. Default: https://api.uploads.sh

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -e 'UPLOADS_TOKEN=<UPLOADS_TOKEN>' -- npx -y @buildinternet/uploads@0.64.1 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "@buildinternet/uploads@0.64.1",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "UPLOADS_TOKEN": "<UPLOADS_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "@buildinternet/uploads@0.64.1",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "UPLOADS_TOKEN": "<UPLOADS_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "UPLOADS_TOKEN",
      "id": "uploads-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "@buildinternet/uploads@0.64.1",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "UPLOADS_TOKEN": "${input:uploads-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@buildinternet/uploads@0.64.1", "mcp"]
env = { "UPLOADS_TOKEN" = "<UPLOADS_TOKEN>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp https://agents.uploads.sh/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://agents.uploads.sh/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://agents.uploads.sh/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://agents.uploads.sh/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://agents.uploads.sh/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: UPLOADS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: gallery_create, gallery_get, gallery_add, gallery_link, gallery_find_by_reference, feed_create, feed_get, put, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json