Add HTTP transport mode support for MCP server#27
Merged
Seungwoo321 merged 2 commits intodevelopfrom Mar 15, 2026
Merged
Conversation
pnpm 버전을 10.11.0으로 고정하고 frozen-lockfile 옵션을 추가했습니다. main 브랜치 배포 시 [skip ci] 커밋 메시지가 있으면 배포를 건너뛰도록 조건을 추가했습니다.
MCP 서버에 HTTP 전송 모드를 추가했습니다. --http 플래그로 실행 시 streamable HTTP를 통해 MCP 프로토콜을 제공합니다. stdio 모드는 기본값으로 유지됩니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--http플래그로 HTTP 모드 지원Changes
@modelcontextprotocol/sdk/server/streamableHttp.js를 통한 HTTP 전송 계층 구현--httpCLI 플래그 또는WIREWEAVE_TRANSPORT=http환경 변수로 전송 모드 선택/mcp엔드포인트에서 MCP 프로토콜 처리 (세션 생성/재사용/종료)/health엔드포인트 추가 (활성 세션 수, 도구 개수 등 상태 정보)start:httpnpm 스크립트 추가[skip ci]커밋 메시지 감지 시 배포 스킵pnpm install --frozen-lockfile적용Test Plan
pnpm start)pnpm start:http)/health)WIREWEAVE_MCP_PORT,WIREWEAVE_MCP_HOST,WIREWEAVE_TRANSPORT)[skip ci]동작 확인