Medius Docs
Medius docs: the binary control protocol, device behavior, and the medius Rust library.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http medius-docs 'https://medius.k4tech.net/mcp'
{
"mcpServers": {
"medius-docs": {
"type": "http",
"url": "https://medius.k4tech.net/mcp"
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
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
| Section | What |
|---|---|
| Native API | Binary control protocol and box behaviour: hardware, transport, frame format, injection model, every command (opcodes 0x01-0x1E). |
| Rust Library | medius crate reference: connecting, command bindings, keepalive, reconnect, and the async / mock / tracing features. |
| Bindings | C ABI and Python bindings over the crate. |
| Dashboard | In-browser box dashboard: connect, device info, firmware update, recovery, device log. |
| AI Access | Per-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
| Tool | Role |
|---|---|
| SolidJS | Reactive UI framework |
| @solidjs/router | Client-side routing |
| Vite | Build tool |
| Bun | Runtime and package manager |
| MidnightUI | Component library |
| solid-icons | Icons |
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.
Questions fréquentes
Qu'est-ce que Medius Docs ?
Medius docs: the binary control protocol, device behavior, and the medius Rust library.
Comment installer Medius Docs ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http medius-docs 'https://medius.k4tech.net/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Medius Docs ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
Medius Docs est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient Medius Docs ?
Il est publié par K4HVH. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.