把纯前端 HTML/CSS/JS 项目部署到稀土掘金。
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add html --env JUEJIN_TOKEN='<JUEJIN_TOKEN>' -- npx --registry=https://registry.npmjs.org -y @juejin-team/mcp-server@latest~/.codex/config.toml
[mcp_servers.html]
command = "npx"
args = ["--registry=https://registry.npmjs.org", "-y", "@juejin-team/mcp-server@latest"]
env = { JUEJIN_TOKEN = "<JUEJIN_TOKEN>" }
# codex mcp add html --env JUEJIN_TOKEN='<JUEJIN_TOKEN>' -- npx --registry=https://registry.npmjs.org -y @juejin-team/mcp-server@latest~/.cursor/mcp.json
{
"mcpServers": {
"html": {
"command": "npx",
"args": [
"--registry=https://registry.npmjs.org",
"-y",
"@juejin-team/mcp-server@latest"
],
"env": {
"JUEJIN_TOKEN": "<JUEJIN_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"html": {
"type": "stdio",
"command": "npx",
"args": [
"--registry=https://registry.npmjs.org",
"-y",
"@juejin-team/mcp-server@latest"
],
"env": {
"JUEJIN_TOKEN": "<JUEJIN_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"html": {
"command": "npx",
"args": [
"--registry=https://registry.npmjs.org",
"-y",
"@juejin-team/mcp-server@latest"
],
"env": {
"JUEJIN_TOKEN": "<JUEJIN_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"html": {
"command": "npx",
"args": [
"--registry=https://registry.npmjs.org",
"-y",
"@juejin-team/mcp-server@latest"
],
"env": {
"JUEJIN_TOKEN": "<JUEJIN_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"html": {
"command": "npx",
"args": [
"--registry=https://registry.npmjs.org",
"-y",
"@juejin-team/mcp-server@latest"
],
"env": {
"JUEJIN_TOKEN": "<JUEJIN_TOKEN>"
}
}
}
}Environment variables
JUEJIN_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.