基于代码变更生成单元测试代码,支持多种测试场景。\n\n
AI agents use generate-tests to create or update resources in Frontend Test Generation & Code Review MCP Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Frontend Test Generation & Code Review MCP Server environment.
This tool creates or modifies test code files, which is reversible and fits the Write category. While it generates code, it specifically targets test files rather than production code, and the generated tests can be edited, deleted, or regenerated.
From the tool's definition The tool description states it generates unit test code based on code changes ("基于代码变更生成单元测试代码"). The English translation of the Chinese text is: 'Generate unit test code based on code changes, supporting multiple test scenarios.' This is a code generation…
Attacks that exploit this kind of access
基于代码变更生成单元测试代码,支持多种测试场景。\n\n. It is categorised as a Write tool in the Frontend Test Generation & Code Review MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Frontend Test Generation & Code Review MCP Server MCP server in PolicyLayer and add a rule for generate-tests: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Frontend Test Generation & Code Review MCP Server. Nothing to install.
generate-tests is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the generate-tests rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for generate-tests. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
generate-tests is provided by the Frontend Test Generation & Code Review MCP Server MCP server (northseacoder/fe-testgen-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →