The import/export tools provide a complete migration and backup workflow for Paperclip company data. Export packages up a company’s configuration — agents, projects, issues, skills — into a portable bundle of files. Import takes that bundle (or one from a GitHub repository) and either previews the changes it would make without touching anything, or applies them to a target company. The recommended workflow is always: export → preview → apply. Preview is non-mutating and generates theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/bruhsb/paperclip-mcp/llms.txt
Use this file to discover all available pages before exploring further.
adapterOverrides object you pass to the apply step.
Export Company
Package company data into a portable bundle
Preview Import
Validate import changes without applying them
Apply Import
Apply a validated import bundle to a company
paperclip_export_company
Export a company’s configuration as a structured bundle of files. The bundle includes selected resource types — company metadata, agent configurations, projects, issues, and skills — and can be used as the source for a subsequent import.Company UUID to export.
Controls which resource types are included in the export bundle. All fields are booleans with the following defaults:
| Field | Default | Description |
|---|---|---|
company | true | Include the company metadata file (COMPANY.md) |
agents | true | Include all agent configuration files |
projects | false | Include project records |
issues | false | Include issue records |
skills | false | Include company skill definitions |
Filter the export to specific skill IDs. Omit to include all skills (when
include.skills is true).Filter the export to specific project IDs. Omit to include all projects.
Filter the export to specific issue IDs. Omit to include all issues.
Project IDs whose issues should be included in the export, regardless of the
issues filter.When
true, transitive skill references are resolved and added to the export bundle automatically.{ rootPath, manifest, files (map of path → content), paperclipExtensionPath, warnings }. The files map can be very large — the response is truncated at 25,000 characters. Use narrower include flags or ID filters to reduce bundle size.
Usage notes:
- Use to create a portable snapshot of a company’s configuration for backup, migration, or cloning.
- Enable
include.projectsandinclude.issuesonly when you need to migrate data beyond agent configuration. - To apply the exported bundle to another company, follow up with
paperclip_preview_company_importthenpaperclip_apply_company_import.
| Code | Meaning | Resolution |
|---|---|---|
| 401 | Authentication failed | Check PAPERCLIP_API_KEY |
| 403 | Board key required | This endpoint requires board-level authentication |
| 404 | Company not found | Verify the ID with paperclip_list_companies |
paperclip_preview_company_import
Preview what a company import would change — without applying any changes. The preview report shows which agents, projects, issues, and skills would be inserted or updated, along with any warnings and theadapterOverrides object you should pass to the apply step.
The preview is non-mutating — no records are created, updated, or deleted. It is safe to call repeatedly as you refine your import parameters.
Target company UUID for the import preview. Must match
target.companyId.Bundle source — one of two shapes:Inline bundle (
type: "inline"):rootPath(string) — Root path key of the bundle (e.g.my-company)files(object) — Map of relative file paths to their string contents
type: "github"):url(string) — GitHub repository URL (e.g.https://github.com/org/repo)
Which resource types to consider during the preview:
company, agents, projects, issues, skills (booleans).Import destination:
{ mode: "existing_company" | "new_company", companyId: string }. The companyId must match the top-level companyId parameter.Which agents to import. Use
"all" (default) or an array of agent URL keys to import a subset.How to handle name/key collisions with existing records:
rename(default) — Append a suffix to the incoming nameskip— Leave the existing record unchangedreplace— Overwrite the existing record
Subset of file paths from the bundle to process. Omit to process all files in the bundle.
{ source, target, agents, projects, issues, skills, warnings, adapterOverrides }. Non-mutating — no changes are applied. The adapterOverrides field from this response should be passed directly to paperclip_apply_company_import.
Usage notes:
- Always run preview before apply. The preview confirms which records will change and surfaces any conflicts.
- Copy the
adapterOverridesfrom the preview response into the apply call to ensure adapters are configured correctly. - Use
selectedFilesto focus on a subset of the bundle when troubleshooting specific file conflicts.
| Code | Meaning | Resolution |
|---|---|---|
| 400 | Invalid bundle | Check source files and rootPath |
| 401 | Authentication failed | Check PAPERCLIP_API_KEY |
| 403 | Board key required | This endpoint requires board-level authentication |
| 404 | Company not found | Verify the ID with paperclip_list_companies |
paperclip_apply_company_import
Apply a company import bundle to a target company. This is the final step of the import workflow — always runpaperclip_preview_company_import first and pass the returned adapterOverrides here.
Target company UUID to apply the import into. Must match
target.companyId.Bundle source — same shape as preview:
{ type: "inline", rootPath, files } or { type: "github", url }.Which resource types to apply:
company, agents, projects, issues, skills (booleans).Import destination:
{ mode: "existing_company" | "new_company", companyId: string }. Must match top-level companyId.Which agents to import.
"all" (default) or an array of agent URL keys.Collision handling strategy — must match the strategy used during preview:
rename (default), skip, or replace.Subset of file paths from the bundle to apply. Omit to apply all files.
Adapter-specific overrides map from the preview step. Pass the
adapterOverrides value returned by paperclip_preview_company_import directly here to ensure adapters are configured consistently.{ insertedAgents, insertedProjects, insertedIssues, insertedSkills, warnings }.
Usage notes:
- Always run
paperclip_preview_company_importfirst and review the preview report before calling this tool. - Pass the
adapterOverridesfrom the preview response to ensure the same adapter configuration is used during apply. - If a 409 conflict error is returned, adjust
collisionStrategyand preview again before retrying.
| Code | Meaning | Resolution |
|---|---|---|
| 400 | Invalid bundle | Verify source files are well-formed |
| 401 | Authentication failed | Check PAPERCLIP_API_KEY |
| 403 | Board key required | This endpoint requires board-level authentication |
| 404 | Company not found | Verify the ID with paperclip_list_companies |
| 409 | Conflict not resolvable | Try a different collisionStrategy and preview again |