AI :: Agent :: Framework :: mastra :: Training :: Mastra 101
⪼ Made with 💜 by Polyglot.
Learn how to build agents
- Explained by Shane Thomas CPO of Mastra
- Led by an MCP Agent
- 4 Lessons and more soon
- 12 Hours to compete
- Interactive progress
In this hands-on course, you'll learn to develop and deploy AI agents using Mastra, including how to equip them with tools, memory, and MCP. But here's the twist: you're not just learning about agents, you're learning from one.
This course is delivered entirely inside your agentic code editor, where your code agent guides you step-by-step, writes code with you, and helps you build real, working agents from the ground up.
- Choose your editor and paste the command to install the mcp server automatically
- If you already have a Mastra project follow the instructions
- Type in Start Mastra Course in your editor to start the course
Edit
.cursor/mcp.jsonin your project root, or ~/.cursor/mcp.json for global configuration
npx create-mastra@latest --default -m cursor
{
"mcpServers": {
"mastra": {
"command": "npx",
"args": ["-y", "@mastra/mcp-docs-server"]
}
}
}
Edit
~/.codeium/windsurf/mcp_config.json(only supports global configuration)
npx create-mastra@latest --default -m windsurf
{
"mcpServers": {
"mastra": {
"command": "npx",
"args": ["-y", "@mastra/mcp-docs-server"]
}
}
}
Edit
~/.vscode/mcp.jsonin your project root. Add the following configuration
npx create-mastra@latest --default -m vscode
{
"servers": {
"mastra": {
"command": "npx",
"args": ["-y", "@mastra/mcp-docs-server"],
"type": "stdio"
}
}
}