# Template Name

Brief description of what the template demonstrates.

## Overview

Detailed explanation of the template's functionality and use case.

## Setup

1. Copy `.env.example` to `.env` and fill in your API keys
2. Install dependencies: `npm install`
3. Run the project: `npm run dev`

## Environment Variables

- `OPENAI_API_KEY`: Your OpenAI API key. Get one at [OpenAI Platform](https://platform.openai.com/api-keys)
- `ANTHROPIC_API_KEY`: Your Anthropic API key. Get one at [Anthropic Console](https://console.anthropic.com/settings/keys)
- `GOOGLE_GENERATIVE_AI_API_KEY`: Your Google AI API key. Get one at [Google AI Studio](https://makersuite.google.com/app/apikey)
- `OTHER_API_KEY`: Description of what this key is for

## Usage

Instructions on how to use the template and examples of expected behavior.

## Customization

Guidelines for modifying the template for different use cases.
```

#### Code Comments

Include clear comments explaining:

- Complex logic or algorithms
- API integrations and their purpose
- Configuration options and their effects
- Example usage patterns

### Quality Standards

Templates must demonstrate:

- **Code quality** - Clean, well-commented, maintainable code
- **Error handling** - Proper handling for external APIs and user inputs
- **Type safety** - Full TypeScript typing with Zod validation
- **Testing** - Verified functionality with fresh installations

For information on contributing your own templates to the Mastra ecosystem, see the [Contributing Templates](/docs/community/contributing-templates) guide in the community section.

:::info

Templates provide an excellent way to learn Mastra patterns and accelerate development. Contributing templates helps the entire community build better AI applications.

:::


---
title: "Reference: MastraMCPClient (Deprecated) | Tools & MCP"
description: API Reference for MastraMCPClient - A client implementation for the Model Context Protocol.
---