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 Integration for AI Agents
Overview
MCP (Model Context Protocol) tools enable AI assistants like Claude to generate PDFs through natural conversation. Connect your AI agents to use your custom templates for intelligent document creation.Benefits of Template-First MCP Integration
- Custom Template Usage: AI agents use your specific template names
- Intelligent Data Collection: AI guides users to provide the right information
- Professional Output: Your custom templates ensure consistent, polished documents
- No HTML Generation: AI works with structured data, not markup
- Brand Consistency: All documents use your custom designs and branding
Setting Up MCP Tools
For Claude Desktop
Add Custom Connector
Click “Add custom connector” and configure the following:
- Name:
Peedief - Remote MCP server URL:
https://peedief.com/api/mcp
Authenticate
You’ll be prompted to login with your Peedief account credentials to authorize the connection
For n8n
Generate an API Key
First, you’ll need to create an API key for authentication:
- Login to https://peedief.com/app/sign-in
- Go to API Keys section
- Click “Create API Key”
- Name your API key (e.g., “n8n Integration”)
- Hit “Create API Key”
- Copy the API key and store it securely
Create Header Auth Credential
In the credential creation dialog:
- Name:
x-api-key - Value:
YOUR_API_KEY(paste your API key from step 1) - Click “Save and Close”
Using MCP Tools
Once configured, AI agents can generate PDFs using specific template names through natural conversation.Template Name Workflow
Using Your Custom Template Names:Template-Based PDF Generation
Certificate Generation with Your Template:Advanced Template Usage
Invoice Generation with Your Template:Multi-Template Workflows
Report Generation with Multiple Templates:MCP Tool Capabilities
The Peedief MCP tools enable AI agents to:Template Usage
Use your custom template names for document generation
Data Collection
AI gathers required information through conversation
Data Validation
Validate user input against template schemas
PDF Generation
Generate professional PDFs from structured data
Error Handling
Graceful handling of missing or invalid data
Usage Tracking
Monitor API usage and generation limits
Supported AI Assistants
Claude Desktop
- ✅ Full support with native MCP integration
- ✅ Easy setup through settings menu
- ✅ Automatic updates for tool improvements
Other MCP-Compatible Clients
- ✅ Any client supporting MCP protocol
- ✅ Custom authentication setup
- ✅ Standard MCP tool interface
While Claude Desktop is the primary supported platform, any MCP-compatible AI client can use Peedief tools with proper configuration.
Troubleshooting MCP Setup
Common Issues
“Tool not found” Error:- Verify MCP server configuration is correct
- Check that your API key is valid
- Restart Claude Desktop after configuration changes
- Confirm API key has sufficient permissions
- Check if your API key has expired
- Verify the key is correctly set in environment variables
- Ensure your account has remaining PDF credits
- Check if HTML content is valid
- Verify network connectivity to Peedief servers
Getting Help
MCP Documentation
Learn more about the MCP protocol
Claude Desktop Setup
Download and configure Claude Desktop
Usage Limits
Monitor your usage in the dashboard to avoid hitting limits during AI conversations.Next Steps
Try It Out
Set up MCP tools with your AI assistant and start generating PDFs through natural conversation. The integration makes PDF creation seamless and intuitive!