Medius Docs
Medius docs: the binary control protocol, device behavior, and the medius Rust library.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http medius-docs 'https://medius.k4tech.net/mcp'
{
"mcpServers": {
"medius-docs": {
"type": "http",
"url": "https://medius.k4tech.net/mcp"
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on 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.
Frequently asked questions
What is Medius Docs?
Medius docs: the binary control protocol, device behavior, and the medius Rust library.
How do I install Medius Docs?
It runs as a remote server. In Claude Code: claude mcp add --transport http medius-docs 'https://medius.k4tech.net/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Medius Docs need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is Medius Docs open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains Medius Docs?
It is published by K4HVH. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.