wispfnDocs
Overview

Reference for the function SDK your code imports, Wisp's REST API, and the tools of the Wisp MCP server.

#Function SDK

What your functions can use at run time:

ReferenceFor
Request and responseThe req object and what handlers return
configVariables and secrets
kvKey-value storage
tableTables
fileFile storage
functionsRunning other functions, or calling them over HTTP
Errors and limitsWispError, quotas and platform limits
import { config, kv, table, file, functions, WispError } from 'wisp';
from wisp import config, kv, table, file, functions, WispError

#REST API

Manage projects programmatically. Base URL:

https://wispfn.com/api

Requests and responses are JSON. Authenticate with a workspace API key — see Authentication.

GroupCovers
ProjectsList, create, update, clone and delete projects
FunctionsCreate, configure, schedule and run functions
CodeReplace function and library code
VersionsHistory, publish, roll back, restore
ConfigVariables and secrets
RuntimeInvoke, logs, metrics, schedules
StorageKey-value, tables, files
SettingsAPI keys, limits, alerts, domains, packages, access

#MCP

Wisp MCP server tools — the same operations for AI clients.