User Guide
For everyone generating documents with AI
Admin Guide
For IT admins setting up the integration
Learn how to generate documents, presentations, and spreadsheets from your Templafy document agents using AI.
For everyone generating documents with AI
For IT admins setting up the integration
Everything you need to know about creating documents, presentations, and spreadsheets from your Templafy document agents using AI.
The Templafy MCP Server connects your AI assistant to your organization's Templafy document agents. Instead of opening Templafy, picking an agent, and filling in questions manually, you can simply ask your AI assistant to do it for you in a conversation.
Before you can start, your IT admin needs to register your organization. The quickest way is through the self-service setup page. Once that's done, you just sign in with your Microsoft work account when your AI assistant prompts you.
The setup depends on which AI assistant you use. In every case, you'll sign in with your Microsoft work account when prompted.
Claude.ai connects to the Templafy MCP Server through its built-in Connectors feature. Available on Pro, Max, Team, and Enterprise plans.
Templafyhttps://mcp.templatemanagement.nl/mcpIn Claude Desktop, you can add the MCP server through the app settings.
claude_desktop_config.json{
"mcpServers": {
"templafy": {
"type": "http",
"url": "https://mcp.templatemanagement.nl/mcp"
}
}
}
Add a .mcp.json file in your project root:
{
"mcpServers": {
"templafy": {
"type": "http",
"url": "https://mcp.templatemanagement.nl/mcp"
}
}
}
ChatGPT supports remote MCP servers through its Connectors feature. Available on Pro, Team, Enterprise, and Edu plans.
https://mcp.templatemanagement.nl/mcpIn the Gemini web app, you can add a custom MCP connector.
https://mcp.templatemanagement.nl/mcpFor Gemini CLI, add to ~/.gemini/settings.json:
{
"mcpServers": {
"templafy": {
"httpUrl": "https://mcp.templatemanagement.nl/mcp",
"timeout": 360000
}
}
}
Perplexity supports remote MCP connectors on Pro, Max, and Enterprise plans. The Templafy server auto-detects Perplexity and adapts every tool response to the text-only envelope Perplexity expects — no extra configuration required.
Templafyhttps://mcp.templatemanagement.nl/mcpjobId immediately and the model polls check_generation until the file is ready — you'll see download links appear once generation completes.
Once connected, your AI assistant has access to these tools:
| Tool | What it does | Try saying |
|---|---|---|
find_document_agent |
Finds document agents matching your description (with preview images) | "Find an agent for sales quotes" |
document_agent_questions |
Shows which questions an agent needs answered | "What questions does this quote agent need?" |
generate_document |
Creates a document with your values filled in | "Generate a quote for Acme Corp" |
list_tenants |
Shows which Templafy environments you can access | "Which Templafy tenants are available?" |
switch_tenant |
Switches to a different Templafy environment | "Switch to the demo tenant" |
generate_ai_presentation |
Creates an AI-powered presentation from scratch — describe your topic and the AI builds the slides | "Create a presentation about our Q3 results" |
Here's a typical conversation for creating a document:
You: "Create a quote for Acme Corporation"
AI: I found a "Sales Quote" agent. I'll need a few details:
- Contact person
- Quote date
- Valid until
- Line items (product, quantity, price)
What are the details?
You: "Contact is Jane Smith, date is today, valid 30 days.
Items: 10x Widget Pro at $49.99, 5x Widget Basic at $19.99"
AI: Generating your Sales Quote... done!
Here's your document: [Download link]
| Issue | What to do |
|---|---|
| Sign-in keeps appearing | Your session may have expired. Sign in again and make sure pop-ups are allowed for your AI client. |
| "Organization not registered" | Your organization hasn't been connected yet. Ask your IT admin to set it up using the self-service setup page. |
| No agents found | Try different search terms. If you have multiple Templafy tenants, check you're on the right one by asking "Which tenants are available?" |
| Generation is slow | Complex agents with many pages can take a few minutes. You'll see progress updates along the way. |
| Download link doesn't work | Links expire after 1 hour. Simply generate the document again to get a fresh link. |
How to connect your organization's Templafy environment to the MCP Server so your team can generate documents with AI.
Before you start, make sure you have the following:
| Item | Where to find it |
|---|---|
| Templafy tenant name | The subdomain from your Templafy URL (e.g., acme from https://acme.templafy.com) |
| Templafy Public API key | Templafy Admin → Integrations → Service API Keys |
The fastest way to connect your organization is through the self-service setup page. No technical knowledge required.
acme)The server automatically detects your organization's Entra ID tenant from your sign-in. If the Templafy tenant name is valid (acme.templafy.com and acme.hive.templafy.com must be reachable), you're all set.
Once your organization is registered, set up AI clients for your team.
Claude.ai uses an OAuth flow to authenticate users. You can add the connector directly — no extra app registration needed.
Templafy) and the URL: https://mcp.templatemanagement.nl/mcpUsers will sign in with their Microsoft work account when they first use a Templafy tool. This also works on Claude for mobile (iOS and Android).
Users can add the server through Claude Desktop's settings:
See the User Guide for the exact JSON configuration.
ChatGPT supports remote MCP servers through Connectors. Available on Pro, Team, Enterprise, and Edu plans.
https://mcp.templatemanagement.nl/mcpIn the Gemini web app, add a custom connector from the Tools menu. Enter the server URL and enable OAuth authentication. For Gemini CLI, see the User Guide.
Perplexity supports remote MCP connectors on Pro, Max, and Enterprise plans.
Templafy) and the URL: https://mcp.templatemanagement.nl/mcpThe server auto-detects Perplexity and adapts responses to the plain-text envelope Perplexity expects. Long-running AI presentations use an async polling pattern automatically — no configuration needed.
If your organization uses more than one Templafy environment (for example, a production tenant and a demo tenant), you can register them all. Users switch between them by asking their AI assistant "Switch to the [name] tenant."
The MCP Server is designed with security in mind:
For automation or bulk operations, you can also manage organizations programmatically using the Admin API. This requires an API key provided by the MCP Server operator.
| Action | Method | Endpoint |
|---|---|---|
| Register organization | POST | /api/admin/organizations |
| List organizations | GET | /api/admin/organizations |
| Update organization | PUT | /api/admin/organizations/{key} |
| Remove organization | DELETE | /api/admin/organizations/{key} |
# Register via API
curl -X POST https://mcp.templatemanagement.nl/api/admin/organizations \
-H "Content-Type: application/json" \
-H "X-Api-Key: YOUR_ADMIN_API_KEY" \
-d '{
"entraTenantId": "your-entra-tenant-id",
"templafyTenantId": "acme",
"templafyApiKey": "your-templafy-public-api-key",
"displayName": "ACME"
}'