> ## Documentation Index
> Fetch the complete documentation index at: https://docs.peedief.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Tools Reference

> Complete reference for Peedief MCP tools and AI agent integration

# MCP Tools Reference

## Overview

Peedief offers MCP (Model Context Protocol) tools alongside direct API access. The MCP tools enable AI agents to generate documents through natural conversation, while the direct API provides programmatic control for developers.

## How It Works

### 1. MCP Integration

AI agents (like Claude Desktop) connect to the Peedief MCP server to access document generation capabilities.

### 2. Natural Language Interface

Users interact with AI agents using natural language to request document generation:

```
User: "Create a certificate for John Smith completing Python course"
AI: [Uses Peedief MCP tool to generate professional certificate]
```

### 3. Template-Based Generation

The MCP tools use pre-built professional templates to generate documents:

* **Certificates**: Course completion, training, achievements
* **Invoices**: Professional billing with calculations
* **Reports**: Business reports with data and charts
* **Letters**: Business correspondence and legal documents

## Available MCP Tools

### Document Generation Tool

* **Function**: Generate PDFs from your custom templates and structured data
* **Input**: Your template ID and document data
* **Output**: Professional PDF download link

### Template Management

* **Requirement**: Users must create templates in Peedief dashboard first
* **Template IDs**: Each template gets a unique ID for MCP tool usage
* **Custom Design**: Templates use your own layouts, branding, and formatting

## MCP Tool Capabilities

<CardGroup cols={2}>
  <Card title="Template Usage" icon="file-text">
    AI uses your specific template IDs as instructed
  </Card>

  <Card title="Data Collection" icon="database">
    AI gathers required information through conversation
  </Card>

  <Card title="Professional Output" icon="award">
    Templates ensure consistent, polished documents
  </Card>

  <Card title="Error Handling" icon="shield">
    Graceful handling of missing or invalid data
  </Card>
</CardGroup>

## Supported AI Platforms

### Claude Desktop

* ✅ **Full MCP support** with native integration
* ✅ **Easy setup** through MCP configuration
* ✅ **Natural conversation** for document requests

### Other MCP-Compatible Clients

* ✅ Any AI client supporting MCP protocol
* ✅ Standard MCP tool interface
* ✅ Consistent functionality across platforms

## Getting Started

1. **Create templates** in your Peedief dashboard
2. **Set up MCP integration** with your AI client
3. **Authenticate** with your Peedief account
4. **Generate documents** using your template IDs through AI conversation

<Card title="Setup Guide">
  Follow our detailed [MCP Tools setup guide](/mcp-tools) to configure Peedief with your AI assistant.
</Card>

## Alternative Integration Methods

<Info>
  While MCP tools provide an intuitive AI-powered interface, Peedief also offers direct REST APIs for traditional programmatic integration. Choose the method that best fits your workflow:

  * **MCP Tools**: For AI-powered document generation through conversation
  * **REST API**: For direct programmatic control and automation
</Info>

See our [API Reference](/api-reference/introduction) for complete REST API documentation.
