basic-mcp
Provides tools and resources to retrieve GitHub user profiles, including user information such as name, bio, followers, and public repositories.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@basic-mcp show me the GitHub profile for torvalds"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
basic-mcp
A Model Context Protocol (MCP) server with a React interface, exposing tools and resources related to GitHub users and weather.
Project structure
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 ReactRelated MCP server: Weather MCP
Prerequisites
Node.js >= 18
npm >= 9
Installation
npm install
cd client && npm installGetting started
Server only (stdio)
npm run startHTTP server (port 3001)
npm run start:httpHTTP server + React interface
npm run start:uiThe interface is accessible at http://localhost:5173.
The HTTP MCP server listens at http://localhost:3001/mcp.
Available MCP tools
Tool | Description |
| Checks that the server is responding |
| Returns information for a GitHub user |
| Returns the weather for a latitude/longitude |
Available MCP resources
URI | Description |
| GitHub profile of a user |
| Weather for GPS coordinates |
Architecture
The project follows the principles of Clean Architecture:
Domain — entities and port interfaces (no external dependencies)
Application — use cases orchestrating business logic
Infrastructure — HTTP calls to external APIs (GitHub, Open-Meteo)
Interface — exposure via the MCP protocol
Available Tools
9 toolsask-documentA
Answers any question about your course document using GPT-4o. Perfect for PMP exam preparation: ask about concepts, processes, differences between approaches, etc. Requires the index to be built first with extract-document-index.
Inputs: question (required), chapter, document, pmpFocus.
extract-document-indexA
Extracts text from documents in chapter subfolders and saves the index to output/{name}/document-index.json. Supported formats: .png .jpg .jpeg .bmp .tiff .webp — .pdf — .docx .doc — .txt .md .csv. For images: uses Tesseract OCR with Sharp preprocessing (local, offline). For PDF (native text): uses pdf-parse (no binary required). For Word (.docx): uses mammoth (no binary required). For plain text (.txt, .md): reads directly. Run once before using ask-document or generate-quiz. Skips already-indexed files unless force=true.
Inputs: name, force, basePath, chapters.
generate-document-pdfA
Generates a complete PDF from chapter image folders. Mode 'images' (default): inserts original images full-page, faithful to the original layout. Mode 'text': Tesseract OCR text only. Mode 'images+text': each original image followed by its Tesseract OCR text. Mode 'vision': LLaVA (Ollama local) extracts text -- best quality for complex layouts, requires Ollama running with llava model.
Inputs: mode, chapters, language, outputFilename.
generate-quizA
Generates PMP-style multiple choice questions (MCQ) from a chapter of your course. Questions follow the PMI exam format: situational, 4 options, one best answer with explanation. Requires the index to be built first with extract-document-index.
Inputs: chapter (required), count, domain, document.
get-github-userC
Fetches public profile information for a GitHub user
Inputs: username (required).
get-weatherB
Get current weather conditions for a location. Provide either a city name OR latitude+longitude coordinates.
Inputs: city, latitude, longitude.
list-documentsA
Lists all documents that have been indexed and are available for study. Returns the document names to use in the 'document' parameter of ask-document and generate-quiz.
Inputs: no named parameters.
ping-serverC
A simple tool that echoes back the input
Inputs: message (required).
read-log-fileB
Read the contents of a log file from the server's logs directory. Optionally return only the last N lines.
Inputs: filename (required), lastLines.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
The tools cover clearly different resources: a ping/health check, GitHub user lookup, weather, log reading, and a document-processing pipeline. The document cluster (list-documents, extract-document-index, ask-document, generate-quiz, generate-document-pdf) is the only area of partial overlap, but each has a distinct action and the descriptions clarify dependencies between them.
Every tool follows a consistent kebab-case verb_noun pattern (get-github-user, read-log-file, list-documents, extract-document-index, ask-document, generate-quiz). No mixing of conventions, casing styles, or vague verbs.
Nine tools is a reasonable, well-scoped count. However, the server spans several unrelated domains (ping, github, weather, logs, document pipeline), which makes the overall bundle feel like a grab-bag rather than a tightly scoped server.
The document pipeline is fairly complete (list, index, query, quiz, PDF generation), but other domains are shallow: GitHub only supports user lookup with no repos/search, and logs only support reading with no listing or tailing helpers. The heterogeneous scope means no single domain is fully covered.
Related MCP Connectors
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A MCP server built for developers enabling Git based project management with project and personal…
Model Context Protocol server for Studex tools, notifications, and profile integrations
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Node.js/TypeScript server implementing the Model Context Protocol that provides integrations with GitHub and Notion, allowing automated workflow between these platforms via API endpoints.ISC
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables natural language weather queries for global cities, integrating with OpenWeather API to provide real-time weather information in an easy-to-read format.1-
- FlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that interfaces with OpenWeatherMap API to provide real-time weather information and forecasts for cities worldwide.-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides weather information using the Open-Meteo API, allowing users to get current weather for specific cities and retrieve weather data for date ranges.Apache 2.0