Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

everything: bind the HTTP transports to loopback by default, with HOST to widen

オープン 初心者向け
#5,371 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
node.js, typescript

調査の方向性

transports/listen.ts と issue #3303 の参照プロトタイプから始めて、両方の HTTP トランスポートがどのように起動されるかを確認してください。everything サーバーとその環境変数に関する README のセクションを確認してください。完了条件は、両方のトランスポートがデフォルトで 127.0.0.1 にバインドされ、HOST によってバインド先を広げられ、README に両方の動作が記載されていることです。

索引モデルが issue の本文から書いたものです。

説明

enhancement server-everything v2

Problem

The everything server's HTTP transports (Streamable HTTP and the deprecated HTTP+SSE) call app.listen(port) with no host (transports/listen.ts), so they bind to every network interface. A developer who starts the server over HTTP on a laptop exposes its tools to every host on the local network, not just to clients on the same machine. Browser access is already restricted to localhost origins (#5241), but a non-browser client on the LAN sends no Origin header and is let through.

Expected behavior

The HTTP transports bind to the loopback interface (127.0.0.1) by default, and a HOST environment variable (for example HOST=0.0.0.0) widens the bind deliberately, as a container image does (#3309). The README documents the variable and the default.

Reference prototype

#3303 by @TheodorNEngoy binds both HTTP transports to 127.0.0.1 by default with a HOST override (its CORS half has since shipped in #5241). It was opened before this repository moved to issues-only contributions, and is closed in favor of this issue; it serves as the reference prototype for the fix, and its author will be credited when the fix ships.

主要言語
TypeScript
スター
91.6k
フォーク
11.9k
平均マージ
4時間 38分
マージ済み PR(30日)
241

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/servers のほかの issue

modelcontextprotocol/servers の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。