mcpField
M
Mastra Docs Chatbot

Mastra Docs Chatbot

Local
mastra-docs-chatbot.vercel.appAI & Agents2Updated 70w ago

About Mastra Docs Chatbot

Mastra Docs Chatbot is a Next.js chat app using Mastra agents to answer questions about Mastra documentation, examples, and best practices. It searches documentation through MCP and supports streaming replies and conversation memory across sessions.

Key features

  1. 01Answer questions about Mastra documentation
  2. 02Search documentation through MCP
  3. 03Stream responses in real time
  4. 04Keep conversation memory across sessions
  5. 05Use Assistant UI components

Use cases

  1. 01Look up Mastra documentation
  2. 02Find code examples and best practices
  3. 03Continue documentation chats across sessions

MCP support

The app uses MCP integration with the Mastra docs server to search documentation, examples, blog posts, and package changelog information.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.