Medius Docs

السجل الرسمي الإنتاجية

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http medius-docs 'https://medius.k4tech.net/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "medius-docs": {
            "type": "http",
            "url": "https://medius.k4tech.net/mcp"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Medius Documentation
  2. Sections
  3. Development
  4. Tech stack
  5. Deployment

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
bun install
Dev server
bun run dev

Open http://localhost:3000.

Build
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:

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.

الأسئلة الشائعة

ما هو Medius Docs؟

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

كيف أثبّت Medius Docs؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http medius-docs 'https://medius.k4tech.net/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Medius Docs إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Medius Docs مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون Medius Docs؟

ينشره K4HVH. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.