Build, deploy and run backend functions, APIs, webhooks and cron jobs from your AI client.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Bearer token: a Wisp workspace API key (Settings → API keys), as "Bearer wisp_sk_…"
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Send a message to Wisp's own assistant for this project, like typing in the Wisp chat: it can build or change functions (including before/after), test them and publish when asked. Waits for the turn to finish (uses the workspace's AI credits).
Project id (p…) or address (slug)
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http wisp https://wispfn.com/api/mcp \ --header 'Authorization: Bearer YOUR_TOKEN'
Headers
Authorization (required): Bearer token: a Wisp workspace API key (Settings → API keys), as "Bearer wisp_sk_…"Send a message to Wisp's own assistant for this project, like typing in the Wisp chat: it can build or change functions (including before/after), test them and publish when asked. Waits for the turn to finish (uses the workspace's AI credits).
| Argument | Type | Description |
|---|---|---|
| message* | string | |
| project* | string | Project id (p…) or address (slug) |
{
"type": "object",
"required": [
"project",
"message"
],
"properties": {
"message": {
"type": "string",
"maxLength": 20000,
"minLength": 1
},
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
}
},
"additionalProperties": false
}Add a function with complete code (a new draft version, deployed for ?test). http true exposes it at <project url>/<name> with one method; http false makes it background work (schedules, the console, MCP and functions.invoke run it; input arrives as req.body). Name it "before" or "after" for the special functions that run around every HTTP function (before(req): return a response to stop the call; after(req, res): return a changed response). JavaScript: `export async function handler(req) { return { status: 200, body: {...} } }`; Python: `def handler(req): return {"status": 200, "body": {...}}`. req has method, path, subpath, query, headers, body. Functions may use `import { config, kv, table, file, functions } from "wisp"`.
| Argument | Type | Description |
|---|---|---|
| mcp | boolean | null | A tool of the project's MCP server (default: public HTTP functions) |
| code* | string | |
| http | boolean | Expose over HTTP (false for background work; always false for before/after) |
| name* | string | Name and URL segment: lowercase letters, digits, - or _ |
| method | any | HTTP method (default GET; POST without HTTP) |
| project* | string | Project id (p…) or address (slug) |
| language | any | |
| visibility | string | HTTP functions. private: only this project (its code, schedules, MCP server, console); internal: any project in the workspace |
| description | string | |
| input_schema | any | JSON Schema (type object) of the query parameters (GET/DELETE) or JSON body (POST/PUT/PATCH, and functions without HTTP) |
| output_schema | any | JSON Schema of the JSON response |
Create an empty project (it gets its own URL). Then add functions with create_function or ask_wisp.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| language | any |
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"language": {
"anyOf": [
{
"enum": [
"javascript",
"python"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Remove a project variable or secret.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| project* | string | Project id (p…) or address (slug) |
{
"type": "object",
"required": [
"project",
"name"
],
"properties": {
"name": {
"type": "string"
},
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
}
},
"additionalProperties": false
}Remove a function from the draft (the live version is unchanged until you publish).
| Argument | Type | Description |
|---|---|---|
| project* | string | Project id (p…) or address (slug) |
| function* | string | Function name (e.g. "orders") or id (e…) |
{
"type": "object",
"required": [
"project",
"function"
],
"properties": {
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
},
"function": {
"type": "string",
"description": "Function name (e.g. \"orders\") or id (e…)"
}
},
"additionalProperties": false
}A function's current draft code and settings.
| Argument | Type | Description |
|---|---|---|
| project* | string | Project id (p…) or address (slug) |
| function* | string | Function name (e.g. "orders") or id (e…) |
{
"type": "object",
"required": [
"project",
"function"
],
"properties": {
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
},
"function": {
"type": "string",
"description": "Function name (e.g. \"orders\") or id (e…)"
}
},
"additionalProperties": false
}Recent requests to the project (newest first): status, duration, errors, console output and truncated bodies. Secrets are redacted.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| search | string | null | |
| status | any | |
| project* | string | Project id (p…) or address (slug) |
| function | any |
{
"type": "object",
"required": [
"project"
],
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
},
"search": {
"type": [
"string",
"null"
],
"default": null
},
"status": {
"anyOf": [
{
"enum": [
"2xx",
"4xx",
"5xx",
"errors"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
},
"function": {
"anyOf": [
{
"type": "string",
"description": "Function name (e.g. \"orders\") or id (e…)"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}A project: its URL, functions (with their HTTP, MCP and schedule settings), versions and variable/secret names.
| Argument | Type | Description |
|---|---|---|
| project* | string | Project id (p…) or address (slug) |
{
"type": "object",
"required": [
"project"
],
"properties": {
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
}
},
"additionalProperties": false
}Run a function (also private ones and those not exposed over HTTP, whose input is the body): mode "test" runs the draft (?test), "live" the published version. Returns status, headers, body and (test mode) console output. Counts as a normal request (logged, uses Run credits).
| Argument | Type | Description |
|---|---|---|
| body | string | null | Raw body (JSON text for JSON APIs) |
| mode | string | |
| query | object | |
| method | any | Defaults to the function's method |
| headers | object | |
| project* | string | Project id (p…) or address (slug) |
| subpath | string | |
| function* | string | Function name (e.g. "orders") or id (e…) |
{
"type": "object",
"required": [
"project",
"function"
],
"properties": {
"body": {
"type": [
"string",
"null"
],
"default": null,
"description": "Raw body (JSON text for JSON APIs)"
},
"mode": {
"enum": [
"test",
"live"
],
"type": "string",
"default": "test"
},
"query": {
"type": "object",
"default": {},
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"method": {
"anyOf": [
{
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Defaults to the function's method"
},
"headers": {
"type": "object",
"default": {},
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
},
"subpath": {
"type": "string",
"default": ""
},
"function": {
"type": "string",
"description": "Function name (e.g. \"orders\") or id (e…)"
}
},
"additionalProperties": false
}Projects in this workspace, with their URLs and draft/live versions.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Make the current draft (version null) or an earlier version (rollback) live at the project URL.
| Argument | Type | Description |
|---|---|---|
| project* | string | Project id (p…) or address (slug) |
| version | any |
{
"type": "object",
"required": [
"project"
],
"properties": {
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
},
"version": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Set a project variable (plain) or secret (encrypted, never readable again). Functions read both with config.get(NAME). Applies to draft and live within ~30 s.
| Argument | Type | Description |
|---|---|---|
| kind* | string | |
| name* | string | UPPER_SNAKE_CASE |
| value* | string | |
| project* | string | Project id (p…) or address (slug) |
| description | string |
{
"type": "object",
"required": [
"project",
"name",
"kind",
"value"
],
"properties": {
"kind": {
"enum": [
"variable",
"secret"
],
"type": "string"
},
"name": {
"type": "string",
"description": "UPPER_SNAKE_CASE"
},
"value": {
"type": "string"
},
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
},
"description": {
"type": "string",
"default": ""
}
},
"additionalProperties": false
}Turn the project's own MCP server on or off: <project url>/_mcp serves one tool per function marked as an MCP tool (with its input/output schemas); /_mcp?test serves the draft.
| Argument | Type | Description |
|---|---|---|
| enabled* | boolean | |
| project* | string | Project id (p…) or address (slug) |
{
"type": "object",
"required": [
"project",
"enabled"
],
"properties": {
"enabled": {
"type": "boolean"
},
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
}
},
"additionalProperties": false
}Change a function: replace its code, apply search-and-replace edits (each old_text must match exactly once), and/or change its name, HTTP exposure, method, visibility, MCP tool setting, before/after, schedule, caching or description. Creates a new draft version.
| Argument | Type | Description |
|---|---|---|
| mcp | boolean | null | MCP tool (true/false), or null to keep |
| code | string | null | Complete new code (or null) |
| http | boolean | null | Expose over HTTP (true/false), or null to keep |
| name | string | null | |
| edits | array | |
| method | any | |
| project* | string | Project id (p…) or address (slug) |
| callable | boolean | null | Other functions may call it (false: only schedules, MCP and the console); null keeps |
| function* | string | Function name (e.g. "orders") or id (e…) |
| schedule |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 29, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
{
"type": "object",
"required": [
"project",
"name",
"code"
],
"properties": {
"mcp": {
"type": [
"boolean",
"null"
],
"default": null,
"description": "A tool of the project's MCP server (default: public HTTP functions)"
},
"code": {
"type": "string",
"minLength": 1
},
"http": {
"type": "boolean",
"default": true,
"description": "Expose over HTTP (false for background work; always false for before/after)"
},
"name": {
"type": "string",
"description": "Name and URL segment: lowercase letters, digits, - or _"
},
"method": {
"anyOf": [
{
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "HTTP method (default GET; POST without HTTP)"
},
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
},
"language": {
"anyOf": [
{
"enum": [
"javascript",
"python"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"visibility": {
"enum": [
"public",
"private",
"internal"
],
"type": "string",
"default": "public",
"description": "HTTP functions. private: only this project (its code, schedules, MCP server, console); internal: any project in the workspace"
},
"description": {
"type": "string",
"default": ""
},
"input_schema": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"default": null,
"description": "JSON Schema (type object) of the query parameters (GET/DELETE) or JSON body (POST/PUT/PATCH, and functions without HTTP)"
},
"output_schema": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"default": null,
"description": "JSON Schema of the JSON response"
}
},
"additionalProperties": false
}| any |
| Run automatically (published version only, at most every 5 minutes): cron in the given timezone |
| visibility | any |
| description | string | null |
| before_after | boolean | null | HTTP functions: false skips the before/after functions; null keeps |
| input_schema | any | New input JSON Schema, or null to keep |
| cache_seconds | any | Edge caching for GET functions: seconds successful live responses are served from the CDN (0 turns it off, null keeps the setting) |
| output_schema | any | New output JSON Schema, or null to keep |
| remove_schedule | boolean |
{
"type": "object",
"required": [
"project",
"function"
],
"properties": {
"mcp": {
"type": [
"boolean",
"null"
],
"default": null,
"description": "MCP tool (true/false), or null to keep"
},
"code": {
"type": [
"string",
"null"
],
"default": null,
"description": "Complete new code (or null)"
},
"http": {
"type": [
"boolean",
"null"
],
"default": null,
"description": "Expose over HTTP (true/false), or null to keep"
},
"name": {
"type": [
"string",
"null"
],
"default": null
},
"edits": {
"type": "array",
"items": {
"type": "object",
"required": [
"old_text",
"new_text"
],
"properties": {
"new_text": {
"type": "string"
},
"old_text": {
"type": "string"
}
},
"additionalProperties": false
},
"default": []
},
"method": {
"anyOf": [
{
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"project": {
"type": "string",
"description": "Project id (p…) or address (slug)"
},
"callable": {
"type": [
"boolean",
"null"
],
"default": null,
"description": "Other functions may call it (false: only schedules, MCP and the console); null keeps"
},
"function": {
"type": "string",
"description": "Function name (e.g. \"orders\") or id (e…)"
},
"schedule": {
"anyOf": [
{
"type": "object",
"required": [
"cron"
],
"properties": {
"body": {
"type": [
"string",
"null"
],
"default": null
},
"cron": {
"type": "string"
},
"query": {
"type": [
"string",
"null"
],
"default": null
},
"enabled": {
"type": "boolean",
"default": true
},
"timezone": {
"type": "string",
"default": "UTC"
},
"description": {
"type": "string",
"default": ""
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Run automatically (published version only, at most every 5 minutes): cron in the given timezone"
},
"visibility": {
"anyOf": [
{
"enum": [
"public",
"private",
"internal"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"type": [
"string",
"null"
],
"default": null
},
"before_after": {
"type": [
"boolean",
"null"
],
"default": null,
"description": "HTTP functions: false skips the before/after functions; null keeps"
},
"input_schema": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"default": null,
"description": "New input JSON Schema, or null to keep"
},
"cache_seconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
],
"default": null,
"description": "Edge caching for GET functions: seconds successful live responses are served from the CDN (0 turns it off, null keeps the setting)"
},
"output_schema": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"default": null,
"description": "New output JSON Schema, or null to keep"
},
"remove_schedule": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}