basic-mcp
basic-mcp
GitHub 사용자 및 날씨 관련 도구와 리소스를 제공하는 React 인터페이스 기반의 MCP(Model Context Protocol) 서버입니다.
프로젝트 구조
basic-mcp/
├── server/ # Serveur MCP (Node.js / TypeScript)
│ ├── main.ts # Point d'entrée — transport stdio
│ ├── server-http.ts # Point d'entrée — transport HTTP (Streamable HTTP)
│ └── src/
│ ├── application/ # Cas d'usage (GetGitHubUser, GetWeather)
│ ├── domain/ # Entités et ports (interfaces)
│ ├── infrastructure/ # Implémentations des repositories
│ └── interface/mcp/ # Outils et ressources MCP exposés
└── client/ # Interface React + Vite
└── src/
├── application/hooks/ # useMcpTool, useMcpResource
├── domain/ # Entités côté client
├── infrastructure/mcp/ # Adaptateur MCP client
└── presentation/ # Composants React사전 요구 사항
Node.js >= 18
npm >= 9
설치
npm install
cd client && npm install시작하기
서버 단독 실행 (stdio)
npm run startHTTP 서버 (포트 3001)
npm run start:httpHTTP 서버 + React 인터페이스
npm run start:ui인터페이스는 http://localhost:5173에서 액세스할 수 있습니다.
HTTP MCP 서버는 http://localhost:3001/mcp에서 수신 대기합니다.
사용 가능한 MCP 도구
도구 | 설명 |
| 서버 응답 확인 |
| GitHub 사용자 정보 반환 |
| 위도/경도에 대한 날씨 정보 반환 |
사용 가능한 MCP 리소스
URI | 설명 |
| 사용자의 GitHub 프로필 |
| GPS 좌표에 대한 날씨 정보 |
아키텍처
이 프로젝트는 Clean Architecture 원칙을 따릅니다:
Domain — 엔티티 및 포트 인터페이스 (외부 의존성 없음)
Application — 비즈니스 로직을 조정하는 유스케이스
Infrastructure — 외부 API(GitHub, Open-Meteo)에 대한 HTTP 호출
Interface — MCP 프로토콜을 통한 노출
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/tchoupoGuy/basic-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server