wispfnDocs
Use Wisp from other tools

Build, test, publish and debug Wisp projects from Claude Code, Cursor or any MCP client with Wisp's own MCP server.

Wisp's own MCP server lets your AI coding tool work with your Wisp projects: create projects and functions, write code, set config, publish, call functions, read logs — or hand a request to Wisp's assistant.

This is different from your project's MCP server, which exposes your functions as tools.

#Connect

  1. Create a workspace API key in Settings → API keys, with the scopes you want to allow. See Authentication.
  2. Add the server to your client:
Claude Code
claude mcp add --transport http wisp https://wispfn.com/api/mcp \
  --header "Authorization: Bearer wisp_sk_..."
Cursor (~/.cursor/mcp.json)
{
  "mcpServers": {
    "wisp": {
      "url": "https://wispfn.com/api/mcp",
      "headers": { "Authorization": "Bearer wisp_sk_..." }
    }
  }
}

The server needs the Authorization header, so use a client that can send headers (Claude Code, Cursor, VS Code, Gemini CLI, or your own agent).

Without a key, a client can connect and list the tools (the same information as this page), but every tool call needs the key. A wrong or expired key is rejected with 401.

#What it can do

ToolWhat it doesScope
list_projectsList the workspace's projectsprojects:read
create_projectCreate a projectprojects:write
get_projectFunctions, settings and URLs of a projectprojects:read
get_functionA function's code and settingsfunctions:read
create_functionAdd a function with code (HTTP or not, MCP tool, before/after)functions:write
update_functionChange code or settings, including the schedulefunctions:write
delete_functionDelete a functionfunctions:write
set_config / delete_configManage variables and secretsconfig:write
set_mcp_serverTurn the project's MCP server on or offprojects:write
publishPublish the draft or roll backprojects:deploy
invoke_functionRun a function (draft or live)functions:invoke
get_logsRead the invocation loglogs:read
ask_wispHand a request to Wisp's assistantassistant:chat

Full argument lists: MCP tools reference.

#Example prompts

  • "Create a Wisp project with a function that validates VAT numbers, test it with a few real ones, then publish."
  • "Why is /checkout in my shop-api project returning 500s? Check the logs and fix it."
  • "Ask Wisp to add a weekly report to analytics-api that runs every Monday."

Calls through invoke_function use Run credits; ask_wisp uses AI credits.