Skip to content
Back to skills

Bifrost Mcp Setup

BSecurity

Manually wire a Bifrost MCP server into Claude Code (mcp.json) when the automated installer can't run, or add the Bifrost plugin on Claude Desktop and claude.ai through the Plugins UI. Triggers on 'manually add bifrost mcp', 'edit mcp.json for bifrost', 'installer failed', 'add x-bf-vk header', 'manual bifrost setup', 'mcp.json bifrost', 'bifrost in claude desktop', 'claude_desktop_config'.

  • 5 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 6, 2026
ai-agentsrustshellbashnode

Works with

  • claude code
  • claude desktop
  • cli
  • mcp

Security analysis

B75/100
  • criticalModifies startup scripts or system services for persistence
  • criticalModifies startup scripts or system services for persistence

Pro shows the line behind each finding and how to fix it

Scanned November 15, 2026

npx -y skills add neXenio/bifrost-plugin --skill bifrost-mcp-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bifrost Mcp Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bifrost Mcp Setup
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/nexenio-bifrost-mcp-setup/badge)](https://www.skillsdirectory.com/skills/nexenio-bifrost-mcp-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bifrost-mcp-setup
description: "Manually wire a Bifrost MCP server into Claude Code (mcp.json) when the automated installer can't run, or add the Bifrost plugin on Claude Desktop and claude.ai through the Plugins UI. Triggers on 'manually add bifrost mcp', 'edit mcp.json for bifrost', 'installer failed', 'add x-bf-vk header', 'manual bifrost setup', 'mcp.json bifrost', 'bifrost in claude desktop', 'claude_desktop_config'."
---

# Manual Bifrost MCP Setup

Use this when the automated installer (`node scripts/install.js` / `/bifrost-setup`)
can't run (no internet, policy restriction, etc.).

Note: if the plugin itself is installed and enabled, none of this is needed —
the plugin's shipped `.mcp.json` registers the `bifrost` server automatically.
This skill is for wiring the MCP server WITHOUT the plugin.

## Step 1 — Set your gateway URL and virtual key

```bash
# Add to ~/.zshrc or ~/.bashrc (replace with your real values):
export BIFROST_URL=https://<your-gateway-host>/mcp
export BIFROST_VK=vk_<your-key>
source ~/.zshrc   # or ~/.bashrc
```

Never commit the VK. It belongs in your shell env only.

## Step 2 — Register the server with the Claude Code CLI

```bash
claude mcp add --scope user --transport http bifrost \
  "${BIFROST_URL}" --header 'x-bf-vk: ${BIFROST_VK}'
```

The single-quoted `${BIFROST_VK}` is stored as a runtime template — Claude Code
resolves it from your shell env on every launch, so the key itself is never
written to disk by this registration. An existing entry is refused by Claude Code
2.1.322; inspect it before deliberately changing it. This command does not replace it.

## Step 3 — Restart Claude Code

For this manual registration path, start a new Claude Code session and verify `/mcp`.
Plugin updates instead support `/reload-plugins`; unchanged MCP configurations retain
their connection. See the [reload reference](https://code.claude.com/docs/en/plugins/components#server-names-tool-names-and-reloads).

## Step 4 — Verify

```bash
# Confirm the entry is present:
claude mcp get bifrost

# Confirm env vars are set:
echo "URL: ${BIFROST_URL:-NOT SET}"
test -n "${BIFROST_VK:-}" && echo "VK: set" || echo "VK: NOT SET"
```

If your gateway exposes a skill server, then inside Claude Code call
`mcp__bifrost__<skills-server>-skill_search` with `"test"` — if it returns
results, the gateway is live.

## Uninstall

```bash
claude mcp remove --scope user bifrost
```

## Claude Desktop

Desktop Code follows the Claude Code plugin path: install through `/plugin`,
configure the gateway and personal key, then verify `/mcp`.

Chat and Cowork are different hosts. As documented on 2026-11-11, Chat ignores
MCP URLs referencing `${user_config.*}`; Cowork skips entries whose referenced
options lack defaults and does not prompt for values. This plugin references
`virtual_key` without a default. Installing its skills there does not establish
its MCP connection. Use a separately configured, operator-supported connector
and verify it on that surface. Do not claim auto-login or hook coverage in Chat.
See [platform support](https://claude.com/docs/plugins/platform-support) and the
[repository support matrix](../../README.md#registration-and-connection-modes).

### Legacy fallback: local `mcp-remote` proxy

Only for plugin versions before 1.5.0, or installs that cannot use the plugin
at all. Requires Node. Edit
`~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or
`%APPDATA%\Claude\claude_desktop_config.json` (Windows):

```json
{
  "mcpServers": {
    "bifrost": {
      "command": "npx",
      "args": [
        "mcp-remote", "https://<stable-gateway-host>/mcp",
        "--transport", "http-only",
        "--header", "x-bf-vk:${BIFROST_VK}"
      ],
      "env": { "BIFROST_VK": "vk_<your-key>" }
    }
  }
}
```

No spaces around `:` in the `--header` arg. This file then contains your key —
treat it as a secret (`chmod 600` on macOS/Linux) and never commit it.
Restart Claude Desktop afterwards.

## Troubleshooting

- **401 from bifrost** → `BIFROST_VK` is wrong or not exported. Re-check your shell env.
- **Tool not found after restart** → `claude mcp get bifrost` should show `"type": "http"` (not `"sse"`); re-run Step 2 if the entry is missing.
- **Gateway timeout** → gateway may be offline or `BIFROST_URL` is wrong. Contact the gateway operator.
- **Desktop OAuth errors** (`Incompatible auth server`, `Policy 'Trusted Hosts' rejected`) → run `/bifrost-debug` step 9.

For full diagnosis: `/bifrost-debug`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.