Mastra MCP

First-class Model Context Protocol support — Mastra ships an MCP client for connecting to any MCP server and exposing its tools to agents, plus an MCP server implementation for publishing your own agents, workflows, and tools as MCP-callable capabilities. Includes a docs MCP server and a registry-of-registries.

Mastra MCP is one of 12 APIs that Mastra publishes on the APIs.io network.

Tagged areas include MCP, Model Context Protocol, and Tools. The published artifact set on APIs.io includes API documentation.

API entry from apis.yml

apis.yml Raw ↑
aid: mastra-ai:mastra-mcp
name: Mastra MCP
description: First-class Model Context Protocol support — Mastra ships an MCP client for connecting to
  any MCP server and exposing its tools to agents, plus an MCP server implementation for publishing your
  own agents, workflows, and tools as MCP-callable capabilities. Includes a docs MCP server and a registry-of-registries.
humanURL: https://mastra.ai/docs/mcp/overview
tags:
- MCP
- Model Context Protocol
- Tools
properties:
- type: Documentation
  url: https://mastra.ai/docs/mcp/overview
- type: SourceCode
  url: https://github.com/mastra-ai/mastra/tree/main/packages/mcp
- type: PackageManager
  url: https://www.npmjs.com/package/@mastra/mcp