Labby
Rust MCP gateway with Code Mode, authentication, setup, logs, CLI, HTTP API, and operator web UI.
- Transport
- Not stated
- Package
- —
- Registry id
- ai.dinglebear/labby
No install snippet on purpose. A working MCP config is a command, its arguments and an environment block — the last two are where API keys live, so this catalogue never stores them and cannot publish them. Follow the link above for the authors' own instructions.
Rust MCP gateway with Code Mode, authentication, setup, logs, CLI, HTTP API, and operator web UI.
Canonical remote: git@github.com:dinglebear-ai/labby.git.
The root README is the public entrypoint. The topic docs in docs/ own the detailed contracts; when this file and a topic doc disagree, fix the topic doc first and then refresh this summary.
Contents
- What Labby Does
- Quick Start
- Core Workflows
- Runtime Surfaces
- Configuration
- Current Catalogs
- Architecture
- Development
- Documentation
What Labby Does
Labby is centered on the current gateway/operator surface:
- MCP gateway - connect HTTP and stdio upstream MCP servers, inspect their
tools/resources/prompts, apply exposure filters, publish protected MCP routes,
and optionally collapse the upstream catalog into Code Mode
searchandexecute. - Direct stdio proxy - launch one stdio MCP server with
labby proxy /path/to/dist.jsand expose its unmodified MCP surface over loopback or an owned Tailscale Serve HTTPS port with tailnet, bearer, OAuth, or explicit no-auth policy. - Authentication and protected routes - run bearer or OAuth authentication, manage route-scoped access, authorize upstream OAuth connections, and publish protected MCP endpoints.
- Code Mode snippets - author, store, and run reusable JavaScript snippets
against the upstream catalog, with artifacts persisted under
$LABBY_HOME. - Setup and doctor - bootstrap
~/.labby, provision the host service, and run a health audit across env, reachability, auth, and versions. - Filesystem service - scoped, path-safety-checked file operations exposed through the same action dispatch as every other service.
- Server logs - search and tail the local
labby servelog stream. - Incus and bare-metal setup - provision and operate a dedicated Labby gateway host without introducing a separate fleet or deployment product.
- Generated discovery - publish code-owned service, action, environment, proxy configuration, API route, OpenAPI, MCP help, CLI help, and feature-matrix artifacts under docs/generated.
Use the generated service, action, and CLI catalogs below for the complete
current product surface instead of copying inventories into hand-written
documentation. Standalone ACP chat, Marketplace/MCP Registry browser, Fleet,
Deploy, and Stash products remain retired; bounded provider-backed discovery
through the artifacts control-plane service does not restore those products.
Quick Start
Proxy One Stdio MCP Server
After installing Labby, configure proxy defaults once and launch a JavaScript stdio server without proxy flags:
labby setup proxy
labby doctor proxy
labby proxy /path/to/dist.js
The built-in zero-flag policy is Tailscale Serve plus tailnet authorization on a random high port. Child flags follow the first child token unchanged, and an explicit separator is available for unusual commands:
labby proxy /path/to/dist.js --workspace /srv/data --read-only
labby proxy -- npx -y @modelcontextprotocol/server-filesystem /srv/data
Use labby proxy --local --auth none ... for explicit loopback-only
development. Bearer and OAuth setup, exact-port resource audiences, safe Serve
ownership, configuration precedence, output modes, and recovery are covered in
the stdio MCP proxy guide.
Install A Release
From the project's README.