SDK, CLI and MCP

One npm package, @dasterhq/daster, with the JavaScript SDK, the daster command and the bridge to DASTER's MCP server.

Last updated

DASTER publishes one npm package, @dasterhq/daster. Version 0.1.0 is MIT licensed. It contains two things:

  • The SDK, imported with import { … } from '@dasterhq/daster'. It is an ES module with TypeScript types, and it runs in Node.js and in the browser. Your app uses it to read and write its database, files and realtime channels and to send email and push notifications.
  • The daster command. It connects your machine to one project, deploys a website to Hosting and sets up AI tools such as Claude Code and Cursor to use DASTER's MCP server.

The package needs Node.js 20.3 or newer.

How the pieces reach DASTER

Everything goes to https://app.daster.io unless you point it somewhere else.

PartTalks toSigns in with
SDKThe data APIs: /backend/v1/projects/{projectId}/… and /communications/v1/projects/{projectId}/…Project keys and your app users' sessions
daster commandThe MCP server at https://app.daster.io/mcpA connection you approve in the Dashboard (OAuth). No key or password
AI tools (MCP)The same MCP serverThe same kind of approved connection

The SDK is a client for the data APIs described in the API overview. The command and AI tools never use a project key: you approve each connection in the Dashboard, for one project and one environment, and they act as you within it.

Another DASTER address

  • For the command, pass --console URL or set DASTER_CONSOLE_URL.
  • For the SDK, pass dataUrl to the product and service clients, or communicationsUrl to the communications client.

The address must use HTTPS. Plain HTTP is accepted only for an address on your own machine (127.0.0.1, localhost or [::1]).

Get started

Next steps