Templates

Templates help you start from a known-good pattern and deploy quickly.

Browse templates

fold templates list

Inspect a template

fold templates get <name>

Deploy from a template

fold templates deploy <name>

After deploy, you’ll get a live URL on https://{tenant}.fold.run/{name} plus agent discovery endpoints like:

  • https://{tenant}.fold.run/.well-known/mcp
  • https://{tenant}.fold.run/.well-known/agent.json

Agent templates

Pre-built MCP tools designed for AI agents. Deploy any of these in one command:

Template Category Description
web-scraper mcp-tools Fetch a URL and extract clean text content
image-describer mcp-tools Describe an image from a URL using AI vision
calculator mcp-tools Safe math expression evaluator (no AI, deterministic)
web-search mcp-tools Search the web via AI-generated results
pdf-reader mcp-tools Extract text from a PDF URL
db-query data Natural language to SQL — ask questions about your data
email-sender integrations Send email via Resend (requires RESEND_API_KEY secret)
scheduler integrations Create cron schedules via the API (requires FOLD_API_KEY secret)
# Deploy the web scraper
fold templates deploy web-scraper

# Deploy the calculator
fold templates deploy calculator --name calc

Template categories

Category Description
mcp-tools AI-powered tools for agent integration
api REST APIs and backend services
integrations Service connectors and webhooks
data Storage, caching, data processing
monitoring Health checks, alerts, observability
general General-purpose templates

Agency-friendly patterns

If you’re delivering client work, templates that map well to common engagements include:

  • Webhook intake: verify signatures (secret), parse event, route to handler.
  • Scheduled report: cron job, fetch metrics, write output, send notifications.
  • Integration wrapper: small HTTP/MCP tool that wraps a third-party API with caching and rate limits.