SM

sparfenyuk/mcp-proxy

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

2.8천 stars 274 forks 품질 88 트렌드 47MIT

Streamable HTTP와 stdio MCP 전송 간의 브리지

개요

mcp-proxy는 서버 전송 간 전환을 가능하게 하는 도구입니다. 지원되는 모드는 두 가지입니다: 1. stdio에서 SSE/StreamableHTTP 2. SSE에서 stdio로 stdio에서 프록시 서버를 운영해서 원격 SSE 서버에 연결하세요. 이 모드는 Claude Desktop과 같은 클라이언트가 기본적으로 지원되지 않더라도 SSE를 통해 원격 서버와 통신할 수 있게 해줍니다. 이 모드는 프로그램의 첫 번째 인자로 MCP 서버의 SSE 엔드포인트 URL을 제공해야 합니다. 서버가 Streamable HTTP 전송을 사용할 경우, mcp-proxy 측에서 --transport=streamablehttp를 전달하여 이를 강제해야 합니다. mcp-proxy는 MCP 클라이언트가 시작해야 하므로 설정은 그에 맞게 이루어져야 합니다. Claude Desktop의 경우 구성 항목은 다음과 같이 보일 수 있습니다: 프록시 서버를 실행해 SSE 서버를 노출시키고, SSE는 로컬 Stdio 서버에 연결됩니다.

개요(AI 번역)

  • MCP-프록시
  • 소개
    1. stdio to SSE/StreamableHTTP
  • 1.1 구성
  • 1.2 예시 사용
    1. SSE에서 stdio로
  • 2.1 구성
  • 2.2 예시 사용
  • 이름 서버
  • 설치
  • PyPI를 통한 설치
  • Github 저장소를 통한 설치 (최신 상태)
  • 컨테이너로 설치
  • 문제 해결
  • 컨테이너 이미지 확장
  • 도커 컴포즈 설정
  • 명령줄 인자
  • 예제 설정 파일
  • 시험

소개

mcp-proxy는 서버 전송 간 전환을 가능하게 하는 도구입니다. 지원되는 모드는 두 가지입니다:

  1. stdio to SSE/StreamableHTTP
  2. SSE에서 stdio로

1. stdio to SSE/StreamableHTTP

stdio에서 프록시 서버를 운영해서 원격 SSE 서버에 연결하세요.

이 모드는 Claude Desktop과 같은 클라이언트가 지원되지 않음에도 불구하고 SSE를 통해 원격 서버와 통신할 수 있게 해줍니다 원주민으로.

1.1 구성

이 모드는 프로그램의 첫 번째 인자로 MCP 서버의 SSE 엔드포인트 URL을 제공해야 합니다. 서버가 Streamable HTTP 전송을 사용할 경우, mcp-proxy 쪽에서 --transport=streamablehttp를 전달하여 반드시 강제해야 합니다.

논쟁

| 이름 | 필수 | 설명 | 예시 |

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

mcp-proxy

About

The mcp-proxy is a tool that lets you switch between server transports. There are two supported modes:

  1. stdio to SSE/StreamableHTTP
  2. SSE to stdio

1. stdio to SSE/StreamableHTTP

Run a proxy server from stdio that connects to a remote SSE server.

This mode allows clients like Claude Desktop to communicate to a remote server over SSE even though it is not supported natively.

graph LR
    A["Claude Desktop"]  |stdio| B["mcp-proxy"]
    B  |SSE| C["External MCP Server"]

    style A fill:#ffe6f9,stroke:#333,color:black,stroke-width:2px
    style B fill:#e6e6ff,stroke:#333,color:black,stroke-width:2px
    style C fill:#e6ffe6,stroke:#333,color:black,stroke-width:2px

1.1 Configuration

This mode requires providing the URL of the MCP Server’s SSE endpoint as the program’s first argument. If the server uses Streamable HTTP transport, make sure to enforce it on the mcp-proxy side by passing --transport=streamablehttp.

Arguments

Name Required Description Example
command_or_url Yes The MCP server SSE endpoint to connect to http://example.io/sse
GitHub에서 전체 README 보기

설치

uvx mcp-server-fetch
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mcp-proxy": { "command": "mcp-proxy", "args": [ "http://example.io/sse" ], "env": { "API_ACCESS_TOKEN": "access-token" } } } }