Labby
MCP server by dinglebear-ai Verified · dinglebear.ai
Labby is a Rust MCP gateway that connects HTTP and stdio MCP servers behind one protected endpoint. It is aimed at operators who want to manage MCP access, authentication and Code Mode from a single host.
Install Labby
Built from the published package, never by AI.
claude mcp add labby -- npx -y @dinglebear/labbyRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"labby": {
"args": [
"-y",
"@dinglebear/labby"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"labby": {
"args": [
"-y",
"@dinglebear/labby"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"labby": {
"args": [
"-y",
"@dinglebear/labby"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add labby -- npx -y @dinglebear/labby{
"mcpServers": {
"labby": {
"args": [
"-y",
"@dinglebear/labby"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add labby npx -y @dinglebear/labbyGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the labby block.
About
Labby is a Rust MCP gateway. It connects HTTP and stdio upstream MCP servers, lets you inspect their tools, resources and prompts, and applies exposure filters. It can publish protected MCP routes with bearer or OAuth authentication, and it can optionally collapse the upstream catalog into Code Mode search and execute tools.
The project also includes a direct stdio proxy for launching a single MCP server, reusable Code Mode snippets stored under LABBY_HOME, a setup and doctor command, a scoped filesystem service, and server log search. It ships a CLI, an HTTP API and an operator web UI. The source describes it as a gateway and operator surface for running a dedicated Labby host on Linux, macOS or bare metal.
Written from the project's README and checked against it.
Tools it gives your assistant
searchCode Mode tool that searches the collapsed upstream MCP catalog.executeCode Mode tool that runs code against the upstream MCP catalog.
What you need
- Linux or macOS for the shell installer
- GitHub CLI 2.102.0 or newer, or the installer downloads a pinned copy
- curl, tar, and sha256sum or shasum
- Node.js to use the npm launcher
| Setting | Needed | What it is |
|---|---|---|
LABBY_Environment variable | Optional | Optional GitHub release tag override for the downloaded Labby binary. |
LABBY_Environment variable | Optional | Optional GitHub owner/repo override for release asset downloads. Default: dinglebear-ai/labby |
LABBY_Environment variable | Optional | Tracing filter for Labby runtime logs. Default: labby=info,labby_apis=warn |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Use search to find the upstream tools that handle file uploads.
- Run a Code Mode snippet that lists the connected MCP servers.
- Search the Labby server logs for errors from the last hour.
Good to know
- Current releases do not publish Windows binaries.
- The ChatGPT web connection requires OAuth mode and a public HTTPS LABBY_PUBLIC_URL.
- Standalone ACP chat, the Marketplace browser, Fleet, Deploy and the old Stash remain retired.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Labby
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
Labby: common questions
What is Code Mode in Labby?
Code Mode is an optional mode that collapses the upstream MCP catalog into two tools, search and execute. The source says it can be enabled in the MCP gateway.
Can Labby protect my MCP endpoints?
Yes. The source says Labby runs bearer or OAuth authentication and can publish protected MCP endpoints with route-scoped access.
Does Labby work on Windows?
The source says current releases do not publish Windows binaries or installers, so Windows is not currently supported for release builds.
How do I install Labby?
In Claude Code run claude mcp add labby -- npx -y @dinglebear/labby. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Labby the official server?
Labby is published by dinglebear.ai from its verified domain in the official MCP Registry.
Is Labby free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is Labby safe to use?
It scores 87 of 100. Grades: maintenance A, licence C, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Labby?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does Labby work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
