plugin.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "name": "zcode-site",
  3. "version": "0.4.2",
  4. "description": "Publish new or throwaway web projects to ZCode Sites for a quick preview or share link, and manage the site.",
  5. "description_i18n": {
  6. "en": "Publish new or throwaway web projects to ZCode Sites for a quick preview or share link. The Sites panel shows your sites, deployments, logs and usage.",
  7. "zh-CN": "把新项目或临时项目发布成站点,快速得到预览或分享链接;在部署面板查看站点、部署记录、日志和用量。"
  8. },
  9. "author": {
  10. "name": "Z.ai"
  11. },
  12. "license": "MIT",
  13. "skills": "skills",
  14. "commands": "commands",
  15. "mcpServers": {
  16. "sites": {
  17. "type": "stdio",
  18. "command": "node",
  19. "args": ["${ZCODE_PLUGIN_ROOT}/dist/server.mjs"],
  20. "auth": {
  21. "type": "zcode_official",
  22. "provider": "jwt_token"
  23. }
  24. }
  25. },
  26. "ui": {
  27. "surfaces": [
  28. {
  29. "id": "sites",
  30. "title": {
  31. "zh-CN": "部署",
  32. "en-US": "Sites"
  33. },
  34. "icon": "globe",
  35. "server": "sites",
  36. "resourceUri": "ui://zcode-site/panel.html",
  37. "availability": "session"
  38. }
  39. ]
  40. }
  41. }