basic-mcp
basic-mcp
Ein MCP-Server (Model Context Protocol) mit einer React-Oberfläche, der Tools und Ressourcen rund um GitHub-Benutzer und das Wetter bereitstellt.
Projektstruktur
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 ReactVoraussetzungen
Node.js >= 18
npm >= 9
Installation
npm install
cd client && npm installStart
Nur Server (stdio)
npm run startHTTP-Server (Port 3001)
npm run start:httpHTTP-Server + React-Oberfläche
npm run start:uiDie Oberfläche ist unter http://localhost:5173 erreichbar.
Der MCP-HTTP-Server lauscht unter http://localhost:3001/mcp.
Verfügbare MCP-Tools
Tool | Beschreibung |
| Überprüft, ob der Server antwortet |
| Gibt Informationen eines GitHub-Benutzers zurück |
| Gibt das Wetter für einen Breitengrad/Längengrad zurück |
Verfügbare MCP-Ressourcen
URI | Beschreibung |
| GitHub-Profil eines Benutzers |
| Wetter für GPS-Koordinaten |
Architektur
Das Projekt folgt den Prinzipien der Clean Architecture:
Domain — Entitäten und Port-Schnittstellen (keine externen Abhängigkeiten)
Application — Anwendungsfälle, die die Geschäftslogik orchestrieren
Infrastructure — HTTP-Aufrufe an externe APIs (GitHub, Open-Meteo)
Interface — Bereitstellung über das MCP-Protokoll
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