repo.run_tests

Run only the configured test command.

Server ForLoop MCP master0ffate/forloop-mcp
Category Execute
Risk class High
Parameters 00 required

What repo.run_tests does on ForLoop MCP

AI agents invoke repo.run_tests to trigger actions in ForLoop MCP. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.

Why repo.run_tests needs a policy

The tool invokes a pre-configured but externally-defined test command, which can execute arbitrary code including network calls, file writes, or other side effects. While constrained to a single configured command (reducing blast radius vs. unrestricted Execute), it still triggers code execution whose actual behavior is opaque to the AI agent.

From the tool's definition Tool description states "Run only the configured test command" — this executes arbitrary code (the test suite) via a shell command, whose effects depend on test implementation and side effects.

Questions about repo.run_tests

What does the repo.run_tests tool do? +

Run only the configured test command. It is categorised as a Execute tool in the ForLoop MCP MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on repo.run_tests? +

Register the ForLoop MCP server in PolicyLayer and add a rule for repo.run_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 ForLoop MCP. Nothing to install.

What risk level is repo.run_tests? +

repo.run_tests is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit repo.run_tests? +

Yes. Add a rate_limit block to the repo.run_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.

How do I block repo.run_tests completely? +

Set action: deny in the PolicyLayer policy for repo.run_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.

What MCP server provides repo.run_tests? +

repo.run_tests is provided by the ForLoop MCP server (master0ffate/forloop-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.