Total CMS

io.github.totalcms由 GitHub 账号 totalcms 发布v0.2.3更新于 Oct 24, 2026

Connect Claude to a self-hosted Total CMS site: search content, read docs, manage with an API key.

发布方自己的服务:Total CMS

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

一个本地 Claude Desktop 桥接扩展,把 Claude 连接到自建 Total CMS 站点的内置 MCP 服务器,用于搜索文档、浏览内容并用 API 密钥管理站点。

可以做什么
默认连接 Total CMS 官方文档服务器,无需配置即可搜索和阅读文档,回答关于 Total CMS 功能与配置的问题。配置站点 MCP 端点后,浏览和搜索自建站点的公开集合。提供 API 密钥后,可执行密钥权限范围内的操作,完整管理员密钥还包括架构管理、模板、站点信息和清除缓存。在客户端与站点端点之间转发全部 MCP 流量,包括工具、资源、提示和通知。
适用场景
当你希望 Claude 开箱即用地回答 Total CMS 相关问题,或在 Claude Desktop 中浏览和管理自己的自建 Total CMS 站点时使用。也适合需要向远程端点附加自定义 API 密钥请求头的其他本地 MCP 客户端。
运行要求
以本地 Node 进程运行(非 Desktop 客户端需 Node 18 或更高版本);Claude Desktop 扩展自带运行时处理。需要一个 HTTPS 的 MCP 端点地址,默认指向 Total CMS 官方文档服务器,并可选填在站点设置中创建的 Total CMS API 密钥。地址必须为
安装前请注意
API 密钥的权限范围决定 Claude 能做什么:完整管理员密钥允许所有端点和 HTTP 方法,包括架构管理、模板和清除缓存,建议尽量使用受限的只读密钥。密钥以 X-API-Key 请求头发送给所配置的站点,并保存在操作系统钥匙串中。所有 MCP 流量都会转发到该主机,因此只应把 MCP_URL 指向你信任的站点。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Total CMS,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Total CMS Desktop Extension (MCPB)

A Claude Desktop extension that connects Claude to any Total CMS site's built-in MCP server. Install once, and Claude can search docs, browse content, and (with an API key) manage your Total CMS site directly.

This is a local bridge, not a hosted connector: it runs as a small Node process on your machine and proxies MCP traffic to your site's /mcp endpoint over HTTPS. That's what lets it attach a custom X-API-Key header for authenticated access - something Claude Desktop's built-in remote connectors can't do for servers that advertise optional auth.

Privacy Policy

This extension does not collect, transmit, or store any data of its own. It opens an HTTPS connection directly from your machine to the Total CMS MCP endpoint you configure (default: https://totalcms.co/mcp, the official Total CMS docs site) and relays MCP protocol messages between Claude Desktop and that endpoint. Your optional API key is stored in your OS's secure credential store (via Claude Desktop's sensitive: true config handling) and is sent only as an X-API-Key request header to the site you configured - never logged, never sent anywhere else.

For the privacy policy of the Total CMS product and totalcms.co itself, see https://totalcms.co/privacy.

Setup

Zero-config: ask about Total CMS itself

Just install the extension. It defaults to https://totalcms.co/mcp, the official Total CMS documentation server, so Claude can immediately answer questions like "how do I set up webhooks in Total CMS?" or "what schema fields does Total CMS support?" with no configuration.

Connect to your own site

  1. In your Total CMS admin, go to Settings -> MCP and copy your site's MCP endpoint URL (it will look like https://yoursite.com/mcp, or include a subpath if you installed Total CMS in one).
  2. In Claude Desktop's extension settings for Total CMS, paste that URL into Total CMS MCP endpoint.
  3. Reinstall/reconnect. Claude can now browse and search your site's public collections.

Authenticated access

  1. Create a Total CMS API key for your site in Settings → API Keys. What the key's Scopes allow is exactly what Claude can do:
    • Full admin access: All endpoints (*) with every HTTP method.
    • Limited access: add /mcp to the key's paths, plus the collections it should reach, such as /api/collections/blog. /mcp on its own opens the endpoint but reaches no content. The key's HTTP methods decide its tools: a GET-only key connects read-only. A limited key reaches a collection only when that collection's MCP access is API keys or wider. See Keys over MCP.
  2. Paste it into the API key (optional) field in the extension settings. It's stored in your OS keychain, not in plain text.
  3. Claude now reaches what the key allows, in addition to public content. With a full admin key that includes schema management, templates, site info and cache clearing. Leave the field empty to keep Claude limited to public, anonymous access.

Other MCP clients

The bridge is a plain stdio MCP server, so any client that launches local servers (Cursor, VS Code, Windsurf, and others) can run it with Node 18 or later. A client that supports remote servers with custom headers can skip the bridge and connect to your site's /mcp endpoint directly.

  1. Download totalcms.mcpb from the latest release. It is a zip archive: unzip it anywhere. server/index.js inside is self-contained and needs no npm install.

  2. Add it to your client's MCP configuration:

    json
    {  "mcpServers": {    "totalcms": {      "command": "node",      "args": ["/path/to/totalcms/server/index.js"],      "env": {        "MCP_URL": "https://yoursite.com/mcp",        "API_KEY": ""      }    }  }}

    Leave MCP_URL empty to use the Total CMS docs server, and leave API_KEY empty for public, anonymous access.

To build from source instead, npm install && npm run build writes server/index.js.

How it works

server/index.js is a small stdio MCP server that Claude Desktop spawns directly (no Node install required - MCPB bundles include their own runtime handling). It opens a streamable HTTP connection to the MCP_URL you configured and forwards every JSON-RPC message in both directions verbatim: initialize, tools/list, tools/call, resources/*, prompts/*, and all notifications. When API_KEY is set, every outbound HTTP request carries an X-API-Key header.

It refuses to start unless MCP_URL is https:// - plaintext credentials on the wire are not acceptable, even for local testing.

Why not mcp-remote?

We spiked it first (see BUILD-REPORT.md for the full writeup). Short version: mcp-remote unconditionally runs OAuth discovery on startup and, on any HTTP 401 response, launches a browser-based OAuth authorization flow with no flag to disable it. Total CMS uses a plain API-key header, not OAuth

  • a bad key needs to surface as a clean 401 error to the MCP client, not hang behind a browser popup trying to OAuth against a server that doesn't implement it. So this bundle ships a small hand-rolled proxy built directly on @modelcontextprotocol/sdk's StreamableHTTPClientTransport and StdioServerTransport instead.

Development

bash
npm installnpm run build     # typecheck -> esbuild bundle -> mcpb validate -> mcpb pack

Produces dist/totalcms.mcpb. Install by dragging that file onto Claude Desktop.

npm run typecheck and npm run validate are available standalone.

Releasing

bash
npm run bump 0.3.0                  # rewrites the version in all four files# add a "## [0.3.0] - YYYY-MM-DD" section to CHANGELOG.mdgit commit -am "Release v0.3.0"git tag v0.3.0 && git push origin master v0.3.0

Pushing the tag is the whole release. The Release workflow builds the bundle, attaches it to a GitHub release, and publishes the new version to the MCP Registry as io.github.totalcms/total-cms.

The GitHub release notes are the matching CHANGELOG.md section, so that file is where a release gets described — write it before tagging. A missing section warns and falls back to generated notes rather than failing the build; a release should never be blocked because its prose was not written.

Two more things worth knowing:

  • The registry is a separate system from GitHub Releases. People who installed from the MCP directory get updates from the registry, not from the release page — publishing one without the other leaves them stranded on the old version. That is why the workflow does both, and why it is worth never publishing a release by hand.
  • fileSha256 in server.json is stamped by CI, because a zip embeds timestamps and a CI build never hashes identically to a local one. The value committed to git is only a record of the last local build; ignore it.

Authentication to the registry is GitHub OIDC, so there is no secret to rotate. To re-publish a tag that already exists — or one released before this workflow existed — run the Release workflow manually from the Actions tab and give it the tag.

Security notes

  • Zero filesystem access, zero subprocess spawns, outbound HTTPS to exactly one host (whatever MCP_URL points at).
  • The API key is read from the API_KEY environment variable (set by Claude Desktop from your keychain-stored config) and is never written to stdout, stderr, or any log.
  • MCP_URL must be https:// or the process refuses to start.

License

Source code is MIT licensed. The Total CMS name, flame logo, and the bundled icon.png are trademarks and are not covered by that grant — you may fork the code, but a redistributed version must not present itself as published or endorsed by Total CMS. See TRADEMARKS.md.

来源:README.md,提交 56a4a0c

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

3
  1. v0.2.3最新Oct 24, 2026
  2. v0.2.1Oct 1, 2026
  3. v0.2.0Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Totalcms 集成