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 分

    请在仓库或注册中心条目中声明许可证。