Atlas / MCP servers / mockloop / mockloop-mcp

mockloop-mcpBLOCK

mcp/mockloop/mockloop-mcp

Intelligent Model Context Protocol (MCP) server for AI-assisted API development. Generate mock servers from OpenAPI specs with advanced logging, performance analytics, and server discovery. Optimized for AI development workflows with comprehensive testing insights and automated analysis.

Verdict
BLOCK
Grade
D
Trust score
63 /100
Exposed tools
30 17r · 13w · 0d
Transport
stdio
License
MIT
Stars
17
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

NOTE: We have [fully](https://github.com/MockLoop/mockloop-mcp/commit/2fe4f485b5a13346393a6d5ed0f8b3a4dded7bbb) implemented [SchemaPin](https://schemapin.org) to help combat questionable copies of this project on Github and elsewhere. Be sure validate you are using releases from this repo and can use SchemaPin to validate our tool schemas: https://mockloop.com/.well-known/schemapin.json

[](https://pypi.org/project/mockloop-mcp/) [](https://pypi.org/project/mockloop-mcp/) [](https://pypi.org/project/mockloop-mcp/) [](https://github.com/mockloop/mockloop-mcp/blob/main/LICENSE) [](https://github.com/mockloop/mockloop-mcp/actions) [](https://docs.mockloop.com) [](https://docs.mockloop.com/ai-integration/overview/) [](https://modelcontextprotocol.io/)

The world's first AI-native API testing platform powered by the Model Context Protocol (MCP). MockLoop MCP revolutionizes API testing with comprehensive AI-driven scenario generation, automated test execution, and intelligent analysis capabilities.

🚀 Revolutionary Capabilities: 5 AI Prompts • 15 Scenario Resources • 16 Testing Tools • 10 Context Tools • 4 Core Tools • Complete MCP Integration

📚 Documentation: https://docs.mockloop.com 📦 PyPI Package: https://pypi.org/project/mockloop-mcp/ 🐙 GitHub Repository: https://github.com/mockloop/mockloop-mcp

🌟 What Makes Mock

Read from source at commit 56ad52e01f96OBSERVED · 2026-10-10
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add mockloop-mcp --env API_KEY=${API_KEY} --env API_KEY_HEADER=${API_KEY_HEADER} --env API_TOKEN=${API_TOKEN} --env MOCKLOOP_PRIVATE_KEY_CONTENT=${MOCKLOOP_PRIVATE_KEY_CONTENT} -- uvx mockloop-mcp
claude-desktop
{
  "mcpServers": {
    "mockloop-mcp": {
      "command": "uvx",
      "args": [
        "mockloop-mcp"
      ],
      "env": {
        "API_KEY": "${API_KEY}",
        "API_KEY_HEADER": "${API_KEY_HEADER}",
        "API_TOKEN": "${API_TOKEN}",
        "MOCKLOOP_PRIVATE_KEY_CONTENT": "${MOCKLOOP_PRIVATE_KEY_CONTENT}"
      }
    }
  }
}
03

Exposed tools (30)

17 read · 13 write · 0 destructive.

ToolRiskDescription
analyze_test_resultsreadAnalyzes test results and provides comprehensive insights.
compare_test_runsreadCompares multiple test runs to identify performance changes.
create_agent_contextwriteCreates an agent context for AI agent integration.
create_context_snapshotwriteCreates a snapshot of a context for rollback capabilities.
create_test_sessionwriteCreates a new test session for workflow management.
create_test_session_contextwriteCreates a new test session context for stateful testing workflows.
create_workflow_contextwriteCreates a workflow context for managing complex testing workflows.
deploy_scenariowriteDeploys scenario to MockLoop server.
discover_mock_serversreadDiscover running MockLoop servers and generated mock configurations.
end_test_sessionreadEnds a test session and generates final reports.
execute_test_planwriteCombines scenario generation and deployment in one operation.
generate_mock_apireadGenerates a FastAPI mock server from an API specification (e.g., OpenAPI).
generate_test_reportreadGenerates formatted test reports in various formats.
get_context_datareadRetrieves data from a specific context.
get_global_context_datareadRetrieves data from the global context.
get_performance_metricsreadRetrieves and analyzes performance metrics from test results.
list_active_scenariosreadLists all active scenarios across servers.
list_contexts_by_typereadLists all contexts of a specific type.
manage_mock_datareadManage dynamic response data and scenarios for MockLoop servers.
monitor_test_progressreadMonitors ongoing test execution and provides real-time updates.
query_mock_logsreadQuery and analyze request logs from a running MockLoop server.
restore_context_snapshotreadRestores a context from a previously created snapshot.
run_load_testwriteExecutes load testing with configurable parameters.
run_security_testwriteExecutes security testing scenarios for vulnerability assessment.
run_test_iterationwriteExecutes a single test iteration with monitoring.
schedule_test_suitewriteSchedules automated test suite execution.
switch_scenarioreadSwitches active scenario on a server.
update_context_datawriteUpdates data in a specific context.
update_global_context_datawriteUpdates data in the global context.
validate_scenario_configreadValidates scenario configuration before deployment.
04

Trust audit

BLOCKgrade D · trust 63/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (5 observation(s))
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (21)

CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
src/mockloop_mcp/mcp_tools.py:33
- MOCKLOOP_PRIVATE_KEY_CONTENT="-----BEGIN PRIVATE KEY-----..."
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
scripts/verify_installation.py:308
__import__(package)
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
docs/guides/docker-integration.md:135
- DATABASE_URL=postgresql://postgres:password@postgres:5432/mockloop
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
docs/guides/docker-integration.md:370
- DATABASE_URL=postgresql://postgres:password@postgres:5432/mockloop
LOWInventory / provenance · inv.hidden_file · CWE-1104
.coveragerc
.coveragerc
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.secrets.baseline
.secrets.baseline
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
docs/.nojekyll
.nojekyll
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/getting-started/first-mock-server.md:190
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/integration/test_comprehensive_integration.py:703
server_url="http://192.0.2.1:9999",  # RFC 5737 test address
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
scripts/validate_signatures.py:233
decoded = base64.b64decode(signature)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/mockloop_mcp/schemapin/signing.py:306
signature_bytes = base64.b64decode(signature)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/mockloop_mcp/schemapin/verification.py:259
signature_bytes = base64.b64decode(signature_b64)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/mockloop_mcp/schemapin/verification.py:277
signature_bytes = base64.b64decode(signature_b64)
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
fastapi, uvicorn, Jinja2, PyYAML, requests, aiohttp, mcp, schemapin
Why it matters. 8 requirement(s) not pinned with ==
Fix. pin exact versions
LOWPrompt injection · review.reviewer_manipulation · CWE-94, CWE-1427
README.md
Be sure validate you are using releases from this repo and can use SchemaPin to validate our tool schemas
Why it matters. This README note addresses automated reviewers/auditors directly, instructing them to validate the package against SchemaPin, which is reviewer manipulation.
Fix. rewrite it so the instruction says plainly what it does, and asks the user before it acts
INFOPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
docs/ai-integration/crewai.md:94
backstory="""You are a senior research analyst with expertise in
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/contributing/development-setup.md:150
cat > .env << EOF
Why it matters. asks the agent to read credentials
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/getting-started/installation.md:303
1. Open System Properties → Advanced → Environment Variables
Why it matters. asks the agent to read credentials
INFOPrompt injection · prompt.persistence · CWE-94, CWE-1427
docs/getting-started/configuration.md:137
Add to your shell profile (`~/.bashrc`, `~/.zshrc`, etc.):
Why it matters. instructs the agent to persist itself in the user's environment
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/contributing/development-setup.md:53
curl -LsSf https://astral.sh/uv/install.sh | sh

Gates applied: critical_finding, no_behavioural_pass.

Audited 2026-10-10 · audit v0.4.1 · source sha 56ad52e01f96full audit observations/trust-audit/mcp-server/mockloop__mockloop-mcp.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-1056ad52e01f96BLOCKD63first audit
06

Questions

What is the mockloop-mcp MCP server?

Intelligent Model Context Protocol (MCP) server for AI-assisted API development. Generate mock servers from OpenAPI specs with advanced logging, performance analytics, and server discovery. Optimized for AI development workflows with comprehensive testing insights and automated analysis.

What tools does mockloop-mcp expose?

30 in total: 17 read-only, 13 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is mockloop-mcp safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (63/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does mockloop-mcp need?

It reads API_KEY, API_KEY_HEADER, API_TOKEN, MOCKLOOP_PRIVATE_KEY_CONTENT and MOCKLOOP_PRIVATE_KEY_PATH from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does mockloop-mcp run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as mockloop-mcp.

How current is this page?

The grade is for one exact copy of the source (56ad52e01f96), read on 2026-10-10. The repository is watched and re-audited when it changes.

Advertisement