MCP cover image
See in Github
2025-03-25

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.

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

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

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

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

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

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

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

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

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

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

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

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

  • modelcontextprotocol
  • 模型上下文协议服务器

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(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!