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 整合