SuperAPIAI Directory

Mastra/mcp

github.com · AI developer platforms

Mastra/mcp is the MCP support package in Mastra, a TypeScript framework for AI applications and agents, located in the packages/mcp directory of the mastra-ai/mastra repository. Built around the Model Context Protocol (MCP), an open standard, it helps AI agents connect to external tools and resources and serves as a general-purpose plugin system that enables agents to invoke tools across languages and hosting environments. Mastra can also be used to write MCP servers that expose agents, tools, and other structured resources through the MCP interface for access by any system or agent that supports the protocol. Usage requires providing an MCP server URL or a stdio command. Specific installation commands, version requirements, the full API, and configuration details are not yet provided.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Mastra is a modern TypeScript framework for AI applications and agents. Mastra/mcp is located in the packages/mcp directory of the mastra-ai/mastra repository and primarily concerns Mastra's support for the Model Context Protocol (MCP). MCP is an open standard for connecting AI agents with external tools and resources.

In terms of purpose, Mastra provides capabilities through MCP that resemble a general-purpose plugin system, enabling agents to invoke tools regardless of the language in which the tools are implemented or the hosting environment. At the same time, Mastra can also be used to write MCP servers that expose agents, tools, and other structured resources through the MCP interface for access by any system or agent that supports the protocol.

Key capabilities include: supporting MCP to connect external tools and resources; supporting exposing agents, tools, and structured resources as MCP server-side content; and enabling tool invocation and resource access across languages and hosting environments through the MCP interface.

In terms of usage, the materials state that an MCP server URL or a stdio command must be provided. The repository address is https://github.com/mastra-ai/mastra/tree/main/packages/mcp . The materials also mention that the @mastra/mcp documentation, the package changelog, and the community Discord can be consulted, but specific links to these resources are not provided.

Applicable scenarios include: integrating external tools and resources into TypeScript AI applications or agents; exposing agents, tools, or structured resources in Mastra to systems or agents that support MCP; and building MCP-based tool integrations across languages and hosting environments.

Regarding limitations, the available materials do not provide specific installation commands, version requirements, the full API, configuration examples, all supported transport methods, license, fees and pricing, platform compatibility scope, or descriptions of actual results; these are not yet provided.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools