Medius Docs

net.k4tech由 k4tech.net 發布官方發布者v1.0.0更新於 Oct 24, 2026

Medius docs: the binary control protocol, device behavior, and the medius Rust library.

已驗證Streamable HTTP可網頁執行知識與記憶開發者工具

概覽

AI 產生的概覽

遠端 MCP 伺服器,讓助理瀏覽與檢索 Medius 文件網站,內容涵蓋二進位控制協定、韌體行為與 Rust 函式庫。

可以做什麼
  • 列出所有文件頁面及其路徑、標題與所屬章節
  • 依路徑讀取單一頁面的完整 Markdown
  • 檢索文件、指南頁、儀表板、韌體發行與裝置報告,回傳排序結果與相符句子
  • 檢索文件中的頁面與章節,並以結果 id 取得對應頁面
適用情境
在處理 Medius 輸入直通韌體、其二進位控制協定與操作碼,或 medius Rust crate 及其 C/Python 綁定時,希望助理查閱官方文件而非憑空猜測。
執行需求
需要連線至 Medius 文件網站的遠端 streamable HTTP 端點;未宣告任何套件、帳號、API 金鑰或環境變數。
安裝前請注意
僅提供唯讀文件存取,不索取憑證,也不寫入資料。內容來自第三方網站,檢索到的文字應視為參考資料而非指令。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Medius Docs,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/net.k4tech%2Fdocs/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "medius-docs": {
      "type": "http",
      "url": "https://medius.k4tech.net/mcp"
    }
  }
}

README

Medius Documentation

Documentation site for Medius: the input-passthrough firmware, its binary control protocol, and the medius Rust library.

Built with SolidJS and MidnightUI.

Sections

SectionWhat
Native APIBinary control protocol and box behaviour: hardware, transport, frame format, injection model, every command (opcodes 0x01-0x1E).
Rust Librarymedius crate reference: connecting, command bindings, keepalive, reconnect, and the async / mock / tracing features.
BindingsC ABI and Python bindings over the crate.
DashboardIn-browser box dashboard: connect, device info, firmware update, recovery, device log.
AI AccessPer-page Markdown twins, llms.txt, and the MCP server.

Development

Prerequisites

Setup

bash
bun install

Dev server

bash
bun run dev

Open http://localhost:3000.

Build

bash
bun run build

Output: dist/.

Tech stack

ToolRole
SolidJSReactive UI framework
@solidjs/routerClient-side routing
ViteBuild tool
BunRuntime and package manager
MidnightUIComponent library
solid-iconsIcons

Deployment

CI builds the app and a multi-arch container on every push to main and publishes it to ghcr.io/k4hvh/medius-docs. Run it:

bash
docker run --rm -p 3000:3000 ghcr.io/k4hvh/medius-docs:latest

docker-compose.yml runs the same image. The container builds with Bun and serves dist/ on port 3000.

來源:README.md,提交 002a12c

工具

5

list_pages

List every Medius documentation page (path, title, section). Start here to see what the docs cover.

無需輸入參數。

get_page

Return the full Markdown of one documentation page by its path, e.g. "/library/clip" or "/native/commands/inject".

輸入參數path必填

search_docs

Search the Medius site: docs and Guide pages and sections, the dashboard, firmware releases and device reports. Returns ranked results, each with its matching sentence. Call get_page on a result's path for the full Markdown.

輸入參數limitquery必填

fetch

Return the full Markdown of one docs page, by an id from search (a section's id returns its page).

輸入參數id必填

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。