Mastra/mcp
offiziellClient 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.
Verwandte Server
Alpha Vantage MCP Server
SponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Android Tester MCP
Automate Android devices using the Gbox SDK.
Adios MCP
A remote MCP server deployable on Cloudflare Workers without authentication.
Refactory
Hybrid decomp tool — AI decides WHERE to split your monolith, deterministic engine COPIES the code. Minimize tokens, maximize syntax validity.
godoc-mcp-server
MCP server to provide golang packages and their information from pkg.go.dev
WordPress MCP
A Python MCP server for interacting with a local WordPress instance.
MCP Sandbox
Execute Python code and install packages safely within isolated Docker containers.
HAL (HTTP API Layer)
An MCP server that enables Large Language Models to make HTTP requests and interact with web APIs. It supports automatic tool generation from OpenAPI/Swagger specifications.
AGS Extend SDK MCP Server
An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .
MCP Server on Cloudflare
A template for deploying a remote MCP server on Cloudflare Workers without authentication.
WinCC Unified MCP XT
An MCP server for interfacing with SIEMENS WinCC Unified SCADA systems via their GraphQL API.