harvis.dev
Deploy static sites from AI agents: deploy_site publishes files and returns a live URL in seconds.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"harvis": {
"url": "https://harvis.dev/api/mcp"
}
}
}遠端端點
https://harvis.dev/api/mcpstreamable-http它能做什麼
工具清單
工具(1)
🔴deploy_site(name, subdomain, deployToken, files)
Publish a static website to harvis.dev and get a live public URL back instantly. No account or authentication is needed. Pass every file of the site (HTML, CSS, JS, images...) with its path relative to the site root; include an index.html. Returns the live site 'url' plus a private 'claimUrl' — always show the user BOTH links and tell them to open claimUrl and sign in (free) to attach the site to their account so they can edit or delete it later. Warn them claimUrl is private and cannot be recovered if lost. The result also includes a private deployToken: pass it back on a later call to UPDATE that site in place (works before and after claiming) instead of creating a new one. The token identifies the site by itself; passing the subdomain too is optional and guards against updating the wrong site.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"description": "Optional human-friendly site name."
},
"subdomain": {
"type": "string",
"description": "To UPDATE an existing site instead of creating a new one: the site's subdomain from an earlier deploy. Requires deployToken."
},
"deployToken": {
"type": "string",
"description": "The site's private deploy token returned by the deploy that created it (also shown in the dashboard). Requires subdomain."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Path relative to the site root, using forward slashes, e.g. \"index.html\" or \"css/style.css\"."
},
"content": {
"type": "string",
"description": "The file's content: UTF-8 text by default, or base64 when encoding is 'base64'."
},
"encoding": {
"type": "string",
"enum": [
"text",
"base64"
],
"description": "Defaults to 'text'. Use 'base64' for binary files like images."
}
},
"required": [
"path",
"content"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 500,
"description": "Every file of the site. Total size limit: 50 MB."
}
},
"required": [
"files"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據