CLI
The `shapeless` command: install, sign in, and drive the same account from a terminal or a cron job.
One npm package, two faces: the shapeless command, and an MCP server (shapeless mcp) exposing
the same operations as tools. Both are built on the routes in the API reference, so
there is one implementation and one scope policy underneath.
Install
Node 20 or newer. Source and issues: github.com/FirstClassTree/shapelessai.
Sign in
Config lives in ~/.config/shapeless/config.json. SHAPELESS_BASE_URL overrides the API host
(default https://shapelessai.com). shapeless logout forgets the local copy; revoke the key
itself in the studio.
Every command takes --json to print the raw API response, and --help.
Post
Flags map one-to-one onto the POST /api/posts body: --to is connectionId, --text is
postText, --at is scheduledAt, --queue is queue, --media is a comma-separated
mediaKeys, --title is documentTitle (YouTube needs one), --settings is settings, and
--first-comment is firstComment. --at and --queue are exclusive. Needs a key with
publish.
On the Free plan the sixth post for one UTC day answers 402 free_daily_cap naming the day that
is full - see Posts.
Work the queue
A published post carries metrics: the latest reading, its standing at 24h and 7d, and lift -
its score over the median of the same channel's last 90 days. Lift stays blank until at least five
scored posts stand behind that median, because a two-post median invents findings.
Jobs
See Jobs.
Actors, Brand Memory, assets
See Brand Memory.
The local MCP server
Speaks MCP on stdio using the key from shapeless login, and adds the tools that read your disk -
assets_upload, brain_import, and files on a job message - which the hosted server cannot
have. Most people want the hosted server instead: see MCP server.
