mastra
From the team behind Gatsby, Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
claude mcp add --transport stdio mastra-ai-mastra npx -y @mastra/core
How to use
Mastra is a powerful framework designed for building AI-powered applications and agents using TypeScript. It provides a comprehensive set of tools that enable developers to create, tune, and scale reliable AI products. Key features include model routing to connect with over 40 AI providers, the ability to build autonomous agents that can reason and make decisions, and a graph-based workflow engine for orchestrating complex processes. Additionally, Mastra supports human-in-the-loop interactions, allowing for user input during agent execution, and offers context management to ensure agents behave coherently based on conversation history and memory.
How to install
To install Mastra, ensure you have Node.js installed on your machine. Then, run the following command to create a new Mastra project:
npm create mastra@latest
Follow the prompts to set up your project. For detailed installation instructions, refer to the Installation guide.
Additional notes
When working with Mastra, it's important to familiarize yourself with its documentation and available templates to maximize your productivity. Common issues may arise from version mismatches or missing dependencies, so ensure your Node.js environment is up to date. Additionally, consider joining the community Discord for support and collaboration opportunities.
Related MCP Servers
mcp-agent
Build effective agents using Model Context Protocol and simple workflow patterns
voltagent
AI Agent Engineering Platform built on an Open Source TypeScript AI Agent Framework
sdk-typescript
A model-driven approach to building AI agents in just a few lines of code.
aser
Aser is a lightweight, self-assembling AI Agent frame.
AutoDocs
We handle what engineers and IDEs won't: generating and maintaining technical documentation for your codebase, while also providing search with dependency-aware context to help your AI tools understand your codebase and its conventions.
neurolink
Universal AI Development Platform with MCP server integration, multi-provider support, and professional CLI. Build, test, and deploy AI applications with multiple ai providers.