プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Laravel MCP Companion

作者:brianirishバージョン 1.0.0-rc1i★ 38iパソコンで動くリポジトリ ↗
レジストリ名io.github.brianirish/laravel-mcp-companion

インストール方法

What it does

Laravel docs for every version from 6.x to 13.x, plus services and packages, kept local and offline.

  • Connects パソコンで動く
  • Account or key No key needed
  • Category その他

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気19/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア31/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Laravel MCP Companion をインストールして。https://mcp.popnx.com/i/brianirish-laravel-mcp-companion.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月19日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Laravel MCP Companion を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "laravel-companion": { "command": "uvx", "args": [ "laravel-mcp-companion" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Laravel MCP Companion のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "laravel-companion": {
          "command": "uvx",
          "args": [
            "laravel-mcp-companion"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Laravel MCP Companion を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Laravel MCP Companion を使っていると言うか、回答に Laravel MCP Companion のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Laravel MCP Companion につなげません

Laravel MCP Companion はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Laravel MCP Companion につなげるアプリを使う

  • 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)

B · その他 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Laravel MCP Companion を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user laravel-companion -- uvx laravel-mcp-companion 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Laravel MCP Companion のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user laravel-companion -- uvx laravel-mcp-companion
  4. Claude Code で /mcp と入力

    Laravel MCP Companion が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Laravel MCP Companion を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Laravel MCP Companion を使っていると言うか、回答に Laravel MCP Companion のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Laravel MCP Companion を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "laravel-companion": { "command": "uvx", "args": [ "laravel-mcp-companion" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Laravel MCP Companion のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Laravel MCP Companion を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Laravel MCP Companion を使っていると言うか、回答に Laravel MCP Companion のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Laravel MCP Companion を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "laravel-companion": { "type": "stdio", "command": "uvx", "args": [ "laravel-mcp-companion" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Laravel MCP Companion のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Laravel MCP Companion を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Laravel MCP Companion を使っていると言うか、回答に Laravel MCP Companion のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Laravel MCP Companion を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user laravel-companion -- uvx laravel-mcp-companion

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "laravel-companion": {
      "command": "uvx",
      "args": [
        "laravel-mcp-companion"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "laravel-companion": {
      "command": "uvx",
      "args": [
        "laravel-mcp-companion"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "laravel-companion": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "laravel-mcp-companion"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
npm/PyPIにない
接続方法
パソコンで動く
最新バージョンi
1.0.0-rc1
カテゴリi
その他
レジストリ公開日i
2026年11月19日
コードの最終更新i
2026年11月19日
作者
brianirish
パッケージ
oci: ghcr.io/brianirish/laravel-mcp-companion:v1.0.0-rc1
pypi: laravel-mcp-companion
ウェブサイト
github.com
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月20日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント brianirish で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:昨日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に laravel-mcp-companion@1.0.0rc1 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月19日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/brianirish-laravel-mcp-companion.svg)](https://mcp.popnx.com/en/servers/brianirish-laravel-mcp-companion)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

その他のほかのサーバーとの比較i

  • このカテゴリのほかの20815件のうち98%よりスターが多い
  • このカテゴリのほかの20815件のうち98%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの20815件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Laravel MCP Companionは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は昨日、最新バージョン(1.0.0-rc1)がレジストリに届いたのは昨日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDocker, Python (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73広く使われている★ 9.1万4 日前更新

クラウドで動く✓ 提供元 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

作者:openstatusHQ広く使われている★ 92762 か月前更新

クラウドで動く✓ 提供元 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

作者:JanDeDobbeleer広く使われている★ 2.4万 リポジトリ全体のスター31 日前更新

クラウドで動く✓ 提供元 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI成長中★ 582414 か月前更新

クラウドで動くリポジトリはアーカイブ済み✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

作者:jitsucom広く使われている★ 51364 か月前更新

クラウドで動く✓ 提供元 · jitsu.com
似たものと比べる
これ
Laravel MCP Companion
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/34/44/44/41/44/4
ライセンスMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Laravel MCP Companion

Every Laravel version, the whole ecosystem, fully local.

Laravel MCP Companion is an MCP server that keeps Laravel's documentation on your machine and lets an AI assistant search and read it. It holds the framework docs for every version from 6.x to the newest, the first-party services, and widely used packages. Nothing is fetched while you work, so it answers without a network connection.

Status: 0.15 is a breaking release. The tools it introduces, with their arguments and

results, are the ones 1.0 will promise not to break.

MIGRATING.md lists what changed for anyone upgrading.

A reference library

Three things set it apart:

  • Every version, side by side. Laravel 6.x through 13.x are all held. Ask about the version an older application runs on, or compare two versions to see what an upgrade brings.
  • Fully local. The documentation ships inside the image or the Python package. Nothing leaves your machine and no vendor API is called, so it works offline and behind an air gap.
  • It needs no project. It works in a chat client with no code open, where there is no composer.lock to read.

Laravel Boost is the first-party tool for writing code inside a Laravel project: it is installed into the application and knows what the application uses. Use Boost while building. Use Companion to look something up in any Laravel version, in a client with no project open, or where the documentation has to stay on the machine.

Documentation held

  • The framework documentation for Laravel 6.x through 13.x.
  • First-party services: Forge, Vapor, Envoyer, Nova, Cloud, Nightwatch and Herd.
  • Packages: Livewire, Filament, Inertia, and Spatie's Permission, Media Library and Backup, each at its current major version, plus Debugbar and IDE Helper.
  • Learning material: the courses at laravel.com/learn and an index of Laracasts topics.
  • A hand-written catalog of 42 curated packages: what each is for, how to install it, what goes with it, and which ones newer projects no longer start with.

The project refetches all of it every night and publishes a new image, so you get newer documentation by pulling one; nothing is fetched on your machine unless you ask for an update. Ask your assistant how current its documentation is, or call laravel_docs_info, to see the date and page count of every source.

Installation

Listed in the official MCP Registry as io.github.brianirish/laravel-mcp-companion — clients with registry support can install it from there directly. Manual setup:

Claude Desktop
  1. Open Claude Desktop Settings
  • Click Claude menu → Settings → Developer → Edit Config
  1. Add to your configuration file:
   {

"mcpServers": { "laravel-mcp-companion": { "command": "docker", "args": ["run", "--rm", "-i", "ghcr.io/brianirish/laravel-mcp-companion:latest"] } } }

  1. Restart Claude Desktop for changes to take effect

Config file locations:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Claude Code

Use the claude mcp add command:

# Add with Docker

claude mcp add laravel-mcp-companion -- docker run --rm -i ghcr.io/brianirish/laravel-mcp-companion:latest

Or add to project-specific config (for team sharing)

claude mcp add laravel-mcp-companion --scope project -- docker run --rm -i ghcr.io/brianirish/laravel-mcp-companion:latest

The --scope project option creates a .mcp.json file in your project root that can be committed to version control.

Without Docker

The project is also an ordinary Python package (3.12+), with the documentation bundled, so it runs without Docker and without a network connection. It is not on PyPI yet; install it from the repository:

# Run it without installing anything permanently

uvx --from git+https://github.com/brianirish/laravel-mcp-companion laravel-mcp-companion

Or install it

pip install git+https://github.com/brianirish/laravel-mcp-companion laravel-mcp-companion

In an MCP client config, use uvx as the command and ["--from", "git+https://github.com/brianirish/laravel-mcp-companion", "laravel-mcp-companion"] as the arguments. The options in the next section are passed the same way, after laravel-mcp-companion.

An install made this way (with uvx or pip) carries the documentation as it was on the day you installed it. Starting the server with --update-docs fetches the current documentation and stores it in a per-user directory, where a reinstall or an upgrade does not touch it:

SystemDirectory
macOS~/Library/Application Support/laravel-mcp-companion/docs
Linux~/.local/share/laravel-mcp-companion/docs (or under $XDG_DATA_HOME)
Windows%LOCALAPPDATA%\laravel-mcp-companion\docs

To keep it elsewhere, set LARAVEL_MCP_COMPANION_HOME to a directory; the documentation goes in docs inside it. The server compares that directory with the documentation that came with the installed version and reads the newer of the two. Delete the directory to return to the documentation that came with the install.

The Docker image, and a clone of this repository, hold one copy of the documentation and update it in place.

Configuration Options

Options go after the image name in the Docker command, or after laravel-mcp-companion. For example:

# Pin to a specific older Laravel version

docker run --rm -i ghcr.io/brianirish/laravel-mcp-companion:latest --version 11.x

Force update all documentation

docker run --rm -i ghcr.io/brianirish/laravel-mcp-companion:latest --force-update

OptionDescriptionDefault
--version VERSIONLaravel version answered from by default, e.g. 11.x (env: VERSION)The newest
--docs-path PATHDocumentation directory (env: DOCS_PATH)The copy that ships with the image or package, or your updated copy if it is newer
--transport TRANSPORTstdio, or http to serve over HTTP (env: TRANSPORT)stdio
--port PORTPort for the HTTP transport (env: PORT)8081
--server-name NAMEName the server reports to clients (env: SERVER_NAME)LaravelMCPCompanion
--log-level LEVELDEBUG, INFO, WARNING, ERROR, CRITICAL (env: LOG_LEVEL)INFO
--update-docsUpdate documentation on startupfalse
--force-updateForce documentation updatefalse
--transform-mode MODETool exposure mode: search, code, or none (env: TRANSFORM_MODE)search
--host HOSTInterface to bind in HTTP mode (env: HOST)127.0.0.1 (0.0.0.0 in Docker)
--cors-origin ORIGINBrowser origin allowed to call the HTTP transport, repeatable (env: CORS_ORIGINS)none (CORS off)
--allowed-host HOSTAdditional Host header accepted in HTTP mode, repeatable (env: ALLOWED_HOSTS)localhost, 127.0.0.1, ::1
--auth-jwks-uri URIJWKS endpoint enabling bearer-token auth in HTTP mode (env: AUTH_JWKS_URI)none (auth off)
--auth-issuer ISSUERRequired token issuer, with --auth-jwks-uri (env: AUTH_ISSUER)none
--auth-audience AUDRequired token audience, with --auth-jwks-uri (env: AUTH_AUDIENCE)none
--auth-required-scope SCOPEScope every token must carry, repeatable (env: AUTH_REQUIRED_SCOPES)none
--rate-limit RPSMCP requests/second accepted in HTTP mode; operational endpoints are never limited (env: RATE_LIMIT_RPS)none (no limiting)
--rate-limit-burst NToken-bucket burst capacity (env: RATE_LIMIT_BURST)max(10, 2×RPS)
Keeping documentation current

Documentation ships inside the image, and a new image is published whenever the documentation is refreshed. Which documentation you get depends on the tag:

TagCodeDocumentation
:latestthe newest releaserefreshed nightly
:v0.15.0 and other version tagsthat releaseas it was on the release date
:docs-YYYY-MM-DDthe newest release as of that date (tags from before 0.15 carry whatever was on main)that night's sync

:latest never carries unreleased code: the nightly image is the newest release with that night's documentation.

The catch is that `docker run` reuses the copy you already have — once you've pulled the image, you keep running it until you pull again. Refresh whenever you like:

docker pull ghcr.io/brianirish/laravel-mcp-companion:latest

Or add --pull=always to your MCP config so every start checks for a newer image. It costs a moment of startup time and needs a working connection, so it's opt-in rather than the default:

"args": ["run", "--rm", "-i", "--pull=always",

"ghcr.io/brianirish/laravel-mcp-companion:latest"]

You don't have to track this yourself. The server tells your assistant how old the documentation is for the Laravel version it's serving, so if you ask about something newer than that snapshot it will say so and offer to refresh instead of answering from stale pages. You can also just ask — *"how current are your Laravel docs?"*

To update in place without pulling a new image, --update-docs fetches fresh documentation for the selected Laravel version during startup. Your assistant can refresh any source while the server runs with the update_laravel_docs tool, whose scope selects the framework docs, the services, the packages or all of them.

With --rm the download is discarded when the container exits, so it repeats on every start. A named volume keeps it — but note the trade-off:

docker run --rm -i -v laravel-mcp-docs:/app/docs \

ghcr.io/brianirish/laravel-mcp-companion:latest --update-docs

The server runs as an unprivileged user (uid 10001), which owns /app/docs in the image, so a new named volume is writable. Images before 0.15 ran as root, and a volume one of them created is owned by root: remove it (docker volume rm laravel-mcp-docs) and let the next run recreate it.

A volume overrides the image's documentation. Once populated it masks

/app/docs, so pulling a newer image no longer updates what the server reads —

the volume becomes your source of truth and --update-docs becomes the way you

refresh it. Use a volume when you want to control updates explicitly; stick to

plain docker pull if you'd rather the image stay in charge.

Transform Modes

The server is built on FastMCP, which can put a small search interface in front of a server's tools so that their descriptions do not all sit in the client's context. That is the default here, so a client lists four tools, not twelve:

  • `search` (default) — Lists search_tools, which finds a tool from a description of what you need, and call_tool, which runs any tool by name. search_laravel_docs and read_laravel_doc_section are listed directly as well, since

冒頭だけを表示しています。続きはリポジトリで読めます