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.
เซิร์ฟเวอร์ที่เกี่ยวข้อง
Alpha Vantage MCP Server
ผู้สนับสนุนAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Croft Laravel
A local MCP server for Laravel developers to boost productivity with artisan commands.
302AI Sandbox MCP Server
A code sandbox for AI assistants to safely execute arbitrary code. Requires a 302AI API key for authentication.
Chrome Debug MCP
This MCP allows you to record browser interactions with a chrome extension that include screenshots and console logs. The data is then saved to a local database that feeds the data to an AI system like claude code to search.
scan-mcp
Minimal MCP server for scanner capture (ADF/duplex/page-size), batching, and multipage assembly
Micromanage
A server for managing sequential development tasks with configurable rules using external .mdc files.
LambdaTest MCP Server
LambdaTest MCP Servers ranging from Accessibility, SmartUI, Automation, and HyperExecute allows you to connect AI assistants with your testing workflow, streamlining setup, analyzing failures, and generating fixes to speed up testing and improve efficiency.
Stability AI
Integrates with the Stability AI API for image generation, editing, and upscaling.
Diffchunk
Navigate large diff files with intelligent chunking and navigation tools.
MCP Invoice Express
An MCP server for integrating with the InvoiceExpress API.
AST2LLM for Go
A local AST-powered context enhancement tool for LLMs that analyzes Go project structure for faster context resolution.