Skip to content

feat: add HTTP transport mode support with streamable sessions#28

Merged
Seungwoo321 merged 4 commits intomainfrom
develop
Mar 15, 2026
Merged

feat: add HTTP transport mode support with streamable sessions#28
Seungwoo321 merged 4 commits intomainfrom
develop

Conversation

@Seungwoo321
Copy link
Copy Markdown
Contributor

Summary

  • MCP 서버에 HTTP 트랜스포트 모드 추가 (기본 stdio 모드 유지)
  • --http 플래그 또는 WIREWEAVE_TRANSPORT=http 환경 변수로 활성화
  • StreamableHTTPServerTransport 기반 세션 관리 구현

Changes

  • HTTP 서버 구현 (/mcp 엔드포인트, /health 헬스체크)
  • 세션별 트랜스포트 인스턴스 관리 및 자동 정리
  • stdio/http 모드에 따른 서버 인스턴스 생성 로직 분리
  • 환경 변수 추가: WIREWEAVE_MCP_PORT (기본 3305), WIREWEAVE_MCP_HOST (기본 127.0.0.1), WIREWEAVE_MCP_MAX_SESSIONS (기본 10)
  • CI/CD 개선: pnpm 10.11.0 고정, [skip ci] 조건 추가, --frozen-lockfile 적용
  • package.json에 start:http 스크립트 추가

Test Plan

  • stdio 모드 정상 동작 확인 (pnpm start)
  • HTTP 모드 정상 동작 확인 (pnpm start:http)
  • /health 엔드포인트 응답 확인
  • 다중 세션 생성/삭제 테스트
  • 세션 제한(MAX_SESSIONS) 동작 확인
  • [skip ci] 커밋 메시지로 배포 스킵 확인

Seungwoo321 and others added 4 commits March 15, 2026 21:14
pnpm 버전을 10.11.0으로 고정하고 frozen-lockfile 옵션을 추가했습니다. main 브랜치 배포 시 [skip ci] 커밋 메시지가 있으면 배포를 건너뛰도록 조건을 추가했습니다.
MCP 서버에 HTTP 전송 모드를 추가했습니다. --http 플래그로 실행 시 streamable HTTP를 통해 MCP 프로토콜을 제공합니다. stdio 모드는 기본값으로 유지됩니다.
Add HTTP transport mode support for MCP server
@Seungwoo321 Seungwoo321 merged commit e42f005 into main Mar 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant