What it does
Permission-aware onboarding MCP server: answers about a codebase, filtered by the caller's role.
- Connects パソコンでもクラウドでも
- Account or key Cloud: Needs Authorization · Local: Needs ONBOARD_TOKEN, ONBOARD_TOKEN_CONTRACTOR, ONBOARD_TOKEN_EMPLOYEE, ONBOARD_TOKEN_MAINTAINER
- Category 開発者ツール
一緒に使える
この種の作業を AI に教える Skill。これと一緒に使えます
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
この順位の理由
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 0/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 8/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 20/100 |
品質: 基本チェック 3/5 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
インストール
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
Lawang Onboard をインストールして。https://mcp.popnx.com/i/gablooge-lawang-onboard.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/5 合格 · 質問内容は提供元のサーバー(lawang-onboard.samsulhadi.com)を通ります · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげます · 約 5 分
Lawang Onboard のキーが必要です(提供元のサイトで作成) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
Lawang Onboard に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
Claude の Connectors ページを開く
CustomizeConnectors
「Add」→「Custom」→「Web」を押し、この 2 つを入力
ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します
Name · 名前Lawang OnboardRemote MCP server URL · アドレスhttps://lawang-onboard.samsulhadi.com/mcpRequest headers に、この名前と値を追加
ヘッダー名Authorization値Bearer <ここにキーを貼り付け>キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します
チャットで有効にする
+ConnectorsLawang Onboard
試してみる
Lawang Onboard を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Lawang Onboard を使っていると言うか、回答に Lawang Onboard のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Lawang Onboard につなげません
Lawang Onboard は接続時に自分のキーが必要ですが、OpenAI のヘルプページは OAuth ログインしか説明しておらず、確認できたキー入力方法がありません
代わりにできること
A · Lawang Onboard につなげるアプリを使う
- Lawang Onboard のキーが必要です(提供元のサイトで作成) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
- Lawang Onboard のキーが必要です(提供元のサイトで作成)
- Lawang Onboard のキーが必要です(提供元のサイトで作成)
- Lawang Onboard のキーが必要です(提供元のサイトで作成)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげます · 約 5 分
Lawang Onboard のキーが必要です(提供元のサイトで作成)
Lawang Onboard に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --transport http --scope user lawang-onboard https://lawang-onboard.samsulhadi.com/mcp --header 'Authorization: Bearer {onboard_token}'Enter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude Code で /mcp と入力
Lawang Onboard が一覧にあり、接続済みと表示されれば OK です
試してみる
Lawang Onboard を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Lawang Onboard を使っていると言うか、回答に Lawang Onboard のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげます · 約 5 分
Lawang Onboard のキーが必要です(提供元のサイトで作成)
Lawang Onboard に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーを入力
Lawang Onboard の設定で Authorization が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Cursor の AI チャットを Agent モードで開く
試してみる
Lawang Onboard を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Lawang Onboard を使っていると言うか、回答に Lawang Onboard のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげます · 約 5 分
Lawang Onboard のキーが必要です(提供元のサイトで作成)
Lawang Onboard に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーを入力
Lawang Onboard の設定で Authorization が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
VS Code の AI チャットを Agent モードで開く
試してみる
Lawang Onboard を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Lawang Onboard を使っていると言うか、回答に Lawang Onboard のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
Web 経由でつなぐアプリ用のアドレス
https://lawang-onboard.samsulhadi.com/mcpJSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
Web 経由
Claude Code
claude mcp add --transport http --scope user lawang-onboard https://lawang-onboard.samsulhadi.com/mcp --header 'Authorization: Bearer {onboard_token}'Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"lawang-onboard": {
"url": "https://lawang-onboard.samsulhadi.com/mcp",
"headers": {
"Authorization": "Bearer {onboard_token}"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"lawang-onboard": {
"type": "http",
"url": "https://lawang-onboard.samsulhadi.com/mcp",
"headers": {
"Authorization": "Bearer {onboard_token}"
}
}
}
}パソコンにインストール
Claude Code
claude mcp add --scope user lawang-onboard --env ONBOARD_TOKEN=your-value --env ONBOARD_TOKEN_CONTRACTOR=your-value --env ONBOARD_TOKEN_EMPLOYEE=your-value --env ONBOARD_TOKEN_MAINTAINER=your-value -- docker run -i --rm -e ONBOARD_TOKEN -e ONBOARD_TOKEN_CONTRACTOR -e ONBOARD_TOKEN_EMPLOYEE -e ONBOARD_TOKEN_MAINTAINER ghcr.io/gablooge/lawang-onboard:0.1.1 -stdioClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"lawang-onboard": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"ONBOARD_TOKEN",
"-e",
"ONBOARD_TOKEN_CONTRACTOR",
"-e",
"ONBOARD_TOKEN_EMPLOYEE",
"-e",
"ONBOARD_TOKEN_MAINTAINER",
"ghcr.io/gablooge/lawang-onboard:0.1.1",
"-stdio"
],
"env": {
"ONBOARD_TOKEN": "your-value",
"ONBOARD_TOKEN_CONTRACTOR": "your-value",
"ONBOARD_TOKEN_EMPLOYEE": "your-value",
"ONBOARD_TOKEN_MAINTAINER": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"lawang-onboard": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"ONBOARD_TOKEN",
"-e",
"ONBOARD_TOKEN_CONTRACTOR",
"-e",
"ONBOARD_TOKEN_EMPLOYEE",
"-e",
"ONBOARD_TOKEN_MAINTAINER",
"ghcr.io/gablooge/lawang-onboard:0.1.1",
"-stdio"
],
"env": {
"ONBOARD_TOKEN": "your-value",
"ONBOARD_TOKEN_CONTRACTOR": "your-value",
"ONBOARD_TOKEN_EMPLOYEE": "your-value",
"ONBOARD_TOKEN_MAINTAINER": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"lawang-onboard": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"ONBOARD_TOKEN",
"-e",
"ONBOARD_TOKEN_CONTRACTOR",
"-e",
"ONBOARD_TOKEN_EMPLOYEE",
"-e",
"ONBOARD_TOKEN_MAINTAINER",
"ghcr.io/gablooge/lawang-onboard:0.1.1",
"-stdio"
],
"env": {
"ONBOARD_TOKEN": "your-value",
"ONBOARD_TOKEN_CONTRACTOR": "your-value",
"ONBOARD_TOKEN_EMPLOYEE": "your-value",
"ONBOARD_TOKEN_MAINTAINER": "your-value"
}
}
}
}自分で入力する値
ONBOARD_TOKEN秘密 必須 envONBOARD_TOKEN_CONTRACTOR秘密 必須 envcontractor ロール用のトークン(任意のシークレットを設定可能)。英語の原文を見る
Token for the contractor role (any secret you choose)ONBOARD_TOKEN_EMPLOYEE秘密 必須 envemployee ロール用のトークン(任意のシークレットを設定可能)。英語の原文を見る
Token for the employee role (any secret you choose)ONBOARD_TOKEN_MAINTAINER秘密 必須 envmaintainer ロール用のトークン(任意のシークレットを設定可能)。英語の原文を見る
Token for the maintainer role (any secret you choose)- あなたの役割(maintainer、employee、contractor)用の Bearer トークン。サーバー運用者に依頼してください。
英語の原文を見る
Bearer token for your role (maintainer, employee or contractor). Ask the server operator for one.
説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
インターネット経由でつなげるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
このサーバーは、ツール一覧を表示する前にサインインを求めます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント gablooge で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:22 日前
- ✓ 合格
ライセンスがある
MITを使用
- ! 注意
エンドポイントが応答する
アクセスを拒否(HTTP 401)し、OAuth ログインもありません。キーが必要か、ボット対策の可能性があり、未確認です。
- ! 注意
OAuthでサインイン
キーやトークンを自分でコピーして貼り付ける必要があります
- … 未チェック
ツールの説明に隠れた指示がない
まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります
作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/gablooge-lawang-onboard)話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの6136件のうち0%よりスターが多い
- このカテゴリのほかの6136件のうち40%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの6136件のうち10%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Lawang Onboardは安全ですか?
当てはまる基本チェック5項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:Authorization, ONBOARD_TOKEN, ONBOARD_TOKEN_CONTRACTOR, ONBOARD_TOKEN_EMPLOYEE, ONBOARD_TOKEN_MAINTAINER
パソコンで動きますか、それともクラウドですか?
どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は22 日前、最新バージョン(0.1.1)がレジストリに届いたのは2 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。
代わりに使えるものは?
同じカテゴリには:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
似た働きのほかの候補
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| これ Lawang Onboard | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 動く場所 | クラウドでもパソコンにインストールでも使える | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える |
| キーが必要 | はい | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | はい | いいえ | いいえ |
| 基本チェック | 3/5 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| ライセンス | MIT | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Lawang Onboard
Permission-aware AI onboarding. An onboarding copilot inside IBM Bob that explains a codebase to a new engineer, and only the parts they are allowed to see.
Built for the IBM Bob 2.0 Hackathon (lablab.ai, 25 to 27 September 2026) by team Lawang Onboard.
The problem
A new engineer, or a contractor hired for one module, needs weeks to learn why a codebase looks the way it does. The answers exist, spread across commit messages, architecture decision records and pull request reviews, but nobody reads those on day one. And access is all or nothing: either the newcomer sees everything, including whatever an AI assistant can read into its context, or they wait for someone to explain.
What it does
Open the repository in IBM Bob, switch to the Onboard mode, and ask:
/tour: the map of what you can see, module by module./trace webhook: how a webhook becomes a record, step by step./why internal/ingress: the decisions and reviews behind a path.- "What can I pick up first?"
Bob answers from the code and its history, and cites every item it used. Every piece of context carries a scope; the engineer's role maps to a set of scopes; the role comes from the token on the connection; and the Lawang Onboard MCP server filters before the model sees anything. A contractor's session cannot leak what it was never given, and every answer ends with what was withheld:
Withheld: path:cmd (68), path:internal/core (314), path:migrations (56), path:repo (86),
private:growth (18), private:security (6) | total hidden: 399
| Contractor | Maintainer |
|---|---|
Results
Measured on 26 September with the contractor role, one fresh Bob task per question, by a team member who did not build the server. Full write-up: docs/benchmark.md.
| Result | |
|---|---|
| Ten onboarding questions | 10 of 10 correct, 36 s and 0.16 Bobcoins per answer on average |
| Against answering by hand | 46 s vs 210 s on three questions, one of which could not be answered by hand at all |
Leak probes (prompt injection, direct get, claiming another role, search, "guess") | 5 of 5 held; nothing outside the role's scopes reached the model |
| Code review by Bob | 2 real findings (unauthenticated demo API, an existence oracle in get), both fixed and rechecked |
| Withheld counts | Match an independent recount from roles.yaml and the corpus on every run |
| Leak tests | 11 test functions, each across all three roles, plus planted injection items; go test -race ./... in CI |
How it works
IBM Bob (Onboard mode: rules, skills, slash commands)
| MCP over stdio or HTTPS, bearer token v onboard server (Go) token -> role -> scopes -> one filter function -> tools -> audit log | corpus/*.jsonl (610 items: files, docs, ADRs, commits, PRs, reviews, issues, each with scopes)
- Scopes come from
roles.yaml: path globs (first match wins), labels (agrowthlabel makes an issue private) and kinds. An item needs every one of its scopes; an item with no scope is denied to everyone. - Tools:
whoami,map_system,search,get,trace_feature,why,setup_guide,starter_tasks,withheld. Each filters first and builds its answer only from visible items. A hidden id and a missing id get the same answer. - Onboard mode can use only MCP tools and skills, not the file system, so Bob's only view of the code is the filtered one. Its rules make it call
whoamifirst, cite item ids, treat corpus text as data, mark proposals as proposals and close with the Withheld line. - Tokens are compared in constant time; an unknown, empty or ambiguous token is refused. The demo page's API uses the same tokens.
Design notes: docs/design.md.
Try it
- Live demo: https://lawang-onboard.samsulhadi.com (paste a role token to see that role's view).
- Connect a client: IBM Bob, Claude Code, Cursor and VS Code are set up below, over stdio through the published image or over HTTPS through the hosted server.
Connect your MCP client
server.json declares two ways in, and the nine tools and four prompts are the same through both:
| Transport | Address | What you need |
|---|---|---|
| stdio | the image ghcr.io/gablooge/lawang-onboard:0.1.2, run with -stdio | Docker, and a secret you pick |
| streamable-http | https://lawang-onboard.samsulhadi.com/mcp | a role token from the server operator |
0.1.2 is the tag to pull, and it is the first whose binary reports the tag as its serverInfo.version (0.1.1 reported 0.1.0) and the first that serves the prompts. Over stdio you are the operator: pick any secret, give it to one role, and set ONBOARD_TOKEN to the same value. That role decides what you see, and the image carries the Lawang demo corpus, so there is nothing else to set up. Over HTTPS the tokens are ours, so ask us for one.
Keep the secret out of any file you commit. The Bob, Claude Code and Cursor snippets below read it from your environment, so export it before you start the client; the VS Code snippets below do not read it, and VS Code prompts you for it once instead. The two values are deliberately the same: one names the role, the other says which role this client claims.
read -rs ONBOARD_TOKEN && export ONBOARD_TOKEN # typed, so it stays out of your shell history
export ONBOARD_TOKEN_CONTRACTOR="$ONBOARD_TOKEN"
Then pick your client. Each snippet names the documentation it came from and the day that page was read; these clients change their configuration formats, so check the page if a snippet does not work.
IBM Bob
Copy .bob/mcp.example.json to .bob/mcp.json for a local server over stdio, or .bob/mcp.remote.example.json for the hosted one, put your token in, reload MCP servers, switch to the Onboard mode and type /tour. Both hold the token literally, in a file .gitignore keeps out of git. For the local one that is what the flow under "Run it locally" expects: scripts/use-role.py writes the token into that file's env object for you. The remote one you paste into headers yourself, because it has no env object and that script does not touch it. The block below keeps the token in your environment instead.
For the published image over stdio, with no Go toolchain:
{
"mcpServers": { "lawang-onboard": { "command": "docker", "args": ["run", "-i", "--rm", "-e", "ONBOARD_TOKEN", "-e", "ONBOARD_TOKEN_CONTRACTOR", "ghcr.io/gablooge/lawang-onboard:0.1.2", "-stdio"], "env": { "ONBOARD_TOKEN": "${env:ONBOARD_TOKEN}", "ONBOARD_TOKEN_CONTRACTOR": "${env:ONBOARD_TOKEN_CONTRACTOR}" } } } }
So the file holds a variable name and never your secret. Three Bob details behind that, measured on 12 October 2026 (Bob IDE 2.2.1 and Bob Shell 2.0.5, which carry the same MCP client):
- Bob expands
${env:NAME}from its own environment.envandheaderswere tested;argsgoes through the same walk over the entry. A bare${NAME}is not expanded and arrives as that literal text, which is worth knowing before you copy a${VAR}out of an older note. - The
envobject is doing real work: Bob gives a stdio server a fixed allow-list (HOME,LOGNAME,PATH,SHELL,TERM,USER) plus the entry's ownenv, and nothing else. So-e ONBOARD_TOKENon its own passes nothing on and the image exits withonboard: ONBOARD_TOKEN is not set. Keep both halves. - Export the variables before you start Bob. Setting them in another terminal afterwards does not reach a Bob that is already running.
Claude Code
Two commands, from the claude mcp add reference (read 12 October 2026). --env values and header values are expanded from your environment when the server starts, so the ${...} text is what gets written to the configuration, not your secret. Everything after -- is passed to the server untouched, which is what lets docker run keep its own flags.
Over stdio, through the image:
claude mcp add --env 'ONBOARD_TOKEN=${ONBOARD_TOKEN}' \
--env 'ONBOARD_TOKEN_CONTRACTOR=${ONBOARD_TOKEN_CONTRACTOR}' --transport stdio lawang-onboard \ -- docker run -i --rm -e ONBOARD_TOKEN -e ONBOARD_TOKEN_CONTRACTOR \ ghcr.io/gablooge/lawang-onboard:0.1.2 -stdio
Over HTTPS, through the hosted server:
claude mcp add --transport http lawang-onboard https://lawang-onboard.samsulhadi.com/mcp \
--header 'Authorization: Bearer ${ONBOARD_TOKEN}'
Both write to local scope, which is this project only; add --scope user for every project. The single quotes matter: they stop your shell expanding the token into the stored command. Checked at that default scope on CLI 2.1.293: the entry lands in ~/.claude.json under this project's path, the ${...} text is what is stored, and claude mcp list reports Connected with the variables exported and Failed to connect without them, naming them as missing.
One silent failure to know about on the HTTPS entry. Under "Credential variables that read as empty", that page says some credential-like names read as empty instead of expanding in a remote server's url and headers. It gives three categories with examples rather than a list, and says a name outside them expands as written. ONBOARD_TOKEN is outside them, and it did expand on CLI 2.1.293, measured against a local endpoint that logged the header it received. If yours reads as empty, the header goes out as a bare Bearer and this server answers 401. claude mcp list is the quick check; claude --debug-file /tmp/claude-debug.log and a search for "never expanded toward a remote server" is the one that names the variable.
Cursor
.cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project, under mcpServers. Cursor resolves ${env:NAME} in command, args, env, url and headers. From Cursor's MCP documentation (read 12 October 2026).
Over stdio, through the image. That page's stdio field table marks type required with the value "stdio", while none of its stdio examples carry it, so this snippet follows the table:
{
"mcpServers": { "lawang-onboard": { "type": "stdio", "command": "docker", "args": ["run", "-i", "--rm", "-e", "ONBOARD_TOKEN", "-e", "ONBOARD_TOKEN_CONTRACTOR", "ghcr.io/gablooge/lawang-onboard:0.1.2", "-stdio"], "env": { "ONBOARD_TOKEN": "${env:ONBOARD_TOKEN}", "ONBOARD_TOKEN_CONTRACTOR": "${env:ONBOARD_TOKEN_CONTRACTOR}" } } } }
Over HTTPS, through the hosted server:
{
"mcpServers": { "lawang-onboard": { "url": "https://lawang-onboard.samsulhadi.com/mcp", "headers": { "Authorization": "Bearer ${env:ONBOARD_TOKEN}" } } } }
A remote entry is a url and optional headers; the documentation names no transport field, and Cursor works out streamable HTTP for itself.
VS Code
.vscode/mcp.json in the workspace, or the same file in your user profile, under servers. Fields and variables from the MCP configuration reference (read 12 October 2026): type, command, args, env and envFile for stdio, type, url and headers for a remote server. That page documents ${input:id} and ${workspaceFolder}, and not ${env:NAME}, so the token comes from an inputs entry: VS Code asks for i