documents
API Template IO MCP, CLI, and Lua Integration for AI Agents
API Template IO integration docs for AI agents: MCP gateway setup, API Template IO CLI commands, Lua API reference, credentials, and function schemas.
5 functions 3 read 2 write API key auth
API Template IO for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
apitemplateio- route_slug
apitemplateio- package
apitemplateio- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. API Template IO CLIHeadless setup and direct function calls. API Template IO MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
API Template IO MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for API Template IO.
Claude Code API Template IO MCP setup for Claude Code. Cursor API Template IO MCP setup for Cursor. Codex API Template IO MCP setup for Codex. OpenAI Agents API Template IO MCP setup for OpenAI Agents SDK. Claude Agent SDK API Template IO MCP setup for Claude Agent SDK. Vercel AI SDK API Template IO MCP setup for Vercel AI SDK. LangChain API Template IO MCP setup for LangChain. LangGraph API Template IO MCP setup for LangGraph. CrewAI API Template IO MCP setup for CrewAI. MCP clients API Template IO MCP setup for Generic MCP Clients.
API Template IO CLI Matrix
Use these pages for direct API Template IO CLI workflows in scripts, CI, cron, and agent wrappers.
CI API Template IO CLI for CI. Cron Jobs API Template IO CLI for cron jobs. Shell Scripts API Template IO CLI for shell scripts. Headless Automation API Template IO CLI for headless automation. Coding Agents API Template IO CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
apitemplateio.apitemplateio_create_pdf | Write write | 5 | Generate a PDF document from an API Template IO template. Provide a template ID and the data to merge into the template. |
apitemplateio.apitemplateio_create_image | Write write | 6 | Generate an image (PNG or JPEG) from an API Template IO template. Provide a template ID, data, and the desired output format. |
apitemplateio.apitemplateio_list_templates | Read read | 3 | List available templates in API Template IO. Returns a paginated list of template IDs, names, and metadata. |
apitemplateio.apitemplateio_get_template | Read read | 1 | Get details for a specific API Template IO template by ID. Returns the template definition, schema, and configuration. |
apitemplateio.apitemplateio_get_current_user | Read read | 0 | Get the current authenticated user's account information from API Template IO, including usage and subscription details. |