Api Mock

    2

    Instantly generate a runnable Express or Flask mock API server from a description or OpenAPI spec.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    api-mock

    Example session with this skill installed

    Create an Express mock API for a task manager with users and tasks resources.

    • Read your context and instructions
    • Compiled the api-mock

    Server saved to mock-server/
    GET /users - 200 OK (5 records)
    POST /users - 201 Created
    GET /health - {"status":"ok","resources":["users","tasks"]}

    To start: cd mock-server && npm install && npm start
    Running at: http://localhost:3001

    Connects securely to your tools. The creator never sees your data.

    About this skill

    What it does

    The API Mock Generator is a developer tool that transforms plain-English descriptions or OpenAPI specifications into fully functional, runnable mock servers. It eliminates the multi-hour task of scaffolding backend environments for frontend prototyping or integration testing. By simply describing your data model, the skill generates a complete project directory containing a server with an in-memory data store, realistic sample records, and standard RESTful CRUD endpoints.

    Supported tools

    • Frameworks: Express.js (Node.js) or Flask (Python)
    • Inputs: Natural language descriptions or OpenAPI (YAML/JSON) specs
    • Features: CORS enabled, pagination support (?limit, ?offset), and health checks

    Why use this skill

    Unlike basic LLM prompting which often produces isolated code snippets, this skill builds a structured, multi-file project designed for immediate execution. It handles "boilerplate fatigue" by automatically inferring field types, generating valid mock data for common entities (users, orders, products), and setting up the precise package headers or requirements files needed to run the server locally. It ensures your mock API behaves like a real production environment with proper HTTP status codes and error handling.

    The output

    The skill creates a mock-server/ directory containing a primary server file (JavaScript or Python), dependency manifests, and a comprehensive README.md documented with auto-generated curl examples for every endpoint.

    • In-memory data store resets on server restart
    • No built-in authentication or persistent DB support
    • Limited to Express or Flask frameworks

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 7 months ago

    Requires

    Python

    Permissions

    Terminal / Shell
    Network Access
    Environment Variables
    Listed7 months ago

    What's inside

    Frequently Asked Questions

    This skill automates the creation of a full, runnable mock backend directory including source code, dependency manifests, and sample data based on your specific project requirements.

    You can choose between an Express.js (Node.js) or a Flask (Python) server, allowing you to match your existing tech stack or preferences.

    Yes, you can provide either a natural language description of your data or upload a standard OpenAPI (YAML/JSON) specification for more precise generation.

    You receive a complete project folder containing the server file, a package.json or requirements.txt file, and a README with ready-to-use curl commands for testing.

    Absolutely; the generated code is a standard, standalone Express or Flask project that you can modify, extend, or integrate into your version control system.

    The server comes pre-configured with standard RESTful features like CORS for frontend testing, pagination support for large datasets, and basic health check endpoints.

    New in APIs & Backend