mcp
v0.3.5Publish HTML or Markdown from any MCP client to a live, shareable URL on htmldrop.app.
Values you need
| Variable | What it is | |
|---|---|---|
HTMLDROP_API_TOKEN | required secret | htmldrop API token (hsk_live_…). Create one at https://htmldrop.app/dashboard/settings → API tokens. |
HTMLDROP_API_URL | optional | Override the API base URL. Leave unset to use htmldrop.app's hosted API; set only for self-hosted or staging deployments. Default: https://htmldrop.app/api/v1 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp -e 'HTMLDROP_API_TOKEN=<HTMLDROP_API_TOKEN>' -- npx -y --package=@htmldrop.app/mcp@0.3.5 htmldrop-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@htmldrop.app/mcp@0.3.5",
"htmldrop-mcp"
],
"command": "npx",
"env": {
"HTMLDROP_API_TOKEN": "<HTMLDROP_API_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@htmldrop.app/mcp@0.3.5",
"htmldrop-mcp"
],
"command": "npx",
"env": {
"HTMLDROP_API_TOKEN": "<HTMLDROP_API_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "HTMLDROP_API_TOKEN",
"id": "htmldrop-api-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp": {
"args": [
"-y",
"--package=@htmldrop.app/mcp@0.3.5",
"htmldrop-mcp"
],
"command": "npx",
"env": {
"HTMLDROP_API_TOKEN": "${input:htmldrop-api-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@htmldrop.app/mcp@0.3.5", "htmldrop-mcp"]
env = { "HTMLDROP_API_TOKEN" = "<HTMLDROP_API_TOKEN>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http mcp https://htmldrop.app/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mcp": {
"args": [
"-y",
"mcp-remote",
"https://htmldrop.app/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"url": "https://htmldrop.app/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp": {
"type": "http",
"url": "https://htmldrop.app/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://htmldrop.app/mcp"]For AI agents
- Ask the user for: HTMLDROP_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: htmldrop_publish, htmldrop_list, htmldrop_delete.
- 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