---
title: "Deploy From Template"
method: POST
path: "/api/snapshots/fork"
tags: ["Snapshots"]
---

# Deploy From Template

`POST /api/snapshots/fork`

## Request

- Base URL: `https://api.apitomcp.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.apitomcp.ai/api/snapshots/fork`
- Auth: none declared

Deploy MCP server from template

- Creates new MCP server with template configuration
- Merges user-provided credentials
- Tracks template usage

## Request body

- DeployFromTemplateRequest
  - `deploy_now` boolean
  - `template_id` string, uuid, required
  - `template_version_id` string, uuid, nullable
  - `template_channel` string
  - `server_name` string, required
  - `subdomain_prefix` string, nullable
  - `subdomain` string, nullable
  - `server_description` string, nullable
  - `custom_domain` string, nullable
  - `access_policy` string
  - `directory_visibility` string, nullable
  - `directory_mode` string, nullable
  - `logo_url` string, nullable
  - `logo_color` string, nullable
  - `credentials` object

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/apitomcp/apis/api-to-mcp-platform.md) - [All operations](https://skmtc.dev/apitomcp/apis/api-to-mcp-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/apitomcp/apis/api-to-mcp-platform/revisions/32569c7a994c?raw)
