Skip to main content
Glama

merge_fork

Merge content from a fork workspace into live pages, updating existing pages and creating new ones while detecting conflicts.

Instructions

Merge all pages in a fork workspace into live content. Requires admin role.

For each page in the fork:

  • If a matching live page exists (same URL): updates it with the fork content (fork wins). If the live page was edited after the fork was created, records a conflict but still merges.

  • If no live page exists at that URL: creates a new live page.

After merging, the fork status changes to "merged". Published live pages are regenerated immediately.

Returns: updated count, created count, any conflicts detected.

ALWAYS confirm with the user before merging, as this pushes changes to the live site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fork_idYesFork workspace ID to merge into live,required

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonradoff/lightcms'

If you have feedback or need assistance with the MCP directory API, please join our Discord server