Cover image
Try Now
2025-04-14

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

MCP Client

Demo de Cliente MCP que hace uso del Servidor MCP provisto por Tavily (https://github.com/tavily-ai/tavily-mcp/tree/main).

Permite realizar búsquedas web y extraer el contenido de una URL especificada.

Este cliente MCP utiliza uv como gestor de paquetes para instalar sus dependencias.

Requisitos previos

Instalación del Servidor MCP

  1. Clonar el repositorio del servidor. En este caso, Tavily AI:
git clone git@github.com:tavily-ai/tavily-mcp.git
cd tavily-mcp
  1. Compilar el código del servidor:
npm install
npm run build

Instalación del Cliente MCP

  1. Clonar este repositorio:
git clone git@github.com:facundo-miglierini/mcp-demo.git
cd mcp-demo
  1. Instalar las dependencias con uv:
uv build
uv venv
  1. Modificar la variable server_params con los siguientes valores:
server_params = StdioServerParameters(
    command="node",
    args=["/{SERVER_DIR}/tavily-mcp/build/index.js"]
)

Donde SERVER_DIR es el directorio donde se encuentra el Servidor MCP instalado.

Uso

Dentro de la carpeta del cliente MCP, activar el entorno virtual:

source .venv/bin/activate

Streamlit

Puede interactuarse desde una interfaz provista por Streamlit:

python -m streamlit run src/streamlit.py

Consola

También puede utilizarse desde la consola:

python src/tavily_client.py

相关推荐

  • 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.

  • caio-moliveira
  • This project was created to demonstrate how we can connect with different Model Context Protocols (MCPs).

  • MarcusAdriano
  • Estudando MCP usando a API do Bacen PTAX

    Reviews

    3.6 (5)
    Avatar
    user_U1cJNuMk
    2025-04-24

    I've been using mcp-demo by facundo-miglierini, and it's truly impressive. The application offers an intuitive interface and seamless functionality. As a loyal user, I'm highly satisfied with the performance and reliability. Highly recommended for anyone looking for a robust solution.

    Avatar
    user_Vr5J2s14
    2025-04-24

    I've been using mcp-demo by facundo-miglierini for a while now and I'm thoroughly impressed. This well-crafted application excels in every aspect, offering a user-friendly interface and robust functionality. Highly recommended for anyone looking to enhance their productivity with a reliable tool.

    Avatar
    user_bxrNOffF
    2025-04-24

    The mcp-demo developed by facundo-miglierini is a superb application that showcases the efficiency and flexibility of MCP technology. With its intuitive user interface and seamless functionality, it has become an indispensable tool in my daily routine. The welcome information and comprehensive start URL make onboarding a breeze, ensuring that even new users can navigate the app with ease. Highly recommend this tool to anyone looking to enhance their workflow.

    Avatar
    user_viqeHyVO
    2025-04-24

    As a dedicated user of the mcp-demo from facundo-miglierini, I am thoroughly impressed by its performance and ease of use. The user-friendly interface and reliable functionality make it a standout application. It's clear that a lot of thought and expertise went into its development. Highly recommended!

    Avatar
    user_8TRAP27b
    2025-04-24

    I've been using mcp-demo by Facundo Miglierini and it has been a game-changer! The streamlined interface and intuitive design make navigation effortless. As a loyal user, I appreciate the consistent updates and improvements. Highly recommend for anyone looking for a reliable solution.