Mastra Docs Chatbot

by adeniyii

2 stars
200 downloads
Not rated
GitHub Website

About

Mastra Docs Chatbot is a Next.js application that uses Mastra agents with Model Context Protocol (MCP) integration to provide a chat interface for answering questions about Mastra documentation, code examples, and best practices. It is designed for developers and users of Mastra…

Details

Author
adeniyii
GitHub stars
2
Downloads
200
Categories
AI

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

Clone the repository, install dependencies with npm install or pnpm install, configure a .env.local file with your OpenAI API key, then run npm run dev or pnpm dev and open http://localhost:3000. The homepage features the Docs Agent, which answers questions about Mastra documentation and maintains conversation history across sessions.

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

2. Install dependencies:

```bash
npm install

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.