Skip to main content
Glama

grpcmcp

제공된 설명자 파일이나 리플렉션을 사용하여 grpc 백엔드로 프록시하는 간단한 MCP 서버입니다.

빠른 시작

  1. 바이너리를 설치합니다: go install . 또는 go install github.com/adiom-data/grpcmcp go bin 디렉터리가 PATH에 있는지 확인합니다.

  2. 터미널에서 grpc server go run example/main.go 예제를 실행합니다. 이렇게 하면 서버 리플렉션이 활성화된 8090 포트에서 grpc 상태 관리 서비스가 시작됩니다. 이 서비스는 grpcmcp가 연결할 기본 포트에서 실행됩니다.

  3. SSE 전송 다른 터미널에서 grpcmcp --hostport=localhost:3000 --reflect 실행합니다. hostport 지정하면 SSE가 사용됩니다. SSE 엔드포인트는 http://localhost:3000/sse 에서 제공됩니다.

  4. STDIN 전송 MCP 구성을 설정합니다. 예:

지엑스피1

Related MCP server: mcprouter

옵션/기능

전체 옵션 목록을 보려면 grpcmcp --help .

  • hostport 문자열 - 설정하면 SSE를 사용하고 이는 서버 호스트:포트로 사용됩니다.

  • descriptors 문자열 - gRPC 리플렉션을 사용하는 대신 buf build -o protos.pb 또는 protoc --descriptor_set_out=protos.pb 에서 생성된 protobuf 정의의 파일 위치를 지정합니다.

  • reflect - 설정된 경우 설명자 파일 대신 반사를 사용하여 gRPC 엔드포인트를 검색합니다.

  • url 문자열 - 백엔드 서버의 url을 지정합니다.

  • services 문자열 - 필터링할 완전히 정규화된 gRPC 서비스 이름의 쉼표로 구분된 목록입니다.

  • bearer 문자열 - Authorization: Bearer 헤더에 첨부할 토큰입니다.

  • bearer-env 문자열 - Authorization: Bearer 헤더에 첨부할 토큰의 환경 변수입니다. bearer 재정의합니다.

  • header 문자열(반복 가능) - Key: Value 형식으로 추가할 헤더입니다.

돕다

https://discord.gg/hDjx3DehwG 에서 Discord에 가입하세요.

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adiom-data/grpcmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server