Wisp · Solutions · Security · Pricing · Resources · Templates · Tools · Docs Resources Practical guides to MCP servers, serverless functions, AI-generated backends and hosting APIs.
MCP What is an MCP server? The Model Context Protocol explained — A plain-language guide to the Model Context Protocol (MCP): what an MCP server is, how tools work, and why AI agents need them.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.Connect Claude, ChatGPT, Gemini, Grok and Cursor to an MCP server — Copy-paste setup for connecting the most popular AI clients and APIs to a remote MCP server, including API-key authentication.MCP vs REST API: what changes when an AI agent is the client — How the Model Context Protocol relates to REST APIs, when to expose tools over MCP, and why you usually want both.Designing MCP tools that models use correctly — Names, descriptions, schemas and outputs that help AI agents pick the right MCP tool and call it with the right arguments.Securing MCP servers: authentication, prompt injection and least privilege — The security risks specific to MCP servers and AI tools — and practical defences: auth, scoping, confirmation, validation and logging.MCP transports: stdio vs Streamable HTTP — How MCP clients and servers talk: local stdio servers, remote Streamable HTTP servers, and how to choose between them.Turn your existing API into an MCP server — A practical path from a REST API to MCP tools your customers’ AI agents can use: pick the jobs, wrap them, secure them, ship them.MCP server examples: 12 useful tools to give your AI agent — Practical MCP server examples — order lookups, CRM search, ticket creation, internal docs, metrics and more — with the tool design that makes each one work.AI agents AI agents and tool calling, explained — What an AI agent is, how tool calling works under the hood, and what it takes to give an agent tools that do real work.Giving AI agents memory: state, storage and context — Agents forget everything between runs. How to give them durable memory with tools backed by key-value stores and tables.Sandboxing AI agents: limit what an agent can touch — How to sandbox AI agents: isolate their code, restrict network and file access, scope their tools and credentials, and keep a human in the loop for risky actions.How to build an AI tool your agents can call — A step-by-step guide to building a tool for AI agents: define the job, write the schema, implement and host it, secure it, and connect it over MCP or function calling.Function calling explained: how OpenAI, Claude and Gemini call your tools — How LLM function calling (tool use) works across OpenAI, Anthropic Claude and Google Gemini — the request/response loop, schemas, and how to host the functions.Claude tool use (function calling) explained, with a working example — How tool use works in the Claude API: defining tools with JSON Schema, the tool_use / tool_result loop, stop_reason, errors and parallel calls — with Python code.Code generation AI code generation in production: what changes when the model writes the code — Moving AI-written code from demo to production: review, testing, versioning, secrets, observability and rollback.How to test AI-generated code (and let the AI test it too) — A practical testing approach for code written by AI: realistic requests, edge cases, draft environments and letting the model fix what fails.How to describe an API so an AI builds it right — Prompting for backend code: inputs, outputs, errors, data and limits — with examples of vague versus precise requests.Vibe coding the backend: where it works and where it breaks — Building backends by describing them works well for many jobs. Where it shines, where it struggles, and how to stay out of trouble.How to secure AI-generated code: a review workflow that scales — A step-by-step workflow to secure AI-generated code: threat-model the prompt, scan code and dependencies, test abuse cases, and run it with least privilege.Who owns AI-generated code? Copyright, licenses and practical steps — A plain-language overview of ownership and copyright for AI-generated code, open-source license risks, and practical steps teams take. Not legal advice.Is AI-generated code production-ready? A practical quality bar — What AI-generated code does well, where it falls short, and the quality bar — tests, schemas, review and monitoring — that makes it safe to ship.AI tools for developers: a practical map — The main kinds of AI developer tools — editor assistants, coding agents, app builders, backend generators, MCP servers and review tools — and what each is best at.AI-generated code and open-source licenses: a compliance checklist — Can AI-generated code break open-source licenses? What the real risks are, and a practical checklist: dependency scanning, snippet matching, policies and records.Code execution AI code execution: how to run code an AI wrote, safely — What AI code execution is, the risks of running model-written code, and the controls that make it safe: sandboxes, limits, secrets and review.Code execution APIs: running untrusted Python and JavaScript on demand — How code execution APIs work, what to look for (isolation, limits, packages, latency) and when to deploy code as an endpoint instead.Sandboxing for AI code: containers, gVisor, microVMs and WebAssembly compared — The main ways to sandbox AI-generated code — containers, user-space kernels, microVMs, WebAssembly and V8 isolates — and how to pick one.AI backends AI-generated backends: how they work and where they fit — What it means to generate a backend with AI, how prompt-to-API tools work, and how to keep generated code safe and maintainable.Adding a backend to apps built with Lovable, Bolt or v0 — AI app builders are great at screens. Here is how to add the server-side parts — API keys, payments, webhooks, email — safely.Secure AI-generated code: a 6-point checklist for production — How to secure AI-generated code before it runs in production: isolation, secrets, input validation, least privilege, drafts and logging.AI API generators: from a sentence to a deployed endpoint — What an AI API generator does, what to expect from the code it writes, and how to go from a plain-language description to a live, scalable endpoint.Zapier alternatives for developers: when code beats no-code — When workflow tools like Zapier get expensive or limiting, the alternatives — Make, n8n, Pipedream, scripts and serverless functions — and how to choose.Serverless Serverless functions explained: how they work and when to use them — What serverless functions are, how cold starts, scaling and pricing work, and which backend jobs they fit best.Scheduled jobs and cron without a server — Run reports, syncs and cleanups on a schedule without keeping a server up. Cron syntax, time zones and failure handling explained.What is a Wisp endpoint? One URL, one function, live in minutes — A Wisp endpoint is one HTTP route backed by one function. What it receives, what it returns, its settings and limits, and how to call it.Scaling AI-generated backends: from first request to production traffic — How serverless scaling works for AI-generated APIs, what usually breaks under load, and how Wisp scales endpoints automatically — and down to zero.Cron expression examples: a cheat sheet for every schedule — Cron syntax explained with copy-paste examples — every 5 minutes, hourly, weekdays at 9am, the first of the month — plus time zones and common mistakes.Hosting Where to host an API in 2026: VPS, containers, serverless or AI platforms — A practical comparison of API hosting options — virtual servers, containers, serverless functions and AI backend platforms — by cost and effort.Edge caching for APIs: faster responses for less — When and how to cache API responses at the edge, how Cache-Control works, and what must never be cached.Caching API responses: choosing a web cache service (CDN, proxy or app cache) — How to cache API responses: CDN and edge caching, reverse-proxy caches and in-app caches compared — with Cache-Control, cache keys and invalidation done right.How to deploy a Python API (without managing a server) — The ways to deploy a Python API — Flask or FastAPI on a VPS, containers, platforms and serverless functions — with the trade-offs and a checklist for production.Guides How to hide API keys from your frontend with a proxy endpoint — Never ship secret keys in browser code. Learn the proxy-endpoint pattern, with rate limits and caching, to call paid APIs safely.Webhook receivers done right: Stripe, GitHub and Shopify — How to receive webhooks reliably: signature verification, idempotency, fast acknowledgements and logs you can replay.API rate limiting and quotas: protect your API and your budget — How rate limits and daily quotas work, per-client vs global limits, the right HTTP headers, and how to stop one caller draining your budget.Key-value, tables or blobs? Choosing storage for a small backend — When to use a key-value store, structured tables or blob storage for APIs, webhooks and jobs — with simple rules of thumb.JSON Schema for APIs and AI tools: a practical guide — Why JSON Schema matters for APIs and AI agent tools, the fields that matter, and examples you can copy.Controlling LLM API costs behind your own endpoint — Keep AI API bills predictable: proxy endpoints, per-user limits, caching, model choice, token caps and usage logging.API rate limit best practices: 10 rules for limits callers can live with — Practical API rate limit best practices: what to count, where to enforce, which headers to send, and how to keep limits fair for every client.API rate limiting algorithms: fixed window, sliding window and token bucket — How the common API rate limiting algorithms work, where each one breaks, and which to pick for bursts, fairness and simplicity.How WISPs handle billing once they outgrow manual invoicing — For wireless internet service providers: the signs you have outgrown spreadsheets and manual invoices, what to automate first, and how to connect billing to the network.CORS errors explained: why the browser blocks your API call (and how to fix it) — "No Access-Control-Allow-Origin header" and preflight failures, explained — what CORS is, why the browser blocks requests, and the right fixes for your API.API authentication methods: API keys vs OAuth 2.0 vs JWT vs HMAC — The main ways to authenticate API requests — API keys, OAuth 2.0, JWTs, HMAC signatures and mTLS — how each works, and which to choose.How to verify Stripe webhook signatures (Node.js and Python) — Verify the Stripe-Signature header correctly in Node.js and Python: raw bodies, the signing secret, timestamps, retries and idempotent handling.HTTP status codes for APIs: which to return and when — A practical guide to HTTP status codes for REST APIs — 200 vs 201 vs 204, 400 vs 422, 401 vs 403, 404, 409, 429 and 5xx — with error body examples.API versioning best practices: URL, header or no versions at all — How to version a REST API — URL paths, headers, date-based versions — what counts as a breaking change, and how to evolve an API without breaking clients.Where to find your Stripe webhook signing secret (whsec_) — Find the whsec_ signing secret for a Stripe webhook in Workbench, the Stripe CLI or the API — and fix the "No signatures found" error caused by the wrong one.LLM billing: how to track and charge for AI usage per user — Meter LLM tokens per user or team, turn them into costs, enforce budgets and bill for usage — a practical design for apps built on OpenAI, Claude or Gemini APIs.API versioning: URL path vs header vs query parameter — Compare the ways to version a REST API — /v1/ in the URL, a custom header, Accept media types, a query parameter or dates — with examples and when to use each.Build your own CORS proxy (and why public ones are a bad idea) — Public CORS proxies leak your data and API keys and go down without warning. Here is how to build a small, safe CORS proxy with an origin and target allowlist.