constructor-research-mcp
v0.6.5Local deployment MCP for Constructor Research
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
build_image
Build a disk Dockerfile. IDs are generated automatically; omit build storage for the default. Waits up to wait_seconds (default 20), then continues in the background. Check get_deployment for the result. The Dockerfile rules in deploy_app apply.
| Parameter | Type | Description |
|---|---|---|
dockerfile * | string | |
name * | string | |
desk_id | string | |
desk_url | string | Link to the Constructor desk the user copied from the browser, e.g. https://constructor.app/research/projects/<project>/desks/<desk>/viewer/file. Supplies project_id and desk_id. With project_id alone… |
ephemeral_build_disk_size_gb | integer | Omit to use the API default (50 GB). Overrides must be 10–1000 GB. |
project_id | string | |
request_id | string | Optional retry key. Omit it: the MCP generates deployment IDs automatically. |
wait_seconds | number | Wait up to this many seconds for completion; execution continues in the MCP after the response. |
list_images
List images with native build statuses and Dockerfile paths. Optionally filter by disk. Compact results by default; detailed=true returns full image records.
| Parameter | Type | Description |
|---|---|---|
desk_id | string | |
desk_url | string | Link to the Constructor desk the user copied from the browser, e.g. https://constructor.app/research/projects/<project>/desks/<desk>/viewer/file. Supplies project_id and desk_id. With project_id alone… |
detailed | boolean | |
project_id | string |
list_files
List files and folders on a project disk (the Constructor desk's project folder). Non-recursive by default; recursive=true walks subfolders up to max_entries.
| Parameter | Type | Description |
|---|---|---|
desk_id | string | |
desk_url | string | Link to the Constructor desk the user copied from the browser, e.g. https://constructor.app/research/projects/<project>/desks/<desk>/viewer/file. Supplies project_id and desk_id. With project_id alone… |
max_entries | integer | |
path | string | Folder on the disk; '' is the root. |
project_id | string | |
recursive | boolean |
create_folder
Create a folder on a project disk, including missing parent folders. Existing folders are left unchanged.
| Parameter | Type | Description |
|---|---|---|
path * | string | Folder to create; missing parent folders are created too. |
desk_id | string | |
desk_url | string | Link to the Constructor desk the user copied from the browser, e.g. https://constructor.app/research/projects/<project>/desks/<desk>/viewer/file. Supplies project_id and desk_id. With project_id alone… |
project_id | string |
sync_files
Upload a local file or folder to a project disk. Compares by size and SHA-256 and sends only new and changed files; never deletes. New files and folders upload without asking. If existing files would be replaced, nothing is uploaded and status is confirm_required: ask the user once for the whole list, then repeat with confirm=true. dry_run=true only previews. Skips .git, node_modules, .env, .venv, __pycache__, .DS_Store and files over 100 MB. If the result is in_progress, repeat the same call to continue.
| Parameter | Type | Description |
|---|---|---|
local_path * | string | Absolute local file or folder. A folder's contents go into remote_path. |
confirm | boolean | Needed only when existing files would be replaced: the first call returns the list for the user to approve once; repeat with confirm=true. |
desk_id | string | |
desk_url | string | Link to the Constructor desk the user copied from the browser, e.g. https://constructor.app/research/projects/<project>/desks/<desk>/viewer/file. Supplies project_id and desk_id. With project_id alone… |
dry_run | boolean | true only reports the plan, without uploading. |
exclude | array | Extra names or '*' patterns to skip, matched against file names and relative paths. |
project_id | string | |
remote_path | string | Destination folder on the disk; '' is the root. |
move_path
Rename or move files/folders on a project disk. Send every move for the request in one call: without confirm it returns the list (confirm_required) for the user to approve once; repeat with confirm=true. Never overwrites; the destination parent folder must exist.
| Parameter | Type | Description |
|---|---|---|
moves * | array | All renames/moves for this request, approved together. |
confirm | boolean | false (default) returns the full list for the user to approve once; true performs it. |
desk_id | string | |
desk_url | string | Link to the Constructor desk the user copied from the browser, e.g. https://constructor.app/research/projects/<project>/desks/<desk>/viewer/file. Supplies project_id and desk_id. With project_id alone… |
project_id | string |
delete_path
Delete files/folders (folders with all contents) on a project disk. Send every path for the request in one call: without confirm it returns what would be deleted (confirm_required) for the user to approve once; repeat with confirm=true. Cannot be undone.
| Parameter | Type | Description |
|---|---|---|
paths * | array | All files/folders to delete for this request, approved together. Folders are deleted with all contents. |
confirm | boolean | false (default) returns the full list for the user to approve once; true performs it. |
desk_id | string | |
desk_url | string | Link to the Constructor desk the user copied from the browser, e.g. https://constructor.app/research/projects/<project>/desks/<desk>/viewer/file. Supplies project_id and desk_id. With project_id alone… |
project_id | string |
deploy_app
Deploy the WHOLE app in one request: prepare project/disk, build or reuse all images, resolve internal/public service references, configure and start. Runs in the background. IDs are automatic. To resume a failure, send deployment_id and service overrides (for example replacement image_id); successful builds are preserved. On failure, failure.log_tail and get_logs show what the build or service printed. Dockerfile rules: one Dockerfile per service named Dockerfile or <name>.dockerfile; docker-compose is not supported. The Dockerfile must build everything itself; no separate setup script the us…
| Parameter | Type | Description |
|---|---|---|
application_name | string | |
confirm | boolean | Set after the user approved replacing existing disk files listed by a previous confirm_required response. |
confirm_volume_wipe | boolean | Set only after the user approved losing the data in the volumes listed by a previous confirm_required response. |
deployment_id | string | |
desk_url | string | Desk link from the user: sets project_id and the desk for builds without desk_id. |
files_uploaded | boolean | |
project_id | string | |
project_name | string | Only when the user named no project or desk: a short name (one to three words, from the app) for a NEW project. The MCP creates it, switches deployment on and deploys there; tell the user. Ignored whe… |
request_id | string | Optional retry key. Omit it: the MCP generates deployment IDs automatically. |
services | array | |
wait_seconds | number | Wait up to this many seconds for completion; execution continues in the MCP after the response. |
update_app
Update/add selected services in one request; preserve omitted settings. MCP handles builds, links and restarts in the background. Environment variables merge; supplied port/volume lists replace their lists. Resume a failed update using deployment_id and service overrides. The Dockerfile rules in deploy_app apply.
| Parameter | Type | Description |
|---|---|---|
application_id | string | |
application_name | string | |
confirm | boolean | Set after the user approved replacing existing disk files listed by a previous confirm_required response. |
confirm_volume_wipe | boolean | Set only after the user approved losing the data in the volumes listed by a previous confirm_required response. |
deployment_id | string | |
desk_url | string | Desk link from the user: sets project_id and the desk for builds without desk_id. |
files_uploaded | boolean | |
project_id | string | |
project_name | string | Only when the user named no project or desk: a short name (one to three words, from the app) for a NEW project. The MCP creates it, switches deployment on and deploys there; tell the user. Ignored whe… |
request_id | string | Optional retry key. Omit it: the MCP generates deployment IDs automatically. |
services | array | |
wait_seconds | number | Wait up to this many seconds for completion; execution continues in the MCP after the response. |
start_app
Start all or selected services as one operation. MCP handles all requests. Waits up to wait_seconds (default 20); remaining execution continues in the background. Started does not mean ready.
| Parameter | Type | Description |
|---|---|---|
application_id * | string | |
desk_url | string | Link to the Constructor desk the user copied from the browser, e.g. https://constructor.app/research/projects/<project>/desks/<desk>/viewer/file. Supplies project_id and desk_id. With project_id alone… |
project_id | string | |
service_names | array | |
wait_seconds | number | Wait up to this many seconds for completion; execution continues in the MCP after the response. |
stop_app
Stop all or selected services as one operation. MCP handles all requests. Waits up to wait_seconds (default 20). Stopped means stop requests accepted, not verified teardown.
| Parameter | Type | Description |
|---|---|---|
application_id * | string | |
desk_url | string | Link to the Constructor desk the user copied from the browser, e.g. https://constructor.app/research/projects/<project>/desks/<desk>/viewer/file. Supplies project_id and desk_id. With project_id alone… |
project_id | string | |
service_names | array | |
wait_seconds | number | Wait up to this many seconds for completion; execution continues in the MCP after the response. |
delete_resources
Delete applications (each with all its services), single services, or images of one project, in one call for the whole request. Without confirm it returns what would be deleted (confirm_required), with public URLs and volumes whose data is lost, for the user to approve once; repeat with confirm=true. An image a remaining service uses is kept. Unfinished deployments of affected applications are ended first. Cannot be undone.
| Parameter | Type | Description |
|---|---|---|
application_ids | array | Applications to delete, each with all its services. |
confirm | boolean | false (default) returns the full list for the user to approve once; true performs it. |
desk_url | string | Link to the Constructor desk the user copied from the browser, e.g. https://constructor.app/research/projects/<project>/desks/<desk>/viewer/file. Supplies project_id and desk_id. With project_id alone… |
image_ids | array | Images to delete (list_images). An image a remaining service uses is kept. |
project_id | string | |
service_ids | array | Services to delete; the rest of their application stays (services[].id in get_deployment). |
get_deployment
With deployment_id, observe/wait for background execution; the MCP owns execution. Each call waits up to wait_seconds (default 45, max 50); to wait longer, call again, as often as needed (a loop of get_deployment calls is fine), until execution is finished; do not answer the user while it is still in the background. Services carry status_changes and restarts_seen when the MCP saw the status change or a new container start. After sync_files (or manual upload) set files_uploaded=true; after a new key is saved, checking the job resumes it. With no arguments, returns the map of all deployments: ev…
| Parameter | Type | Description |
|---|---|---|
application_id | string | |
deployment_id | string | |
desk_url | string | Desk link from the user; selects its project for the project view. |
files_uploaded | boolean | |
project_id | string | |
resume | boolean | |
wait_seconds | number | Wait up to this many seconds (max 50) for the deployment to finish; it continues in the MCP after the response. |
get_logs
Last lines (default 20, up to 500) of a build or service log: why a build or start failed, how far a long build got, what a starting service prints. Constructor serves logs only live: a build log while the build runs, a service log for its current container while it runs (both replayed from the start, then streamed). The MCP follows the builds it starts until they end, and the services it starts or shows for two hours after that (or after the last get_logs), and keeps their last 2000 lines on this machine for 14 days, so they stay readable after the build ends, the container restarts or the ag…
| Parameter | Type | Description |
|---|---|---|
deployment_id | string | All builds and services this deployment started. |
image_id | string | Image (build) ID: failure.image_id, or an image from get_deployment/list_images. |
lines | integer | How many of the last log lines to return (up to 500; the MCP keeps 2000 per log). |
service_id | string | Service ID from get_deployment (services[].id). |