
MCP-Proyecto1
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
Proyecto1
Este proyecto es un servidor MCP (Model Context Protocol) que permite la comunicación entre un cliente y un servidor utilizando herramientas definidas. El archivo principal es main.ts
, que contiene la configuración y definición del servidor.
Funcionalidades principales
-
Creación del servidor:
- Se utiliza la clase
McpServer
para manejar la comunicación entre el cliente y el servidor.
- Se utiliza la clase
-
Definición de herramientas:
- Actualmente, el servidor incluye una herramienta llamada
fetch-weather
que permite obtener información meteorológica de una ciudad específica. - La herramienta utiliza la API de Open-Meteo para buscar la ubicación de la ciudad y obtener el pronóstico del clima.
- Actualmente, el servidor incluye una herramienta llamada
-
Transporte:
- El servidor escucha las conexiones del cliente a través de un transporte de entrada/salida estándar local (
StdioServerTransport
).
- El servidor escucha las conexiones del cliente a través de un transporte de entrada/salida estándar local (
SDK Utilizado
Este proyecto utiliza el SDK de MCP (Model Context Protocol) para TypeScript, el cual proporciona herramientas y clases necesarias para implementar servidores MCP de manera eficiente.
Cómo usar
- Instalar las dependencias necesarias especificadas en
package.json
. - Ejecutar el archivo
main.ts
para iniciar el servidor MCP. - Interactuar con el servidor utilizando un cliente MCP compatible.
Dependencias principales
-
@modelcontextprotocol/sdk/server/mcp.js
-
@modelcontextprotocol/sdk/server/stdio.js
-
zod
Ejemplo de uso
La herramienta fetch-weather
puede ser utilizada para obtener información meteorológica de una ciudad proporcionando el nombre de la ciudad como parámetro.
相关推荐
🔥 1Panel bietet eine intuitive Weboberfläche und einen MCP -Server, um Websites, Dateien, Container, Datenbanken und LLMs auf einem Linux -Server zu verwalten.
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
PDF wissenschaftliche Papierübersetzung mit erhaltenen Formaten - 基于 ai 完整保留排版的 pdf 文档全文双语翻译 , 支持 支持 支持 支持 google/deeptl/ollama/openai 等服务 提供 cli/gui/mcp/docker/zotero
⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.
Erstellen Sie einfach LLM -Tools und -Argarten mit einfachen Bash/JavaScript/Python -Funktionen.
😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / diskord / telegram / slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Diffy 、 Claude 、 Gemini 、 xai 、 ppio 、 、 ulama 、 lm Studio 、阿里云百炼、火山方舟、 siliconflow 、 qwen 、 mondshot 、 chatglm 、 sillytraven 、 mcp 等 llm 的机器人 / agent | LLM-basierte Instant Messaging Bots-Plattform, unterstützt Zwietracht, Telegramm, Wechat, Lark, Dingtalk, QQ, Slack
Reviews

user_gl9puwc7
I have been using mcp-proyecto1 by Maureth for a while now, and I must say it has exceeded my expectations. The user interface is intuitive and the performance is outstanding. It seamlessly integrates with my existing tools, making my workflow more efficient. I highly recommend mcp-proyecto1 to anyone looking for a reliable and powerful application.

user_mTtE9Qmv
As a dedicated MCP user, I must say that MCP-Proyecto1 by Maureth is a standout application. Its seamless integration and user-friendly interface make it an excellent tool for both beginners and experts. Highly recommended for anyone looking to streamline their projects efficiently.