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

@mastra/hono

Package Overview
Dependencies
Maintainers
7
Versions
816
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:

1.4.26
View campaign page

@mastra/hono

Mastra Hono adapter for the server

Source
npmnpm
Version
1.7.9
Version published
Weekly downloads
63K
22.29%
Maintainers
7
Weekly downloads
 
Created
Source

@mastra/hono

Hono server adapter for Mastra, enabling you to run Mastra with the Hono framework.

Installation

npm install @mastra/hono

Usage

import { Hono } from 'hono';
import { HonoBindings, HonoVariables, MastraServer } from '@mastra/hono';
import { mastra } from './mastra';

const app = new Hono<{ Bindings: HonoBindings; Variables: HonoVariables }>();
const server = new MastraServer({ app, mastra });

await server.init();

export default app;

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 15 Sep 2026

Related posts