Templated MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Templated MCP or direct API to generate images, create dynamic PDFs, render custom templates, and automate branded asset production through natural language.

Templated logoTemplated
Api Key

Templated is a platform for designing templates and automating the creation of images and PDFs via API. It lets you dynamically generate branded content and documents at scale.

30 Tools

Try Templated now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Templated
Try asking
TOOLS

Supported Tools

Every Templated action and event your agent gets out of the box.

Add Tags to Template

Tool to append new tags to an existing template without overwriting existing tags.

Clone Template

Tool to clone an existing template.

Count Template Clones

Tool to get the count of cloned templates for a specific source template.

Create Folder

Tool to create a new folder for organizing templates and renders.

Create Template Render

Create document renders from templates.

Create Template

Tool to create a new template with specified dimensions and layers.

Delete Folder

Tool to delete a folder by its ID.

Delete Render

Tool to delete a specific render by its ID.

Delete Template

Tool to delete a template by its unique ID.

Duplicate Template Render

Tool to duplicate an existing render with the same settings and template.

Get Account Information

Tool to retrieve account information, including email, name, team name, API usage statistics, and subscription plan.

List All Templates

Tool to list all templates of a user.

List Folder Renders

Tool to list all renders in a specific folder.

List Folders

Tool to list all folders in the account.

List Folder Templates

Tool to list all templates in a specific folder.

List Fonts

Tool to list all available fonts including Google Fonts and user-uploaded custom fonts.

List Gallery Templates

Tool to list templates from the public gallery.

List All Renders

Tool to list all renders in the account.

List Template Clones

Tool to list all cloned templates in the account.

List Template Renders

Tool to list all renders of a specific template.

List Uploads

Tool to list all uploaded images in the account.

Merge Template Renders

Tool to merge multiple renders into a single PDF output.

Move Render to Folder

Tool to move a render to a specific folder.

Move Template to Folder

Tool to move a template to a folder.

Remove Template Tags

Tool to remove specific tags from a template.

Retrieve Template Render

Tool to retrieve details of a specific render by its ID.

Retrieve Template

Tool to retrieve a single Template by its unique ID.

Update Folder

Tool to update an existing folder's properties.

Update Template

Tool to update an existing template including its properties and layers.

Update Template Tags

Tool to overwrite all tags on a template.

SETUP GUIDE

Connect Templated MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK and Claude Agent SDK
2

Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
Initialize the Composio client and create a Tool Router session
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'Generate an invoice PDF using template tpl_456 with customer data Jane Doe, amount $120.00' }],
  stopWhen: stepCountIs( 5 )
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent
SETUP GUIDE

Connect Templated API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Templated Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Generate an invoice PDF using template tpl_123 with customer name and total amount.'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Templated actions with your Agent

Why Use Composio?

AI Native Templated Integration

  • Supports both Templated MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Templated data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Templated access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Templated
  • Scoped, least privilege access to Templated resources
  • Full audit trail of agent actions to support review and compliance
FAQ

Frequently asked questions

Yes, Templated requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Templated.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Templated tool your agent needs.Free to start.

Start building