mock-http-server

mock-http-server is a utility for standing up a local/mock HTTP server that simulates API responses for development and testing purposes.

Evaluated Apr 04, 2026 (0d ago)
Homepage ↗ Repo ↗ DevTools mocking http testing local-dev stubs devtools
⚙ Agent Friendliness
42
/ 100
Can an agent use this?
🔒 Security
24
/ 100
Is it safe for agents?
⚡ Reliability
29
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
0
Documentation
35
Error Messages
0
Auth Simplicity
100
Rate Limits
0

🔒 Security

TLS Enforcement
20
Auth Strength
10
Scope Granularity
0
Dep. Hygiene
50
Secret Handling
50

Mock servers are often intended for local/CI use and may not enforce TLS or authentication by default. Treat it as non-production and ensure it is not exposed to untrusted networks.

⚡ Reliability

Uptime/SLA
0
Version Stability
45
Breaking Changes
40
Error Recovery
30
AF Security Reliability

Best When

You need a lightweight way to emulate HTTP endpoints and responses locally or in CI.

Avoid When

You need accurate upstream semantics, comprehensive protocol features, or robust security posture suitable for untrusted networks.

Use Cases

  • Front-end development against a simulated backend
  • Integration testing without depending on real upstream services
  • Contract testing and smoke tests with deterministic responses
  • Debugging client behavior under specific HTTP status codes and payloads

Not For

  • Production traffic handling or security-critical deployments
  • Serving as a source of truth for real API behavior
  • Use where strong authentication/authorization guarantees are required

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
No
Webhooks
No

Authentication

OAuth: No Scopes: No

No auth-related features are indicated from the provided information; typical mock servers either run without auth or rely on simple/basic configuration.

Pricing

Free tier: No
Requires CC: No

As a mock/test utility, pricing is likely not applicable or is tied to hosting/infrastructure rather than the package itself.

Agent Metadata

Pagination
none
Idempotent
False
Retry Guidance
Not documented

Known Gotchas

  • Mock behavior may not match real upstream edge cases (timeouts, streaming, headers, content negotiation).
  • If stubs are configured incorrectly, agents may see unexpected 404/500 responses without actionable guidance.

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for mock-http-server.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-04-04.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered