wispfnDocs
Use Wisp from other tools

Every project is an MCP server. The functions you mark as MCP tools become tools that AI agents like Claude, ChatGPT and Cursor can call.

The Model Context Protocol (MCP) lets AI clients call external tools. Every Wisp project can be an MCP server: each function marked as an MCP tool becomes a tool, described by its input and output schemas.

MCP is on by default for new projects.

#The server URL

https://<project>.fn.wispfn.com/_mcp         the published version
https://<project>.fn.wispfn.com/_mcp?test    the draft

Agents connect over Streamable HTTP. Press Connect in the project's top bar for step-by-step setup in each client, or see Connect AI clients.

#How functions become tools

FunctionTool
Name (get-order)Tool name
DescriptionTool description the model reads
Input schemaThe tool's arguments — query parameters for GET/DELETE, JSON body fields otherwise
Output schemaWhat the tool returns

Good schemas make good tools. Describe each field — the model reads those descriptions to decide what to pass. The assistant writes schemas for every function and keeps them in sync.

Which functions are tools is up to you: turn MCP tool on or off in a function's settings. Public HTTP functions are tools by default; a private function or one without HTTP can be a tool too — the MCP server calls it on the agent's behalf.

#Calls are normal requests

A tool call runs your function like any request: before and after, API keys, rate limits, logs and Run credits all apply.

If the project requires API keys, the client must send one (Authorization: Bearer wpk_...). Some clients, such as Claude and ChatGPT custom connectors, can't send headers — use a client that can, or don't require keys for that project.

#Turn it off

Turn the MCP server off in the project's settings. /_mcp then returns 404.

#Good candidates

Functions that look something up or take an action make useful tools: order lookups, searches, creating tickets, sending messages, querying your data. Webhook receivers, OAuth callbacks and HTML pages don't.