basic-mcp
basic-mcp
Сервер MCP (Model Context Protocol) с интерфейсом на React, предоставляющий инструменты и ресурсы для работы с пользователями GitHub и данными о погоде.
Структура проекта
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
Предварительные требования
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 — HTTP-запросы к внешним API (GitHub, Open-Meteo)
Interface — предоставление доступа через протокол MCP
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.1,284MIT
- 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
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…
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/tchoupoGuy/basic-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server