- Explore MCP Servers
- poc-mcp
Poc Mcp
What is Poc Mcp
poc-mcp is a proof of concept (POC) project for a Model Context Protocol (MCP) server implemented using TypeScript and the official SDK. It provides a simple server that exposes a tool to obtain the current weather of a city using the Open-Meteo API.
Use cases
Use cases for poc-mcp include creating automated tests for weather applications, integrating weather data into other software systems, and serving as a learning tool for developers interested in MCP and TypeScript.
How to use
To use poc-mcp, first install the dependencies using pnpm, npm, or yarn. Then, start the server with the command ‘pnpm start’ or ‘node main.ts’. The server will expose a tool called ‘get-weather’ that takes a city name and returns the current weather information.
Key features
Key features of poc-mcp include a simple implementation of an MCP server, integration with the Open-Meteo API for weather data, and the ability to communicate through stdin/stdout, making it suitable for automated testing and integrations.
Where to use
poc-mcp can be used in various fields such as software development for testing and integration purposes, weather-related applications, and educational projects to demonstrate the use of MCP servers.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Poc Mcp
poc-mcp is a proof of concept (POC) project for a Model Context Protocol (MCP) server implemented using TypeScript and the official SDK. It provides a simple server that exposes a tool to obtain the current weather of a city using the Open-Meteo API.
Use cases
Use cases for poc-mcp include creating automated tests for weather applications, integrating weather data into other software systems, and serving as a learning tool for developers interested in MCP and TypeScript.
How to use
To use poc-mcp, first install the dependencies using pnpm, npm, or yarn. Then, start the server with the command ‘pnpm start’ or ‘node main.ts’. The server will expose a tool called ‘get-weather’ that takes a city name and returns the current weather information.
Key features
Key features of poc-mcp include a simple implementation of an MCP server, integration with the Open-Meteo API for weather data, and the ability to communicate through stdin/stdout, making it suitable for automated testing and integrations.
Where to use
poc-mcp can be used in various fields such as software development for testing and integration purposes, weather-related applications, and educational projects to demonstrate the use of MCP servers.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
mcp-poc
Proyecto de prueba de concepto (POC) para un servidor MCP (Model Context Protocol) usando TypeScript y el SDK oficial.
Descripción
Este proyecto implementa un servidor MCP sencillo que expone una herramienta para obtener el clima actual de una ciudad utilizando la API de Open-Meteo. El servidor se comunica a través de stdin/stdout, lo que lo hace ideal para integraciones o pruebas automatizadas.
Requisitos
- Node.js (recomendado v18+)
- pnpm (o npm/yarn)
Instalación
pnpm install
# o
npm install
# o
yarn install
Uso
Para iniciar el servidor:
pnpm start
# o
node main.ts
El servidor expondrá una herramienta llamada get-weather que recibe el nombre de una ciudad y retorna información meteorológica actual.
Dependencias principales
@modelcontextprotocol/sdk: SDK oficial para implementar servidores MCP.zod: Validación de esquemas para los parámetros de las herramientas.
Estructura principal
main.ts: Implementación del servidor MCP y la herramienta de clima..gitignore: Configuración para ignorar archivos y carpetas comunes en proyectos Node.js.
Para poder probar el servidor MCP con el inspector, se puede usar el siguiente comando:
npx @modelcontextprotocol/inspector npx -y tsx main.ts
Para agregar el mcp dentro del IDE, hay que seguir el siguiente formato json:
{
"mcpServers": {
"demo":{
"command": "npx",
"args": [
"-y",
"tsx",
"<path_to>/mcp-poc/main.ts"
]
}
}
}
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










