
GMC YOOtheme MCP Lite
io.github.gmcfuertev0.1.1更新于 Oct 5, 2026
Limited local read-only MCP companion: GMC YOOtheme MCP Lite.
概览
一个面向 YOOtheme 站点的本地只读 MCP 配套工具,可列出已配置的站点别名、探测已认证连接、列出页面并汇总传入的布局 JSON。
- 功能
- 此 Lite 版本提供四个只读工具:yootheme_lite_list_sites 返回别名和平台;yootheme_lite_ping_site 执行一次已认证的 GET 并返回经过清理的状态;yootheme_lite_list_pages 最多列出十个页面或文章标题、id 和状态;yootheme_lite_summarize_layout 根据你传入的布局 JSON 返回节点数量和类型。它通过 stdio 在本地运行,使用固定的 GET 允许列表、经过验证的 TLS、不跟随重定向、限速以及 1 MiB 响应上限。它无法创建、编辑或发布布局或文档,也不包含完整导出、导入、批量编辑和备份功能。
- 适用场景
- 当你希望助手检查运行 YOOtheme 的 WordPress 或 Joomla 站点的连通性,并读取基本页面列表或布局结构,而不授予写入权限时,可以使用它。它是付费 Pro 产品的免费有限配套工具,不能替代完整的站点管理功能。
- 运行要求
- 需要 Python 3.10 或更高版本,并从 GitHub 仓库而非 PyPI 安装。需要本地 sites.json 配置文件、指向其绝对路径的 YOOTHEME_MCP_LITE_SITES 环境变量,以及由 username_env、password_env 和适用的 Joomla token 或 key 字段指定的凭据环境变量。WordPress 需要 REST API 应用程序密码;Joomla 需要带令牌的 Web Services。MCP 客户端必须将凭据变量传递给子进程。
安装
在 SourceWeft 中
- 打开 控制台中的 GMC YOOtheme MCP Lite,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
YOOtheme MCP Lite
Free limited companion to the GMC Pro product. This is a separate 0.1.1 client with a fresh history and only four read-only MCP tools. The Pro implementation is absent from this repository.
Lite and Pro
YOOtheme MCP Base costs EUR 49/year for three sites (12 months, manual renewal). See current plans.
Lite is free to use under the limited commercial licence. Source visibility does not grant redistribution or resale rights.
Prerequisites
Python 3.10 or newer. WordPress REST API with an Application Password, or Joomla Web Services with a token. YOOtheme remains a separately licensed product. The generic page list does not prove YOOtheme is installed; layout counts operate on JSON you supply.
Install from GitHub
Windows:
macOS/Linux:
This Lite edition is distributed through this GitHub repository; it has not been published to PyPI. Do not install the separate full Pro package as a substitute for Lite.
Configure
- Copy
sites.example.jsonto a localsites.jsonand keep only the sites you own or are authorized to access. The file is ignored by Git. - Set the credential environment variables named by
username_env,password_env, and the applicable Joomla token/key field. Never put credential values in committed JSON or an MCP chat. - Set
YOOTHEME_MCP_LITE_SITESto the absolute path of that local JSON file. - Add the server using
mcp.example.json: replace the placeholders with the absolute Python executable and configuration file paths. Ensure the MCP client passes the credential variables to its child process. - Start with
yootheme_lite_list_sites, thenyootheme_lite_ping_site.
rest_mode: "query" supports WordPress without pretty REST URLs; otherwise
use pretty. Subdirectory installations are supported in the base URL.
Tools
yootheme_lite_list_sites: aliases and platforms only.yootheme_lite_ping_site: one authenticated GET, sanitized status only.yootheme_lite_list_pages: List at most ten page/article titles, ids and status; no content export.yootheme_lite_summarize_layout: pass the text fromlayout.example.jsonaslayout_json. Returns counts and types; no settings or content.
The server runs locally using stdio. No remote HTTP server, uploads, arbitrary URLs, SSH, license switch or Pro modules are included. Online tools use a fixed GET allowlist, verified TLS, no redirects, at most one request at a time per configured base URL, a two-second interval, and a 1 MiB response limit. HTTP is accepted only for exact loopback hosts. HTTP 403/415 stops subsequent requests to that base URL until restart.
Release status
Initial Lite release: source and package contents inspected and Python compiled. Site integration and runtime tests have not been performed. Do not treat this initial release as a production integration certification.
Contact
GMC · [email protected]. Independent GMC software; product names belong to their respective owners.
来源:README.md,提交 5012fad
工具
0版本历史
1- v0.1.1最新Oct 5, 2026
