Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Make endpoints/Setup-and-interfaces
Reference · Make endpoints

Setup-and-interfaces

Part of Make endpoints. Install the skill and your agent reads this page when it needs the depth.

Setup and interface selection

Load for installation, imports, credential loading, or an authentication/version mismatch. Recheck the published manifest and README when changing versions; a beta example is not a permanent API contract.

Keep the packages distinct

Package/interface Purpose
@makehq/sdk / make-cli from @makehq/cli Manage Make resources and custom-app definitions.
@makehq/endpoints-sdk / its make-endpoints-cli binary Execute app Endpoints using Make connections.
@makehq/endpoints-sdk/tools Harness-agnostic EndpointTools definitions and executors.

The Endpoints SDK and CLI are one standalone package. Installing a skill does not install its runtime, register an Endpoints MCP server, or enable the beta. Do not move calls into the platform CLI on the assumption that interface centralisation has shipped.

The example baseline is Endpoints SDK 0.3.0 with Make SDK 1.6.20; the former declares Node 24 or 26 and Make SDK peer dependency ^1.6.17. Check the current manifest before selecting another release. The platform SDK's broader Node support is not evidence of Endpoints support.

Within an approved project, a pinned installation for that baseline is:

npm install --save-exact @makehq/endpoints-sdk@0.3.0 @makehq/sdk@1.6.20

A project-local CLI can be invoked with npx make-endpoints-cli --help after installation. To avoid a global installation, the package's documented form is npx --package=@makehq/endpoints-sdk make-endpoints-cli --help; this can still download a package into npm's cache. Pin the package selection for automation. Do not install or upgrade globally merely to inspect a catalog.

Load credentials without exposing them

Use the already selected secret source. Make API credentials authenticate to Make; connectionId selects managed provider credentials. Neither belongs in business input or public artifacts. Endpoint execution requires the Make endpoints:run scope; additional platform discovery reads need their own documented scopes. These are separate from the OAuth scopes granted to the provider connection.

For an existing project-local .env.local, Node supports:

node --env-file=.env.local read-document.mjs

Keep that file ignored and private. Node's existing process environment takes precedence over its env file; check for a conflicting zone/key/team configuration without printing values. Do not quietly mix contexts or copy another project's credentials. Use us1.make.com in examples; actual calls use the explicitly selected zone, with no URL scheme, path, or query in the hostname.

The CLI resolves flags, then environment variables, then the saved make-cli login configuration. Its saved configuration fallback runs only when neither key nor zone was supplied. A zone-only environment override does not retrieve the missing key from the saved login. For unattended execution, supply both MAKE_API_KEY and MAKE_ZONE through the approved environment. Do not suggest an interactive login when valid file-based configuration is already expected, or put --api-key <secret> in process arguments.

An SDK new Make(apiKey, zone) call does not automatically read the CLI login file. Configure the client explicitly; do not imply that running make-cli login supplies an SDK script's environment variables.

Current imports and response shape

Do not copy legacy @integromat/endpoints-sdk or /sdk-transport import paths into a new published-package example. An older pinned source checkout is a different provenance, not evidence of today's npm exports.

Generated Endpoint methods return the business output; low-level execute returns { output }. Preserve this difference instead of adding a second unwrap to typed calls.

Let SdkTransport own the execution route. Published versions may use the supported legacy /api/v2/endpoints/execute alias; inspect the pinned transport before asserting which path ran. Do not edit generated SDK code to change the route or substitute a scenario run/RPC/provider request.

Diagnose the right layer

Authoritative sources

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.