# plughive > An open-source MCP gateway that runs on your machine: image, video, speech, web and more tools behind one local endpoint, local backends first, with your own provider keys. plughive is a local MCP (Model Context Protocol) server. It runs on your own machine and serves 176 tools from 37 packs (199 with every pack switched on) at one endpoint, http://127.0.0.1:7777/mcp, so every agent connects once and shares the same tools, keys, spend caps and artifact library. Key facts: - Endpoint: `http://127.0.0.1:7777/mcp` (MCP over streamable HTTP, bearer access key) - License: Apache-2.0, open source at https://github.com/stdevMac/plughive - No telemetry. Keys stay on the machine, encrypted at rest. - Local backends first; paid APIs bill your own provider keys directly. - Runs on macOS, Linux and Windows with Node 22+, or in Docker. - Clients: Claude Code, Cursor, Codex, Claude Desktop, Hermes and any MCP client that speaks HTTP. - Built by Marcos Maceo (https://marcosmaceo.com). ## Install ```sh git clone https://github.com/stdevMac/plughive plughive cd plughive pnpm install --frozen-lockfile pnpm build node dist/src/cli.js start ``` With Docker: ```sh git clone https://github.com/stdevMac/plughive plughive cd plughive [ -e .env ] || printf 'PLUGHIVE_ACCESS_KEY=%s\nPLUGHIVE_ADMIN_TOKEN=%s\nPLUGHIVE_SECRETS_PASSPHRASE=%s\n' \ "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env docker compose up -d --build docker compose exec plughive plughive dashboard --print ``` ## Connect a client `plughive connect ` writes the entry for you and backs the file up first. By hand: Claude Code: ```sh claude mcp add --transport http plughive http://127.0.0.1:7777/mcp \ --header "Authorization: Bearer $PLUGHIVE_ACCESS_KEY" ``` Cursor (`~/.cursor/mcp.json`): ```json { "mcpServers": { "plughive": { "url": "http://127.0.0.1:7777/mcp", "headers": { "Authorization": "Bearer ${env:PLUGHIVE_ACCESS_KEY}" } } } } ``` Codex (`~/.codex/config.toml`): ```toml [mcp_servers.plughive] url = "http://127.0.0.1:7777/mcp" bearer_token_env_var = "PLUGHIVE_ACCESS_KEY" ``` Claude Desktop (`claude_desktop_config.json`): ```json { "mcpServers": { "plughive": { "command": "npx", "args": [ "-y", "mcp-remote@0.16.7", "http://127.0.0.1:7777/mcp", "--transport", "http-only", "--header", "Authorization:${AUTH_HEADER}" ], "env": { "AUTH_HEADER": "Bearer " } } } } ``` Hermes (`~/.hermes/config.yaml`): ```yaml mcp_servers: plughive: url: "http://127.0.0.1:7777/mcp" headers: Authorization: "Bearer " ``` ## Features - **Routes by capability, not vendor**: Agents ask for `transcribe_audio`, not a provider. plughive tries the free local backend, then each key you added, and the result says which one ran. - **Spend caps per provider**: Daily or monthly, per provider or profile. Over a cap, the call is blocked or waits for you to approve it. - **Know the cost before a run**: Every workflow takes `dry_run`. It lists each step, marks the paid ones and gives the most paid calls the run can make. - **A profile for each agent**: Give a client its own endpoint, such as `http://127.0.0.1:7777/p/writer/mcp`, and choose exactly which tools it sees. - **Remote MCP servers, mounted**: Notion, Linear, Sentry and more appear behind the same endpoint. Each stays off until you switch it on and sign in. - **Idle servers park themselves**: Smart mount parks servers you rarely call and hides tools a profile never uses, so agents read fewer tokens. A parked tool stays searchable and wakes when it is called. Every change can be undone. - **Same call twice, paid once**: Repeat a paid media call within 24 hours and you get the saved result back, with no new charge. Pass `cache: false` for a fresh one. - **One library for every file**: Images, audio and video land in a local library. Agents read them back as `artifact://` resources. ## FAQ ### What is it, in one line? A local MCP server that bundles image, video, speech, web and messaging tools behind one endpoint, so you set them up once for every agent. ### Does it send my data anywhere? No telemetry. The daemon makes no network calls of its own. Traffic leaves your machine only for tools you call and servers you mount, and each pack can reach only the hosts it lists. ### What does it cost? plughive is free and Apache-2.0. Paid APIs bill you directly on your own keys. Local backends cost nothing, and spend caps stop a run from going over. ### Do I need a GPU or any keys to start? No. The no-key packs (ffmpeg tools, PDF, memory, workflows in dry-run) work out of the box. Add a key such as fal or ElevenLabs when you want generation. ### Which clients work with it? Any client that speaks MCP over HTTP. `plughive connect` writes the entry for Claude Code, Cursor, Codex, Claude Desktop and Hermes, and backs the file up first. ### Can I add my own tools? Yes. A pack is a folder with a `pack.json` and a script. Install it with `plughive pack add ./my-pack`. It gets only the keys and hosts you grant. ### Which systems does it run on? macOS, Linux and Windows with Node 22 or later, or anywhere Docker runs. It can install itself as a login service on all three. ### Can I reach it from another machine? It binds 127.0.0.1 by default. To expose it, set an access key, put it behind a TLS proxy and set the public URL. The security doc covers the details. ## Docs - [Getting started](https://github.com/stdevMac/plughive/blob/main/docs/getting-started.md): install, first run, connecting clients - [Writing a pack](https://github.com/stdevMac/plughive/blob/main/docs/writing-a-pack.md): add your own tools as a folder with pack.json - [Security model](https://github.com/stdevMac/plughive/blob/main/docs/security.md): keys, access keys, network grants - [Security policy](https://github.com/stdevMac/plughive/blob/main/SECURITY.md): reporting vulnerabilities - [Source code](https://github.com/stdevMac/plughive) ## Optional - [Full tool and workflow list](https://plughive.dev/llms-full.txt): every pack, its tools, required keys and network hosts, and the built-in workflows