erm-github-mcp
erm-github-mcp
TypeScript로 작성된 최소 구성의 Model Context Protocol (MCP) 서버입니다. 소스에서 직접 빌드하고 Docker로 컨테이너화하여 IBM Code Engine에 배포할 수 있도록 설계되었습니다.
목차
Related MCP server: My Awesome MCP
개요
이 서버는 두 가지 transport를 지원합니다:
Transport | 사용되는 시점 | 활성화 방법 |
stdio | 로컬 개발 / Bob 데스크톱 | 기본값(환경 변수 불필요) |
HTTP Streamable | Docker / Code Engine |
|
HTTP transport는 liveness probe를 위해 GET /health에서 /health 엔드포인트를 노출합니다.
프로젝트 구조
.
├── src/
│ └── index.ts # Server entry point — add tools here
├── build/ # Compiled output (git-ignored)
├── .github/
│ └── workflows/
│ └── build-push.yml # CI: typecheck → build → push to GHCR
├── Dockerfile # Multi-stage build (builder + runtime)
├── docker-compose.yml # Local container testing
├── tsconfig.json
└── package.json도구
도구 | 설명 |
| 상태 확인 — |
| 서버 이름, 버전, transport, Node 버전, 업타임(uptime)을 반환합니다 |
로컬 개발
사전 요구 사항
Node.js 20+
npm 10+
설치 및 빌드
npm install
npm run buildstdio 모드로 실행 (Bob 데스크톱에서 사용)
node build/index.jsHTTP 모드를 로컬에서 실행
MCP_TRANSPORT=http PORT=3000 node build/index.js헬스 엔드포인트를 테스트합니다:
curl http://localhost:3000/healthDocker로 실행
이미지 빌드
docker build -t erm-github-mcp .컨테이너 실행
docker run -p 3000:3000 erm-github-mcpDocker Compose 사용
docker compose up --buildGitHub Actions CI/CD
.github/workflows/build-push.yml 워크플로우는 main 브랜치에 대한 모든 push와 버전 태그(v*)에서 실행됩니다:
TypeScript 빌드 —
npm ci+tsc(타입 오류 시 즉시 실패)Docker build & push — 멀티 플랫폼 이미지(
linux/amd64,linux/arm64)를 GitHub Container Registry (GHCR)에 push합니다
이미지는 다음과 같이 게시됩니다:
ghcr.io/<your-github-username>/erm-github-mcp:<tag>구성해야 할 secrets는 없습니다. 워크플로우는 내장된 GITHUB_TOKEN을 사용합니다.
패키지를 공개로 설정
첫 번째 push 후 GitHub → Packages → erm-github-mcp → Package settings로 이동하여 표시 여부를 Public으로 설정하세요. 그래야 Code Engine이 자격 증명 없이 pull할 수 있습니다.
IBM Code Engine에 배포
사전 요구 사항
IBM Cloud CLI와 Code Engine 플러그인:
ibmcloud plugin install code-engineIBM Cloud 계정과 Code Engine 프로젝트
단계
1 — 프로젝트 지정
ibmcloud ce project select --name <your-project-name>2 — 애플리케이션 배포
배포하려는 이미지 태그(예: main 또는 v0.1.0)로 <tag>를 대체하세요:
ibmcloud ce application create \
--name erm-github-mcp \
--image ghcr.io/<your-github-username>/erm-github-mcp:<tag> \
--port 3000 \
--min-scale 0 \
--max-scale 5 \
--env MCP_TRANSPORT=http \
--env PORT=30003 — 공개 URL 확인
ibmcloud ce application get --name erm-github-mcp --output url4 — 새 이미지 push 후 업데이트
ibmcloud ce application update \
--name erm-github-mcp \
--image ghcr.io/<your-github-username>/erm-github-mcp:<new-tag>환경 변수
변수 | 기본값 | 설명 |
|
| 컨테이너에서는 |
|
| 서버가 수신하는 HTTP 포트 |
Bob(IBM Bob Desktop) 연결
HTTP (원격 — Code Engine 배포 후)
Bob의 mcp.json에 다음을 추가하세요:
{
"mcpServers": {
"erm-github-mcp": {
"url": "https://<your-code-engine-url>"
}
}
}stdio(로컬 — 개발용)
{
"mcpServers": {
"erm-github-mcp": {
"command": "node",
"args": ["/absolute/path/to/erm-github-mcp/build/index.js"]
}
}
}서버 확장
src/index.ts에서 server.tool()을 사용하여 새 도구를 추가하세요:
server.tool(
"my_tool",
"Description shown to the AI",
{
input_field: z.string().describe("What this field does"),
},
async ({ input_field }) => ({
content: [{ type: "text", text: `Result: ${input_field}` }],
})
);그런 다음 다시 빌드하세요:
npm run build라이선스
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseBqualityNot gradedmaintenanceA minimal reference implementation of an MCP server that responds with "Hello, World" via Streamable HTTP. Serves as a baseline for integration testing and MCP client development with production-ready features including health checks, metrics, and containerized deployment.320,480
- -licenseNot gradedqualityNot gradedmaintenanceA basic MCP server built with FastMCP framework that provides example tools including message echoing and server information retrieval. Supports both stdio and HTTP transports with Docker deployment capabilities.
- -licenseNot gradedqualityNot gradedmaintenanceA basic MCP server built with FastMCP framework that provides example tools for echoing messages and retrieving server information. Supports both stdio and HTTP transports with Docker deployment capabilities.
- -licenseNot gradedqualityNot gradedmaintenanceA basic MCP server built with FastMCP framework that provides simple utility tools including message echoing and server information retrieval. Supports both stdio and HTTP transports with Docker deployment capabilities.
Related MCP Connectors
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP server for Arcjet - the runtime security platform that ships with your AI code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ericmusa-ibm-public/erm-github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server