mgc_saveLABSCO SUMMARY
The agent can use the key without seeing it.
The claim is narrow and checkable: secrets live in an AES-256 encrypted store on your own device, an agent calls them by name, and plaintext never enters the conversation or the logs. Sealing extends the same idea to scripts — a capsule the recipient executes but cannot read. Two things to plan around: deletion is manual rather than a tool call, and the licence is the project's own rather than a standard open-source one.
What it is
A local encrypted execution layer that sits between an agent and your secrets. API keys, credentials and configs go into an encrypted store; scripts can be sealed into capsules that only a target node can decrypt and run. Everything decrypts on-device, and MGC is the boundary rather than an agent itself.
What you get
- Store a secret under a name, encrypted locally —
mgc_save - Retrieve a stored item for use without the plaintext entering the conversation —
mgc_get - List what is stored, metadata only —
mgc_list - Seal a script into an execution capsule that only the target node can decrypt and run — even the sender cannot read it back —
mgc_seal - Open the local web UI for the parts meant for a human: initialization, manual storage, metadata inspection, audit and deletion —
mgc_open_webui - A REST path alongside MCP, so system scripts can fetch encrypted items at runtime with the access token
Requirements
pip install mgc-blackbox, into the same Python environment your MCP agent runs in. mgc starts it as a local service; for MCP, configure command mgc with args ["--mcp"]. The web UI is at http://127.0.0.1:57218, stepping down to 57217, 57216 and onwards if the port is taken — the startup output prints the address it actually used. An access token is generated on first run at ~/.mgc/database/mgc_black_box/.mgc_token and is required for every REST call. There is no delete function: removal is a manual database operation from the web UI's audit view. Integration into third-party products is free but the project asks for authorization first.
Setup effort
One command — pip install mgc-blackbox
USE CASES
Giving an agent an API key without pasting it
Save the secret once, then let the agent reference it by name in later work.
Seeing what is stored without revealing it
List the entries and read metadata only.
Sharing a script that must not be read
Seal it for a target node — the recipient can execute it, the source stays closed.
Doing the human-only parts
Open the local web UI for initialization, audit and manual deletion.
5 tools
Listed in project docs. Your client may show a different list.
mgc_getmgc_listmgc_sealmgc_open_webuiBEFORE YOU INSTALL
What to know first
Tools you get
5 tools named in the project's documentation.
Requires
pip on PATH
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
pip install mgc-blackboxMCP Clients
Any MCP client
{
"mcpServers": {
"mgc-blackbox": {
"command": "mgc",
"args": [
"--mcp"
]
}
}
}