Pipeloom Docs
API, CLI and MCP

Overview

Use Pipeloom from your own programs, a terminal, a coding agent, or a chat app such as Claude or ChatGPT.

Everything the AI Copilot can do, you can also do without opening the app. It works three ways, and all three use the same set of tools:

WayForSigns in with
The APIYour own programs and scriptsA short-lived token from a service account or an Application
The CLIA terminal, CI, and coding agents such as Claude Code, Codex or CursorThe browser, a service account, or an Application
The MCP serverClaude, ChatGPT and other chat appsThe browser

A tool is one action, such as list_pipelines, run_pipeline, create_connector or delete_secret. The API lists every tool at GET /v1/tools, the CLI makes each one a command, and the MCP server offers each one to the chat app.

It acts as you

Every call runs as the person or Application that signed in. It can do exactly what that person can do in the app, in the workspaces they can open, with their role in each environment. A service account does what its organization role allows. Nothing about the API gives more access than the app does.

Changes that need confirming

Deleting something, replacing it, or changing who has access needs a second step:

  1. The first call changes nothing. It answers with what it would do and a confirmToken.
  2. The same call again, with the token, does it.

The CLI asks you at the terminal. A chat app shows you what it is about to do and waits for you to agree. A token is good only for that exact call, by the same person in the same workspace, for 10 minutes. The change is checked again when it is confirmed.

Secrets and passwords

A password, key or token is never written into a call:

  • Refer to a stored secret. Anywhere a value is secret, give {"secretRef": "NAME"} instead. Pipeloom fills the value in on its side, and takes it out of anything it sends back.
  • Store one first. pipeloom secrets set NAME reads the value from a hidden prompt, an environment variable or a file, never from a flag.
  • Ask someone else for it. request_secret and request_connector_credentials return a link that only you can open, for 15 minutes. The value is typed into Pipeloom's own page, so the chat app or agent never sees it.

Warehouse credentials and Slack webhooks are only ever taken as a stored secret's name. Reads never show a secret's value.

What stays in the app

A few things are done only in the app, on purpose:

  • creating Applications (API keys), since a key that can make keys is a way to gain access. Service accounts are made in the app or with pipeloom service-accounts, by a person who is an organization admin, never by a tool or a service account;
  • plan changes and payment;
  • single sign-on and organization domains;
  • installing the GitHub App, which happens on GitHub;
  • the Connector Builder;
  • letting the Copilot keep working while you're away;
  • deleting a workspace, and importing pipelines from a file.

On this page