moco
« Back to VersTracker
Description:
Stub server with Maven, Gradle, Scala, and shell integration
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: mock-server testing api stub development
Install: brew install moco
About:
Moco is a lightweight stub server tool that simplifies API mocking and testing. It allows developers to define HTTP and socket APIs via a simple JSON configuration or fluent DSL. The tool integrates seamlessly with build tools and continuous integration pipelines to provide reliable, fast, and maintainable stubs for development and testing workflows.
Key Features:
  • Easy JSON configuration for defining APIs
  • Supports both HTTP and Socket protocols
  • Integrates with Maven, Gradle, and Scala
  • Provides a fluent DSL for programmatic setup
  • Lightweight and fast for local testing
Use Cases:
  • Mocking external APIs for isolated unit and integration testing
  • Simulating backend services during frontend development
  • Creating stable test environments for CI/CD pipelines
Alternatives:
  • WireMock – WireMock is Java-based and offers extensive features but can be heavier; Moco focuses on simplicity and ease of configuration.
  • Prism – Prism is an OpenAPI-centric mock server, whereas Moco is protocol-agnostic and uses a simpler configuration format.
Version History
Detected Version Rev Change Commit
Nov 10, 2024 4:33pm 0 VERSION_BUMP 3e0722db