bifrost-setup

A command that sets up the Bifrost MCP gateway, a connection service that provides memory and skill discovery to coding agents. It installs or checks the plugin, collects gateway settings, and verifies that those services work.

In plain words
What is it for?
Use it to install and configure the Bifrost plugin, set a gateway URL and optional login credentials, and confirm that memory and skill discovery are available.
Why use it?
It provides a defined onboarding path for connecting the agent to the gateway instead of requiring separate setup and registration steps.

Command

Part of the bifrost-plugin plugin — 5 skills, 5 commands, 5 hooks, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/nexenio/bifrost-plugin/bifrost-setup
Clone the repo
git clone --depth 1 https://github.com/neXenio/bifrost-plugin

Or install bifrost-plugin, the plugin that ships this one along with the rest of its 5 skills, 5 commands, 5 hooks, 1 MCP server.

Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,010 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00021 $0.01010
Opus 5 $0.00010 $0.00505
Sonnet 5 $0.00004 $0.00202
Haiku 4.5 $0.00002 $0.00101

Measured 2d ago against content hash 55f41283ae19, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bifrost-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/bifrost-setup.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/bifrost-setup

Set up a Bifrost MCP gateway and confirm memory and skill discovery are live. This command is the ONLY place onboarding runs. The plugin never launches setup on its own.

Primary path: install the plugin

CLI: /plugin marketplace add neXenio/bifrost-plugin then /plugin install bifrost-plugin. On Desktop and claude.ai, see the per-surface install steps in the bifrost-onboard skill.

Installing prompts for the plugin's three config values:

  • Gateway URL (gateway_url): defaults to the shared gateway.
  • Virtual key (virtual_key, optional): paste the vk_... key your gateway operator issued you. Leave it blank to sign in with your company account through OAuth instead.
  • OAuth client ID (oauth_client_id, optional): only needed if your identity provider does not let Claude register itself. Ask your gateway operator for it.

The bundled .mcp.json reads these back as ${user_config.gateway_url} and so on, so no separate registration step is needed. Change any value later with /plugin configure, no reinstall required.

What this command does

  1. Checks whether the plugin is installed and enabled (/plugin).
  2. If not, walks you through install and the config prompts above.
  3. Guides you to verify the connection.

Env vars: override for the hook layer only

BIFROST_URL and BIFROST_VK, if both set in your shell, override the plugin's configured gateway URL and virtual key for the hook layer only (session-start.cjs, prompt-submit.cjs, session-reflect.cjs, usage.cjs). Use this to point hooks at a different gateway than the one configured in the plugin, or when running the CLI without a plugin install at all. The MCP connection itself always uses the plugin's config when the plugin is installed; these env vars do not change it.

If you are not using the plugin at all, you can still register the server directly with the Claude Code CLI:

export BIFROST_URL=https://<your-gateway-host>/mcp
node "${CLAUDE_PLUGIN_ROOT}/bin/install.js" --key vk_<your-key>

# Or without a key (VK must already be in env):
node "${CLAUDE_PLUGIN_ROOT}/bin/install.js"

Read the full file on GitHub · 97 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 97 lines · 21 tokens per session scan A 55f41283ae19

Subscribe to this mod's changes

bifrost-setup is a command published in the GitHub repository neXenio/bifrost-plugin (2 stars, last pushed 14d ago), licensed MIT. It adds 21 tokens to every session and 1,010 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.