Quick answer: Mockoon has no separate team workspace for local files. You share an environment by passing its JSON data file around, most reliably through a Git-tracked folder, or by copying the environment JSON to the clipboard. Real-time multi-user editing and cloud-hosted copies belong to paid Mockoon Cloud plans, where changes stay online and some sections resolve with last-write-wins behavior. For most engineering teams, Git is the default because every mock change gets a diff, review, and commit; cloud sync fits people editing the same mock live.

Compare the three sharing paths

Path What travels Review and history Best fit
Git-tracked data file One pretty-printed JSON file per environment in a repo folder Full diff, branch, pull request, and rollback Teams that review mock changes and run the CLI in CI
Clipboard JSON Environment or route JSON copied inside the app None until someone saves and commits it Quick handoff of one route or a small environment
Mockoon Cloud sync Cloud environment with a local copy on each client Synchronized copies, but not a Git-style review flow Live co-editing and cloud deployments on paid plans

A shared network folder also works because the file is ordinary JSON, but it removes the history and attribution that make a broken route change traceable. If the team already starts Mockoon in CI, the committed file is the same artifact the pipeline runs, so developer machines and automated tests read one source.

Make the Git workflow explicit

Use Show data file in explorer/finder to locate the environment JSON, then move it into the repository with Move data file to folder, or save new environments directly in that folder. Keep the default pretty-print setting enabled under Settings, because line-broken JSON is what keeps commits reviewable and reduces merge pain. A teammate opens the committed file with Open environment, and the same path goes to the CLI as mockoon-cli start -d ./mocks/store.json. Pin the desktop and CLI major versions together, since an older CLI cannot read a data file saved by a newer release.

One environment is still one large JSON document. Git merges changes on separate lines cleanly, but two edits to the same response body, rules list, or header block conflict as ordinary JSON and need a person to resolve them. A community transformer can split the file into a smaller file tree, but that adds a generation step and is outside the default workflow, so adopt it only when conflicts become frequent.

Know the cloud conflict boundary

Mockoon Cloud stores environments on its servers and keeps a local copy. A local environment stays on one machine until you duplicate it to the cloud, and a cloud environment can be converted back to local, which removes the cloud copy for connected users. Presence indicators show who is connected and editing. Collaboration is online only: offline editing is disabled, and reconnecting pulls the latest version.

The merge model is not real-time character merging. Different properties, added or reordered entities, and deletion of different entities can combine, while whole sections synchronize as one unit and overwrite as a block. The documented examples are the headers list, route-response rules and callbacks lists, and editor contents such as inline bodies and data buckets. Two people editing unrelated routes rarely collide; two people polishing the same response body can overwrite each other under last-write-wins. Coordinate those sections, or keep them in Git where a conflict is explicit instead of silently resolved.

Powerduck covers the verification side rather than shared mock hosting. Its desktop scenario runner sends an ordered request sequence, passes values from one response into later calls, and asserts status, headers, and fields at each step, then exports a self-contained HTML report that can be attached to a pull request. It does not synchronize mock definitions between teammates, so it complements the file workflow described in our comparison hub.

Frequently asked questions

Can multiple developers use the same Mockoon file? Yes, through Git. Each developer opens the same committed JSON locally and runs a separate mock process. They do not share one running server unless they deploy it or point clients at a shared host.

Is Mockoon Cloud required for a team? No. File-based sharing through Git or clipboard works without a paid plan. Cloud adds synchronized copies, presence, real-time collaboration, and deployment; the official docs describe multi-user editing on Team and Enterprise plans.

How are cloud conflicts resolved? Many separate property and entity changes combine, but whole lists and editors such as headers, rules, callbacks, and response bodies sync as a single block under last-write-wins. Avoid simultaneous edits to those sections.

Does the CLI read the shared file? Yes. mockoon-cli start -d <file> accepts the same native environment JSON the desktop app saves, so CI can start the exact committed mock.

The bottom line

Treat the Mockoon data file like application code: store it in Git, review changes, pin versions, and let CI start the same file. Choose cloud collaboration when two people genuinely edit one mock together and you accept block-level last-write-wins behavior. For reviewable history or reproducible pipeline runs, the repository is the safer shared configuration.