Resources / MCP

How to build an MCP server without running infrastructure

Ship a remote MCP server for Claude, ChatGPT or your own agents without managing servers, deploys or TLS — step by step.

Most MCP tutorials start with a local server process. That's fine on your laptop, but the moment you want ChatGPT or Claude on the web — or a teammate — to use your tools, you need a remote MCP server: public HTTPS, authentication, logs, and something that stays up.

What a production MCP server needs

The serverless approach

Instead of running a long-lived server, write each tool as a small function. A platform turns the functions into one MCP endpoint, scales them to zero when idle, and handles TLS, routing and logs. You only write the logic: "look up the order in Postgres and return status and tracking".

Doing it with Wisp

  1. Describe the tool in the chat — "a tool that looks up an order by id in our Postgres and returns status, items and tracking".
  2. Wisp writes the function, its input and output schemas, tests it, and asks for the database URL as an encrypted secret.
  3. The MCP server is on by default at https://<project>.fn.wispfn.com/_mcp; press Connect for copy-paste setup for Claude, ChatGPT, Gemini, Grok, Cursor and VS Code.
  4. Agents test against the draft (?test) while the published version keeps serving production.

Checklist before you share it

Build it with Wisp — describe an API, get it live.

Related