Cover image
Try Now
2025-04-14

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

  1. Creación del servidor:

    • Se utiliza la clase McpServer para manejar la comunicación entre el cliente y el servidor.
  2. 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.
  3. Transporte:

    • El servidor escucha las conexiones del cliente a través de un transporte de entrada/salida estándar local (StdioServerTransport).

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

  1. Instalar las dependencias necesarias especificadas en package.json.
  2. Ejecutar el archivo main.ts para iniciar el servidor MCP.
  3. 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.

相关推荐

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • rulego
  • ⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.

  • Byaidu
  • PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

  • lasso-security
  • A plugin-based gateway that orchestrates other MCPs and allows developers to build upon it enterprise-grade agents.

  • hkr04
  • Lightweight C++ MCP (Model Context Protocol) SDK

  • bayesmaxxing
  • MCP server for LLM clients to interact with my forecasting website

    Reviews

    4.5 (2)
    Avatar
    user_gl9puwc7
    2025-04-24

    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.

    Avatar
    user_mTtE9Qmv
    2025-04-24

    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.