Shell scripts as curl URLs.

Push a script, run it anywhere with curl 1ln.sh/<slug> | sh.

curl 1ln.sh/install | sh

How it works

# 1. write a shell script
$ cat hello.sh
#!/bin/sh
echo "hello from $(hostname)"
# 2. publish it — get a short URL back
$ 1ln push hello.sh
curl 1ln.sh/oGcP | sh
# 3. run it on any server
prod $ curl 1ln.sh/oGcP | sh
hello from prod-web-01

Pass parameters at runtime

# add ?key=value pairs to the URL — they land as $ENV_1LN_KEY
staging $ curl 1ln.sh/oGcP?env=staging&port=8080 | sh
# 1ln.sh runtime parameters
export ENV_1LN_ENV='staging'
export ENV_1LN_PORT='8080'

deployed staging on :8080

MCP server

Claude Code

claude mcp add 1ln npx -- -y 1ln-mcp

Cursor / Windsurf / Continue / other stdio client

npx -y 1ln-mcp
Claude Desktop config

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "1ln": {
      "command": "npx",
      "args": ["-y", "1ln-mcp"]
    }
  }
}