Skip to content

SuperToolkit

SuperToolkit docshalf-lit: Works, with known gaps the page names.

The agent gets the effect, never the credential.

Your agent asks for something by name: read this repository, open that issue. SuperToolkit decides whether it may (by default a read goes ahead and a write waits for you), puts the real credential on the wire on the way out, and writes down what happened. The agent holds a placeholder, stk:ref:github:v1, which is worth exactly nothing to whoever finds it. Hard to leak a key you were never given.

Ask Captain Jack

Ahoy. Ask me anything about SuperToolkit. I answer only from these docs, and I'll tell you when they don't cover it.

An AI writes his answers from the docs; check anything you copy.

Work with an agent

I'm working with SuperToolkit. Read https://docs.supertoolkit.dev/llms.txt to see what its docs cover, and https://docs.supertoolkit.dev/llms-full.txt for every page in one file.

Then explain how SuperToolkit would broker my agent's GitHub access, and list what I need before I connect a credential.

Name the docs page each answer comes from, and tell me when the docs do not cover something.

Quick start: broker a request, with the provider faked

git clone https://github.com/SuperJackfruitLabs/supertoolkit && cd supertoolkit && go test ./e2e/ -v -run 'TestChildReachesProvider|TestForgeRulesAllowThenDeny|TestForgeDenied'

Needs Go 1.26 (the repository's go.mod) and curl, and nothing else: the provider is a local stand-in and the token is made up. Three tests: curl reaches the provider with a credential it never held, a forge preset lets a POST through and answers a DELETE with 403 before the provider sees it, and that refusal lands in the ledger with its rule and no secret. To broker your own services, start with Install.

How a brokered request flows (step through it; it waits for you)

1. Agent. stk run -- your-agent starts the agent with HTTPS_PROXY pointing at the broker, the broker's CA, and a placeholder where each credential would be. NO_PROXY is cleared, because it is a confirmed bypass. The agent makes an ordinary HTTPS request with the placeholder in it.
2. Proxy. The request reaches the broker, not the provider. The broker terminates TLS with its own local CA and looks up the service configured for that host.
3. Decision. For a forge, its preset and your rules decide before the credential is even read: a deny always wins, and anything not allowed is denied. No preset allows DELETE. A refusal is answered at once with a 403 that names the rule: "supertoolkit denied this request: rule builtin:default-deny (no-rule). Nothing was sent."
4. Injected. Only an allowed request makes the broker read the credential from its sealed store. It puts the real token where the placeholder was, or signs the request, or mints a short-lived token, as the service needs.
5. Provider. The provider gets an ordinary request with a real credential, and its answer streams back to the agent as it arrives. The credential never entered the agent's process.
6. Audit. Each request leaves a row in the audit ledger (stk audit): service, method, path, outcome, and a fingerprint where the credential would be, never the value. A refused request names its rule instead, since it never touched the credential.

Let’s begin with the problem we are actually solving. The standard way to give an agent a tool is to put an API key in an MCP config file. That file is plaintext, any process can read it, and the agent reads it to start the server — so the credential ends up in the agent’s own context, and from there in the transcript and wherever transcripts are kept.

SuperToolkit holds the credential in a process the agent cannot read, and puts it on the wire on the way out. The agent’s environment carries a placeholder:

Terminal window
GH_TOKEN=stk:ref:github:v1

If the agent reads that, it has read nothing. It means nothing off this host. You still get the effect; the key never joins the conversation.

Six operations

Substitute a token, substitute inside a Basic header, sign with SigV4, mint a JWT, refresh an OAuth 2.0 grant, or exchange a service credential for a token that lasts minutes. Four of the six operations never put a long-lived secret on the wire at all.

A read is the agent's

A write needs you. Defaults come from the catalogue and fail safe: anything unclassified is treated as a write, and deny is a floor no profile lifts.

A record that answers

What was done, under which policy, and what the provider said — with a fingerprint where the credential would be, never the value.

Runs on your machine

No account, no telemetry, no update check. The only hosts it contacts are the providers you connect and the token endpoints they publish.

A client that ignores proxy configuration entirely goes around the broker, and fails silently — it sends the placeholder to the provider and gets a plausible 401 back, which reads as a credential problem rather than a routing one.

On Linux, a fronted MCP server run by stk mcp serve with network: confined (the default for a server that declares egress:) is blocked from doing this: its only route is the broker. With network: watched (also Linux only) a direct connection is detected and the server stopped. Everywhere else, including every stk run child and every fronted server on macOS, nothing inside a proxy can detect a client that never speaks to it. We can detect the bypass from outside, which is what stk doctor --probe is for. Run it before trusting a new client. You will know whether the client is on the brokered path before a real credential depends on the answer. See Limitations.

For agents, the same docs are plain text: /llms.txt indexes them, and /llms-full.txt is every page in one file.