New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@mastra/editor

Package Overview
Dependencies
Maintainers
7
Versions
499
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
This package has malicious versions linked to the ongoing "Mastra AI framework compromise" supply chain attack.

Affected versions:

0.11.3
View campaign page

@mastra/editor

Mastra Editor for agent management and instantiation

Source
npmnpm
Version
0.14.5-alpha.1
Version published
Weekly downloads
66K
-3.53%
Maintainers
7
Weekly downloads
 
Created
Source

@mastra/editor

The data and provider layer behind Mastra Studio editing experiences. It manages agents, prompts, scorers, MCP servers, workspaces, skills, and favorites across code and storage sources.

Installation

npm install @mastra/editor

Usage

Pass the editor to your Mastra instance to enable Studio editing, versioning, prompt blocks, and agent code overrides.

import { Mastra } from '@mastra/core/mastra';
import { MastraEditor } from '@mastra/editor';

export const mastra = new Mastra({
  editor: new MastraEditor(),
});

Documentation

  • @mastra/editor documentation

Changelog

See the package changelog for version history and release notes.

Support

We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.

FAQs

Package last updated on 09 Sep 2026

Related posts