
mastra docs chatbot
test chatbot using mastra's mcp docs server
Repository Info
About This Server
test chatbot using mastra's mcp docs server
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Mastra Docs Chatbot
A Next.js application that uses Mastra agents to provide a chat interface for interacting with:
- 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
- Clone the repository:
git clone <repository-url>
cd mastra-docs-chatbot
- Install dependencies:
npm install
# or
pnpm install
- Configure environment variables:
Create a
.env.localfile with your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
- Run the development server:
npm run dev
# or
pnpm dev
- 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.
Quick Start
Clone the repository
git clone https://github.com/adeniyii/mastra-docs-chatbotInstall dependencies
cd mastra-docs-chatbot
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.