Cover image
Try Now
2025-03-25

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:

MCP Servers Icon

Y puedes añadir algunos ejemplos, como el de filesystem;

Configurar el MCP Server 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í:

MCP Server Conectado

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:

Resultado de llamar al MCP Server

¡Nos vemos 👋🏻!

相关推荐

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

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

    Reviews

    4 (1)
    Avatar
    user_Pc03364j
    2025-04-16

    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!