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.

  • 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

  • Lists Tailwind CSS classes in monospaced font

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

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

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

    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!