I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

链条demo
3 years
Works with Finder
1
Github Watches
2
Github Forks
0
Github Stars
Demo de MCP Servers con Chainlit
¡Hola developer 👋🏻! En este repo puedes encontrar un entorno donde probar MCP Servers usando Chainlit. Lo único que debes hacer es añadir las credenciales de tu modelo en Azure Open AI en el archivo .azure.env
:
Este repo funciona con Dev Containers así que no necesitas instalar nada en tu máquina local. Solo abre el repo en VSCode y selecciona la opción de abrir en contenedor.
Una vez que ya lo tengas ejecutandose, añade las credenciales de tu modelo en Azure Open AI en el archivo .azure.env
:
AZURE_OPENAI_API_KEY=
AZURE_OPENAI_ENDPOINT=
OPENAI_API_VERSION=
AZURE_OPENAI_MODEL=
y ejecuta el siguiente comando para lanzar tu aplicación con Chainlit:
chainlit run app.py -w
Ahora verás que como parte del chat tienes un icono que te permite añadir servidores MCP:
Y puedes añadir algunos ejemplos, como el de filesystem;
Con el nombre Filesystem y este es el comando a ejecutar:
npx -y @modelcontextprotocol/server-filesystem /workspaces/chainlit-demo
Y la configuración quedaría algo así:
Preguntarle algo as:
Puedes crearme un poema sobre Model Context Protocol Servers y guardarlo en el archivo poema.txt
Y el resultado sería como el siguiente:
¡Nos vemos 👋🏻!
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Take an adjectivised noun, and create images making it progressively more adjective!
Reviews

user_Pc03364j
The chainlit-demo by 0GiS0 is an impressive tool that showcases the potential of Chainlit applications. Its intuitive interface and seamless integration make it a must-try for developers looking to enhance their projects. Check it out on GitHub!