Atlas / MCP servers / galaxyxieyu / API Auto Test Framework

API Auto Test FrameworkBLOCK

mcp/galaxyxieyu/api-auto-test-framework

A YAML-first API testing framework built for AI-assisted API workflows.

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
6 3r · 2w · 1d
Transport
—
License
MIT
Stars
24
01

Overview

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

YAML Declarative API Testing Framework, Optimized for AI Coding Assistants

Case study | AgentsGalaxy | GitHub

Quick Start | MCP Integration | YAML Spec | Unit Testing

Why This Framework?

When asking AI to write API tests, you might encounter these issues:

Scenario 1: Repetitive Work

Every time you ask AI to generate tests, you need to re-describe the project structure, authentication method, and assertion style. For 10 API tests, the same fixture and setup code gets generated 10 times.

Scenario 2: Token Black Hole

A simple login API test generates 200 lines of code. You find an assertion is wrong, ask AI to fix it, and it generates another 200 lines. After 3 revisions, you've consumed 2000+ Tokens, and you still end up fixing it manually.

Scenario 3: Debugging Dead Loop

AI-generated tests fail to run. You paste the error message, AI fixes it but still wrong. After 5 rounds of conversation, the problem persists, and you've burned 5000+ Tokens.

This Framework's Solution:

Traditional: Natural Language -> AI Generates Full Code -> Run Error -> Paste Error -> AI Regenerates -> Loop...
This Framework: Natural Language -> AI Generates YAML -> Framework Executes -> Locate Issue -> Fix 1 Line YAML
Read from source at commit c8edc38c8727OBSERVED · 2026-10-09
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 api-auto-test --env MCP_AUTH_TOKEN=${MCP_AUTH_TOKEN} -- uvx api-auto-test
claude-desktop
{
  "mcpServers": {
    "api-auto-test": {
      "command": "uvx",
      "args": [
        "api-auto-test"
      ],
      "env": {
        "MCP_AUTH_TOKEN": "${MCP_AUTH_TOKEN}"
      }
    }
  }
}
03

Exposed tools (6)

3 read · 2 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
delete_testcasedestructivedeleted_files: list[str] = []
get_mcp_metricsreadrequest_id = new_request_id()
get_test_resultsread获取测试执行历史
health_checkreadrequest_id = new_request_id()
write_testcasewriterequest_id = new_request_id()
write_unittestwriterequest_id = new_request_id()
04

Trust audit

BLOCKgrade D · trust 69/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 surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (4 observation(s))
Network
declared (5 observation(s))
Shell
declared (2 observation(s))
Dependencies
pinned
Secrets in source
none-found

Findings (12)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
atf/core/variable_resolver.py:60
return eval(f"dict({args_str})")
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
atf/core/variable_resolver.py:54
return importlib.import_module(f'atf.utils.{module_name}')
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete_testcase
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
atf/core/config_manager.py:22
config_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "../../config.yaml")
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:354
host: http://192.168.1.100:8080
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:357
url: http://192.168.1.100:8080/login
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README_CN.md:352
host: http://192.168.1.100:8080
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README_CN.md:355
url: http://192.168.1.100:8080/login
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/mcp_ops_config.md:49
proxy_pass http://127.0.0.1:8000;
INFOInventory / provenance · inv.oversize · CWE-1104
docs/images/mcp-architecture.png
docs/images/mcp-architecture.png
Why it matters. 1015610 bytes not read
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
README.md:73
curl -LsSf https://astral.sh/uv/install.sh | sh
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
README_CN.md:71
curl -LsSf https://astral.sh/uv/install.sh | sh

Gates applied: no_behavioural_pass.

Audited 2026-10-09 · audit v0.4.1 · source sha c8edc38c8727full audit observations/trust-audit/mcp-server/galaxyxieyu__api-auto-test-framework.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-09c8edc38c8727BLOCKD69first audit
06

Questions

What is the API Auto Test Framework MCP server?

A YAML-first API testing framework built for AI-assisted API workflows.

What tools does API Auto Test Framework expose?

6 in total: 3 read-only, 2 that write, and 1 that can delete or overwrite (delete_testcase). Every one is listed on this page with its risk.

Is API Auto Test Framework safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/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. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does API Auto Test Framework need?

It reads MCP_AUTH_TOKEN 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 current is this page?

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

Advertisement