shuntaka9576
MCP Servershuntaka9576public

nextjs mastra sample template

一个基于 Next.js 和 Mastra 的示例项目模板,用于快速启动开发。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
TypeScript
Language
-
License

About This Server

一个基于 Next.js 和 Mastra 的示例项目模板,用于快速启动开发。

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

$ npx create-next-app@latest
✔ What is your project named? … nextjs-mastra-sample
✔ Would you like to use TypeScript? … No / Yes
✔ Would you like to use ESLint? … No / Yes
✔ Would you like to use Tailwind CSS? … No / Yes
✔ Would you like your code inside a `src/` directory? … No / Yes
✔ Would you like to use App Router? (recommended) … No / Yes
✔ Would you like to use Turbopack for `next dev`? … No / Yes
✔ Would you like to customize the import alias (`@/*` by default)? … No / Yes
Creating a new Next.js app in /Users/shuntaka/repos/github.com/shuntaka9576/nextjs-mastra-sample.

Using npm.

Initializing project with template: app-tw


Installing dependencies:
- react
- react-dom
- next

Installing devDependencies:
- typescript
- @types/node
- @types/react
- @types/react-dom
- @tailwindcss/postcss
- tailwindcss


added 48 packages, and audited 49 packages in 13s

10 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Initialized a git repository.

Success! Created nextjs-mastra-sample at /Users/shuntaka/repos/github.com/shuntaka9576/nextjs-mastra-sample
cd nextjs-mastra-sample
❯ npx mastra@latest init
◇  You do not have the @mastra/core package installed. Would you like to install it?
│  Yes
⠼ Installing Mastra core dependencies

removed 1 package, and audited 436 packages in 3s

48 packages are looking for funding
  run `npm fund` for details

✔ @mastra/core installed successfully
┌  Mastra Init
◇  Where should we create the Mastra files? (default: src/)
│  /
◇  Choose components to install:
│  Agents
◇  Add tools?
│  Yes
◇  Select default provider:
│  OpenAI
◇  Enter your openai API key?
│  Skip for now
◇  Add example
│  Yes
◇  Make your AI IDE into a Mastra expert? (installs Mastra docs MCP server)
│  Cursor
│  Note: you will need to go into Cursor Settings -> MCP Settings and manually enable the installed Mastra MCP server.
◇   ─────────────────────────────────────────────────────────╮
│                                                            │
│                                                            │
│        Mastra initialized successfully!│                                                            │
│        Add your OPENAI_API_KEY as an environment variable  │
in your .env.development file│                                                            │
│                                                            │
├────────────────────────────────────────────────────────────╯

Quick Start

1

Clone the repository

git clone https://github.com/shuntaka9576/nextjs-mastra-sample-template
2

Install dependencies

cd nextjs-mastra-sample-template
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownershuntaka9576
Reponextjs-mastra-sample-template
LanguageTypeScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation