Kuailian — publish AI-generated pages to a live URL
v0.1.5Publish AI-generated web pages to a live, shareable URL from Cursor or Claude Code.
Values you need
| Variable | What it is | |
|---|---|---|
KUAILIAN_API_KEY | required secret | API key generated in the MCP tab at https://link.3ceng.cn |
KUAILIAN_API_URL | optional | Override the API base URL. Defaults to https://link.3ceng.cn/api |
KUAILIAN_SITE_URL | optional | Override the site URL used to build short links. Defaults to https://link.3ceng.cn |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add kuailian -e 'KUAILIAN_API_KEY=<KUAILIAN_API_KEY>' -- npx -y --package=@kuailian/mcp-server@0.1.5 kuailian-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"kuailian": {
"args": [
"-y",
"--package=@kuailian/mcp-server@0.1.5",
"kuailian-mcp"
],
"command": "npx",
"env": {
"KUAILIAN_API_KEY": "<KUAILIAN_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"kuailian": {
"args": [
"-y",
"--package=@kuailian/mcp-server@0.1.5",
"kuailian-mcp"
],
"command": "npx",
"env": {
"KUAILIAN_API_KEY": "<KUAILIAN_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "KUAILIAN_API_KEY",
"id": "kuailian-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"kuailian": {
"args": [
"-y",
"--package=@kuailian/mcp-server@0.1.5",
"kuailian-mcp"
],
"command": "npx",
"env": {
"KUAILIAN_API_KEY": "${input:kuailian-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.kuailian]
command = "npx"
args = ["-y", "--package=@kuailian/mcp-server@0.1.5", "kuailian-mcp"]
env = { "KUAILIAN_API_KEY" = "<KUAILIAN_API_KEY>" }For AI agents
- Ask the user for: KUAILIAN_API_KEY. 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: kuailian_publish_html, kuailian_update_page, kuailian_publish_dir, kuailian_update_dir, kuailian_list_pages, kuailian_get_page, kuailian_delete_page, kuailian_get_quota, ….
- 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