
mcp-demo
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
- Tener instalado uv package manager: https://docs.astral.sh/uv/getting-started/installation/
- Tener instalado node: https://nodejs.org/en/download
Instalación del Servidor MCP
- Clonar el repositorio del servidor. En este caso, Tavily AI:
git clone git@github.com:tavily-ai/tavily-mcp.git
cd tavily-mcp
- Compilar el código del servidor:
npm install
npm run build
Instalación del Cliente MCP
- Clonar este repositorio:
git clone git@github.com:facundo-miglierini/mcp-demo.git
cd mcp-demo
- Instalar las dependencias con uv:
uv build
uv venv
- 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
相关推荐
🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.
⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.
This project was created to demonstrate how we can connect with different Model Context Protocols (MCPs).
Reviews

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

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

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

user_viqeHyVO
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!

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