---
title: "Examples"
description: "Tutorials and templates for building on Zuplo, filterable by category. Each example links to a full walkthrough and its source code on GitHub."
canonicalUrl: "https://zuplo.com/examples"
sourceUrl: "https://zuplo.com/examples"
pageType: "other"
generatedAt: "2026-11-10"
---

# Deploy an API in minutes

> Tutorials and templates to get you started fast

Categories: Authentication, Authorization, Backend-for-Frontend (BFF), Caching, Customization, API Governance, Git Ops, Logging, Model Context Protocol (MCP), Programmability, Rate Limiting, Routing, Testing, Validation.

Also see [Videos](/videos).

## 28 examples

### Basic API Gateway (Starter)

- Category: Authentication
- Protect your backend API with authentication, rate limiting, and request validation.
- [View example](/examples/basic-api-gateway.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/basic-api-gateway)

### Remote MCP Server with OAuth (Starter)

- Category: Model Context Protocol (MCP)
- Secure your MCP Server with OAuth authentication using Auth0.
- [View example](/examples/remote-mcp-server-with-oauth.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/remote-mcp-server-with-oauth)

### Dev Portal with API Keys (Starter)

- Category: Authentication
- Let developers sign up and create their own API keys through a self-serve portal.
- [View example](/examples/dev-portal-with-api-keys.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/dev-portal-with-api-keys)

### API Key + JWT Multi-Auth

- Category: Authentication
- Accept either an API key or a JWT on the same route with a composite inbound policy.
- [View example](/examples/api-key-jwt-multi-auth.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/api-key-jwt-multi-auth)

### Circuit Breaker

- Category: Programmability
- Protect your backend from cascading failures by automatically blocking traffic when error rates exceed a threshold.
- [View example](/examples/circuit-breaker.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/circuit-breaker)

### HTTP Deprecation

- Category: API Governance
- Signal deprecated endpoints and sunset dates to API clients with standards-based Deprecation, Sunset, and Link headers.
- [View example](/examples/http-deprecation.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/http-deprecation)

### Geolocation Routing

- Category: Routing
- Route requests to regional backends based on user location for data residency and latency optimization.
- [View example](/examples/geolocation-routing.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/geolocation-routing)

### Canary Routing

- Category: Routing
- Gradually roll out new backend versions by routing a percentage of traffic to canary before full deployment.
- [View example](/examples/canary-routing.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/canary-routing)

### Dynamic Rate Limits

- Category: Programmability
- Set different rate limits based on user subscription tier or API key metadata.
- [View example](/examples/dynamic-rate-limits.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/dynamic-rate-limits)

### Environment-Based Routing

- Category: Routing
- Route requests to sandbox or production backends based on API key metadata, like Stripe.
- [View example](/examples/environment-routing.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/environment-routing)

### Idempotency Keys

- Category: Programmability
- Prevent duplicate API requests and ensure safe retries for payments and critical operations.
- [View example](/examples/idempotency-keys.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/idempotency-keys)

### Semantic Caching

- Category: Caching
- Reduce AI API costs by caching responses for semantically similar queries.
- [View example](/examples/semantic-caching.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/semantic-caching)

### OpenAI App

- Category: Model Context Protocol (MCP)
- Build a ChatGPT App that connects to your API using MCP.
- [View example](/examples/mcp-server-openai-apps-sdk.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/mcp-server-openai-apps-sdk)

### GraphQL MCP Server

- Category: Model Context Protocol (MCP)
- Make your GraphQL API available to AI assistants like Claude and ChatGPT.
- [View example](/examples/mcp-server-graphql.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/mcp-server-graphql)

### MCP Custom Tools

- Category: Model Context Protocol (MCP)
- Create AI tools that combine multiple API calls into a single action.
- [View example](/examples/mcp-server-custom-tools.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/mcp-server-custom-tools)

### MCP Server Prompts

- Category: Model Context Protocol (MCP)
- Improve AI assistant interactions by adding guided prompts to your MCP Server.
- [View example](/examples/mcp-server-prompts.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/mcp-server-prompts)

### Remote MCP Server

- Category: Model Context Protocol (MCP)
- Expose your API to AI assistants like Claude and ChatGPT with built-in security.
- [View example](/examples/remote-mcp-server.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/remote-mcp-server)

### Schema Validation with File Refs

- Category: Validation
- Validate requests against JSON schemas stored in separate files.
- [View example](/examples/schema-validation-file-ref.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/schema-validation-file-ref)

### Mocking & Unit Test

- Category: Testing
- Test your Zuplo handlers and policies with mocked request and context objects.
- [View example](/examples/test-mocks.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/test-mocks)

### Custom Base Path

- Category: Programmability
- Remove or rewrite URL paths when forwarding requests to your backend.
- [View example](/examples/oas-base-path.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/oas-base-path)

### OpenFGA Authorization

- Category: Programmability
- Implement fine-grained authorization with relationship-based access control.
- [View example](/examples/openfga.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/openfga)

### Rewrite Request Body

- Category: Programmability
- Transform request bodies before forwarding to your backend API.
- [View example](/examples/rewrite-request-body.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/rewrite-request-body)

### Route Custom Data

- Category: Programmability
- Add custom metadata to routes and use it in your policies and handlers.
- [View example](/examples/route-custom-data.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/route-custom-data)

### API Linting

- Category: API Governance
- Enforce API design standards and consistency across your team with automated linting.
- [View example](/examples/api-linting.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/api-linting)

### Backend for Frontend (BFF) Auth

- Category: Authentication
- Secure your web app by handling authentication server-side without exposing tokens to the browser.
- [View example](/examples/bff-auth.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/bff-auth)

### Custom Rate Limiting

- Category: Programmability
- Customize the error response users see when they hit your API rate limits.
- [View example](/examples/custom-429-response.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/custom-429-response)

### Custom Modules

- Category: Programmability
- Use npm packages and third-party libraries in your Zuplo handlers and policies.
- [View example](/examples/custom-module.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/custom-module)

### Log Request & Response

- Category: Programmability
- Debug API issues by capturing full request and response bodies in your logs.
- [View example](/examples/log-request-response.md) · [Source on GitHub](https://github.com/zuplo/zuplo/tree/main/examples/log-request-response)

## Next steps

- [View all examples on GitHub](https://github.com/zuplo/zuplo/tree/main/examples)
- [Read the docs](https://zuplo.com/docs)
