Cover image

Pruebe chatbot usando el servidor MCP Docs de Mastra

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

Mastra Docs Chatbot

A Next.js application that uses Mastra agents to provide a chat interface for interacting with:

  1. Docs Agent - a documentation assistant that uses the Mastra MCP docs server to provide accurate information about Mastra

Features

  • A specialized Mastra agent with a custom model and tools
  • Model Context Protocol (MCP) integration for documentation search
  • Real-time streaming responses
  • Conversation memory between sessions
  • Modern UI with Assistant UI components

Getting Started

Prerequisites

  • Node.js 18+
  • npm or pnpm

Installation

  1. Clone the repository:
git clone <repository-url>
cd mastra-docs-chatbot
  1. Install dependencies:
npm install
# or
pnpm install
  1. Configure environment variables: Create a .env.local file with your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
  1. Run the development server:
npm run dev
# or
pnpm dev
  1. Open http://localhost:3000 in your browser to see the app.

Usage

  • The homepage features the Docs Agent, which can answer questions about Mastra documentation, code examples, and best practices.
  • The agent maintains conversation history across sessions.

How It Works

  • The application uses Mastra agents with the MCP (Model Context Protocol) integration to access documentation.
  • The docs agent can search through the Mastra documentation, examples, blog posts, and package changelog information.
  • The UI is built with Next.js and Assistant UI components for a modern chat experience.

相关推荐

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • 1Panel-dev
  • 🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • rulego
  • ⛓️Rulego es un marco de motor de regla de orquestación de componentes de alta generación de alto rendimiento, de alto rendimiento y de alto rendimiento para GO.

  • sigoden
  • Cree fácilmente herramientas y agentes de LLM utilizando funciones Plain Bash/JavaScript/Python.

  • hkr04
  • SDK liviano C ++ MCP (Protocolo de contexto del modelo)

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 Qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 DiFy 、 Claude 、 Gemini 、 Xai 、 PPIO 、 Ollama 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 Chatglm 、 SillyTraven 、 MCP 等 LLM 的机器人 / Agente | Plataforma de bots de mensajería instantánea basada en LLM, admite Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack

  • dmayboroda
  • Trapo conversacional local con contenedores configurables

  • modelscope
  • Iniciar aplicaciones de múltiples agentes empoderadas con Building LLM de manera más fácil.

  • paulwing
  • Un repositorio de pruebas creado con el servicio MCP

    Reviews

    3.8 (6)
    Avatar
    user_y8RpLtVb
    2025-04-24

    Mastra-docs-chatbot by adeniyii is an exceptional tool for anyone looking to streamline their document management and communication process. Its intuitive interface and robust features make it effortless to organize and retrieve documents while engaging in seamless chat conversations. This product is a must-have for professionals seeking efficiency and productivity. Highly recommended!

    Avatar
    user_wdCfQuHi
    2025-04-24

    Mastra-Docs-Chatbot by Adeniyii is an impressive tool! It provides seamless interaction and quick access to document-related queries. The user-friendly interface and efficient response time have significantly improved my workflow. Highly recommended for anyone needing a reliable document assistant!

    Avatar
    user_P33olbpw
    2025-04-24

    I've been using the mastra-docs-chatbot by adeniyii and it's fantastic! It provides seamless and accurate responses, making document handling so much easier. A truly helpful tool for anyone looking to streamline their workflow. Highly recommended!

    Avatar
    user_CeXKodJl
    2025-04-24

    Mastra-docs-chatbot by adeniyii is an exceptional tool for managing and navigating documents efficiently. It seamlessly integrates with various workflows, making document handling much easier and more convenient. Its user-friendly interface and reliable performance have significantly improved my productivity. Highly recommended for anyone in need of a robust document management solution!

    Avatar
    user_onaeQqcq
    2025-04-24

    I've been using the mastra-docs-chatbot by adeniyii and it's been a game-changer for managing my documents. The chatbot is incredibly intuitive and user-friendly, making it easy to find and organize my files with simple commands. I've noticed a significant increase in productivity since integrating it into my workflow. Highly recommend this product to anyone looking to streamline their document management process!

    Avatar
    user_qfJNaSSc
    2025-04-24

    Mastra-Docs-Chatbot by adeniyii is a cutting-edge tool that has transformed the way we interact with documents. The intuitive interface and seamless integration make it a breeze to extract and manage information. Highly recommended for anyone looking to enhance their productivity and streamline their documentation process!