First-party app
Softr

Softr

Read and write records in a Softr app's own Database tables, manage its tables and users, over the Softr Database API and Studio Users API.

stable DatabasesSpreadsheetsProductivity

About

Softr ships in the w6w first-party pack. It declares 18 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.softr
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Databases · Spreadsheets · Productivity

Overview

Softr lets you build internal tools, client portals and websites on top of a data source — most often its own built-in Softr Database, a native multi-table store with fields, views and (optionally) AI-assisted columns.

This app covers the Softr Database API end to end: list and inspect databases, tables and views, then read, search, create, update and delete the records inside a table. Search supports Softr’s full filter grammar (binary/unary/ternary/composite conditions, relative date tokens), not just a flat equality match.

A second, separately-hosted surface — the Studio Users API — manages the people signed up to a published Softr app: create, delete, activate, deactivate and invite a user, generate a magic sign-in link, and trigger a user sync. It shares the same Personal Access Token as the Database API but talks to a different host and is scoped per-app by a domain header rather than by an app-scoped path.

One documented endpoint is deliberately not implemented: validating a Softr-issued user JWT (POST /v1/api/users/validate-token) is called against the Softr app’s own live domain — a value that varies per app and per customer rather than a fixed API host — so it cannot be reached through a static network allowlist. See the README for the full reasoning.

Build with Softr

Three routes to the same 18 actions. The Workflow tab is generated from Softr's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Get Database

database-get

Retrieve details of a specific Softr Database by its ID.

List Databases

database-list

List every Softr Database accessible to this token.

Create Record

record-create

Create a new record in a table.

Delete Record

record-delete

Delete a record by its ID. Softr answers 204 with no body.

Get Single Record

record-get

Retrieve one record by its ID.

Get Records

record-list

Retrieve a page of records from a table.

Search Records

record-search

Search a table's records with a filter, sort order and pagination.

Update Record

record-update

Partially update a record. Only the fields provided are changed.

Get Table

table-get

Retrieve a specific table's details, including its full field list.

List Tables

table-list

List the tables in a Softr Database, including each table's fields.

List Table Views

table-views-list

List the views defined on a table, for use with Get Records' viewId filter.

Activate User

user-activate

Re-activate a previously deactivated user in a published Softr app.

Create User

user-create

Create a user inside a published Softr app.

Deactivate User

user-deactivate

Deactivate a user in a published Softr app. Deactivated users cannot log in and don't count toward the plan's user limit, but their record is retained.

Delete User

user-delete

Delete a user from a published Softr app.

Invite User

user-invite

Send an invitation email to an existing user of a published Softr app. The app must be published for the invitation to be sent.

Generate Magic Link

user-magic-link-generate

Generate a Magic Link sign-in for a user of a published Softr app.

Sync Users

user-sync

Re-sync one, several, or (leave Emails empty) all users of a published Softr app.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Softr's real ids.

{
  "manifestVersion": "2",
  "name": "softr-example",
  "steps": [
    {
      "id": "database-get",
      "uses": {
        "app": "io.w6w.softr",
        "action": "database-get",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "databaseId": "<databaseId>"
      }
    }
  ]
}

Here are some of the things you can do

  • Get Database

    read
    database-get
  • List Databases

    search
    database-list
  • Create Record

    perform
    record-create
  • Get Single Record

    read
    record-get
  • Get Records

    search
    record-list

+13 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Softr, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Softr. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "database-get",
  payload: {
    databaseId: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action database-get --payload '{"databaseId":"<value>"}'

Give an AI agent Softr — without giving it Softr's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.softr#database-get",
    "input": {
      "databaseId": "<databaseId>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Softr connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Softr's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Softr itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Softr declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Softr platform status

quota

Request-rate headroom