Mastra/mcp
Client implementation for Mastra, providing seamless integration with MCP-compatible AI models and tools.
@mastra/mcp
Mastra supports the Model Context Protocol (MCP), an open standard for connecting AI agents to external tools and resources. It serves as a universal plugin system, enabling agents to call tools regardless of language or hosting environment.
Mastra can also be used to author MCP servers, exposing agents, tools, and other structured resources via the MCP interface. These can then be accessed by any system or agent that supports the protocol.
Installation
To use MCP, install the required dependency:
npm install @mastra/mcp@latest
Overview
Mastra currently supports two MCP classes:
MCPClient: Connects to one or many MCP servers to access their tools, resources, prompts, and handle elicitation requests.MCPServer: Exposes Mastra tools, agents, workflows, prompts, and resources to MCP-compatible clients.
Read the official MCP documentation to learn more.
관련 서버
Scout Monitoring MCP
스폰서Put performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
스폰서Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Zeropath
Interact with the Zeropath vulnerability management API.
Game Asset Generator
Generate 2D and 3D game assets using AI models hosted on Hugging Face Spaces.
Brain
Adaptive error memory & code intelligence MCP server with Hebbian synapse network, cross-project learning, and auto-error detection
llm-mcp
A Ruby gem for integrating Large Language Models (LLMs) via the Model Context Protocol (MCP) into development workflows.
Creatify
MCP Server that exposes Creatify AI API capabilities for AI video generation, including avatar videos, URL-to-video conversion, text-to-speech, and AI-powered editing tools.
MCP Terminal
An MCP server for accessing the terminal and managing git repositories.
Norce Assistant
Provides AI-powered knowledge and code examples for Norce Commerce development directly in your preferred AI environment.
Decoupler MCP
A natural language interface for biological activities analysis using the decoupler tool.
DocsetMCP
A server for accessing Dash-style documentation sets locally. Requires a local Dash installation.
Rollbar
Access Rollbar project data for error monitoring and debugging.