Auto MCPのロゴ

Auto MCP

組織
brizzai

Transform any OpenAPI/Swagger definition into a fully-featured Model Context Protocol (MCP) server

公開者brizzai
リポジトリauto-mcp
言語Go
フォーク
23
スター
194
利用可能なツール
0
通信方式stdio
ライセンスApache-2.0
リンク
  • ツールをAIワークフローに接続

    Auto MCPは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには194件のスターと23件のフォークがあります。

Auto MCP

Visit the Auto MCP Homepage

Go Report Card GitHub release (latest by date) License Go version Container Registry Build Status

Transform any OpenAPI/Swagger definition into a fully-featured Model Context Protocol (MCP) server – ready to run locally, inside Claude Desktop, or in the cloud.

The service reads a Swagger (OpenAPI v2) or OpenAPI v3 document, generates routes on-the-fly, proxies requests to the upstream endpoint you configure, and exposes them through MCP using either the STDIO or HTTP or SSE transport defined in the MCP specification.


✨ Why Auto MCP?

  • Zero boiler-plate – bring your swagger.json and start serving.
  • Flexible deployment – run as a CLI, long-lived daemon, or within Docker/Kubernetes.
  • All transport modes –
    • stdio (default).
    • http - StreamableHttp, newest MCP prototcol.
    • sse – self-hosted long-running event source.
  • Pluggable auth – bearer token, basic auth, API keys, OAuth2 or no auth.
  • Runtime configuration – YAML file, CLI flags, or environment variables (prefixed AUTO_MCP_).

🛠️ Using Auto MCP

Easily tailor your Swagger/OpenAPI file for optimal MCP integration. The MCP Config Builder lets you:

  • Edit endpoint descriptions for clearer, more helpful documentation.
  • Filter out unnecessary routes to streamline your API exposure.
  • Preview and customize how endpoints appear to LLMs and clients.
  • Generate an adjustment file (--adjustment-file) for use with Auto MCP, applying your customizations automatically.

MCP Config Builder

How it works

  1. Install the MCP Config Builder:
    bash
    go install ./cmd/mcp-config-builder
    This will build and install the mcp-config-builder binary to your $GOPATH/bin (usually ~/go/bin). Make sure this directory is in your PATH.
  2. Launch the tool:
    bash
    mcp-config-builder --swagger-file=/path/to/swagger.json
  3. Interactively review and edit endpoints in a user-friendly TUI (Terminal User Interface).
  4. Save your adjustments to a file for future use or sharing.
  5. Run Auto MCP with your adjustment file to apply your customizations:
    bash
    auto-mcp --swagger-file=/path/to/swagger.json --adjustment-file=/path/to/adjustments.json

📚 Use Cases

  1. Rapid Prototyping: Wrap any REST API as an MCP server in seconds—ideal for testing ideas or building AI tools fast.

  2. Bridge Legacy Services: Expose legacy or internal systems as MCP endpoints without rewriting them.

  3. Access Any 3rd-Party API from Chat Applications: Turn any third-party API into an MCP tool, making it accessible to AI assistants like Claude.

  4. Minimal Proxy Tools: Use auto-mcp to proxy APIs that already handle validation and logic—no wrappers needed.


🖥️ Running inside Claude Desktop

Add the following snippet to your Claude Desktop configuration (⟂ Settings → MCP Servers):

jsonc
{
  "mcpServers": {
    "YourMCP": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/Users/you/path/to/swagger.json:/server/swagger.json",
        "ghcr.io/brizzai/auto-mcp:latest"
        "--swagger-file=/server/swagger.json"
      ]
    }
  },
  "globalShortcut": ""
}

Claude will start the container on-demand and connect over STDIO. Replace the host path to swagger.json and image tag to suit your setup.

CLI flags

  • --mode – override server.mode (stdio or sse).
  • --swagger-file – path to the OpenAPI document (default: swagger.json).
  • --adjustment-file - mcp-config-builder output filter/change route descriptions

For detailed configureation guidelines, please see CONFIGURATION.md.


🔐 OAuth Support

Auto MCP supports OAuth 2.1 authentication, including PKCE, dynamic client registration, and multiple providers (internal, GitHub, Google). This allows you to secure your MCP server with industry-standard authentication flows.

See the OAuth Usage Guide for detailed setup instructions, endpoint descriptions, and testing tips.


🐳 Running with Docker

  1. Run in local stdio mode:

    bash
    docker run --rm -i \
      -v $(pwd)/swagger.json:/server/swagger.json \
        ghcr.io/brizzai/auto-mcp:latest \
        --swagger-file=/server/swagger.json \
        --mode=stdio
  2. Run in remote sse/http mode :

    bash
    docker run \
      -v $(pwd)/swagger.json:/server/swagger.json \
        ghcr.io/brizzai/auto-mcp:latest \
        --swagger-file=/server/swagger.json \
        --mode=http

The bundled docker-compose.yml maps port 8080 and persists logs to ./logs.

Running the Petshop Example

You can try out the included Petshop demo using Docker. This demo uses a sample configuration and API specs to show how auto-mcp works.

Steps:

  1. Make sure you are in the root directory of this repository.
  2. Run the following command:
bash
docker run --rm -i \
  -v $(pwd)/examples/petshop/config:/config \
  ghcr.io/brizzai/auto-mcp:latest
  • This command mounts the examples/petshop/config directory from your local machine into the Docker container at /config.
  • The /config directory inside the container should contain:
    • config.yaml: Main configuration file for the demo
    • swagger.json: API specification for the Petshop service
    • adjustment.yaml: Optional adjustments or overrides for the API

Note: Any files you place in examples/petshop/config will overwrite the default config.yaml, swagger.json, and adjustment.yaml inside the container.

This setup allows you to easily test and modify the Petshop demo configuration.

See [docs/CONFIGURATION.md](docs/ CONFIGURATION.md) for all config options and environment variable overrides.

🤝 Contributing

For detailed contribution guidelines, please see CONTRIBUTING.md.


📄 License

Distributed under the Apache License 2.0 License. See LICENSE for details.

Auto MCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Auto MCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Auto MCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Auto MCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "auto-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてAuto MCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Auto MCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Auto MCPを使ってこのタスクを手伝ってもらえますか?
Auto MCP
はい、読みました。
Auto MCPで調べた結果をお伝えします。

よくある質問

Auto MCP MCPサーバーは何に使いますか?

Auto MCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでAuto MCP MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでAuto MCPを利用できます。

TypingMindでAuto MCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Auto MCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Auto MCP MCPをTypingMindに接続するにはどうすればよいですか?

Auto MCPはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでAuto MCP MCPのどのようなツールを利用できますか?

Auto MCPはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Auto MCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Auto MCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇