Setup tools
The host selects trusted runtimes, permitted acquisition profiles and resource locations. The agent selects the integration, version, entrypoint and operations.
Inspect acquired dependencies (unreleased)
When the host enables acquired-source inspection and the advertised tool schema includesarchive_sha256, setup_inspect_acquired can read a retained dependency
selected by its exact digest in the acquisition job’s artifacts array. Omitting
the selector preserves primary-archive inspection. The agent still selects the
entrypoint and authors metadata; inspection executes no package code and does
not establish native-addon or runtime compatibility.
Describe the package
Prepare anIntegrationPackage in package.json and an ActivationManifest in activation.json. Obtain the canonical package digest with:
summary.package_content_digest in the activation manifest. It identifies the canonical package content; raw file hashes identify the input files.
The manifest’s owner IDs need actual runtime bindings.
Selected-Python installation does not resolve those names into authentication,
readiness, shutdown or policy handlers. Keep the host’s exact configuration and
policy references, and bind the selected connection through the native owners.
Do not substitute fixture IDs or remove unresolved package requirements.
Input layouts
- Python
- Node
- MCPB
crates/toolkit-package/PYTHON-INSTALL.md, NODE-INSTALL.md and sdk/consumer-setup/SELECTED.md in the source distribution.
Validate and install
Callsetup_selected_check with the prepared inputs. Review its proposal, then pass the returned proposal ID and digest to setup_selected_install. Installation uses a new destination and retains the selected input hashes and resulting launch configuration.
The host then supplies account credentials, approves operation access and attaches the emitted connection through the native MCP owner.
A bare configuration exposes the whole server; a declared read operation does
not hide its write tools or authorize their use. Connect’s native protected
attachment can separately enforce the host-approved subset of exact MCP tool
names. Inspect the actual schemas and request only the operations needed through
that protected review; separate write tools do not themselves prevent a scoped
read grant.
An operation-name allowlist does not constrain query semantics, prevent startup
effects or provide filesystem confinement. Check those behaviors and apply the
host’s separate resource controls. Installation and effect metadata alone do not
prove a read-only connection.
Inspect the installed server
Discover the server’s tools and schemas through the selected MCP connection. Choose the operations needed for the task, apply the host’s access policy and invoke them through the intended agent. For an update, prepare the new selection in a separate directory, switch the consumer and retire the old process. Keep the original selection available for recovery.Reuse a selection
Save the exact package, activation and source observations as a local recipe. Future setup can read that recipe and apply current configuration and access decisions. See local recipes.Packages that need a build (unreleased)
This is unreleased development functionality, not part of Connect 0.9.0. One
Linux source-addon installation and fresh Node consumer have passed. Each
integration still needs its own MCP compatibility and operation checks.
- The agent inspects the acquired package and its build instructions.
setup_state.node_buildreports available executable and input-file IDs, the exact Node target and limits. The agent chooses a plan from that evidence.setup_selected_checkfreezes the plan with the package and returns its commands, inputs and output destinations for review.- After approval,
setup_selected_installruns the commands and verifies the generated files. Native attachment and operation review follow separately.
build_plan_json. For staged metadata, retain the plan
as closure/node-build-plan and supply its exact build_plan_sha256. Both forms
select the Node profile and bind the same reserved artifact in the dependency
closure. With acquired_source, the host retains the original acquisition evidence
and adds the authored plan to the selected declaration; do not rewrite its receipt.
The version-1 plan has schema_version, target, inputs, steps and outputs.
Inputs copy selected original npm files or host toolchain files into a separate
working directory. Steps select host executable IDs and literal arguments.
Outputs map generated files to exact installed package paths. Replacing an
original file requires its original hash; an addition cannot overwrite it.
Use the advertised tool description and pinned installer’s contract for the full
shape.
npm lifecycle scripts remain disabled. An explicitly reviewed build step may run
package source or a build script as trusted local code. This is not a sandbox or a
complete toolchain deployment service. Missing tools require a host correction.
Readback checks the selected inputs and generated files without rebuilding or
importing the addon. A lost or invalid build reply leaves that live attempt
unconfirmed. Replaying its install call observes the same job; an explicit retry
proposes a new destination and review. Cold readback establishes current file
consistency, not proof of the historical build. Installation success does not
establish server compatibility or completion of the user’s task.
Container-backed selections
A host can exposesetup_acquire_compose to acquire an exact container graph and immutable images from allowed registries. It produces a proposal for the host’s Compose execution path. See deployment and activation for lifecycle management.