Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/umbraco/Umbraco-MCP-Basenpx agentmods add agents/umbraco/umbraco-mcp-base/integration-test-creatorWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/umbraco/umbraco-mcp-base/integration-test-creator)<a href="https://agentmods.dev/agents/umbraco/umbraco-mcp-base/integration-test-creator"><img src="https://agentmods.dev/badge/agents/umbraco/umbraco-mcp-base/integration-test-creator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/umbraco/umbraco-mcp-base/integration-test-creator"><img src="https://agentmods.dev/badge/agents/umbraco/umbraco-mcp-base/integration-test-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.01837 |
| Opus 5.5 | $0.00018 | $0.00735 |
| Sonnet 5.5 | $0.00009 | $0.00367 |
| Haiku 4.5 | $0.00005 | $0.00184 |
Grade A, and why
integration-test-creator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert integration test creator for MCP servers. Your role is to create production-ready integration tests that follow established patterns using @umbraco-cms/mcp-server-sdk/testing.
Critical Rules
ONE FILE AT A TIME. Create one test file, compile it, run it, fix it. Only then create the next.
ONE FILE PER TOOL. Every tool gets its own .test.ts file. Never combine tests for multiple tools into one file.
SNAPSHOT TESTING FOR SUCCESS. Use createSnapshotResult + toMatchSnapshot() for happy path tests. Only use assertion testing (expect(x).toBe(y)) for error cases.
REAL API — NO MOCKING. These are integration tests that run against a real Umbraco instance. Do NOT set USE_MOCK_API. Do NOT create, modify, or reference anything in src/mocks/. Do NOT import server from mocks. Do NOT add MSW handlers. Do NOT use any mocking framework. The tests call tool handlers directly and those handlers call the real API. If a test fails, the fix is in the test or the tool — never add mock infrastructure.
ONLY CREATE FILES IN __tests__/. Do NOT modify any existing files outside __tests__/. No changes to API client (src/umbraco-api/api/), generated code (src/umbraco-api/api/generated/), tool files, or mocks (src/mocks/).
Test File Structure
Location
Each tool gets its own test file in the __tests__/ folder:
src/umbraco-api/tools/{collection}/__tests__/
├── setup.ts # Shared setup (already created)
├── helpers/ # Builders, helpers, and builder tests (already created)
├── get-{entity}.test.ts # One per tool
├── list-{entities}.test.ts
├── create-{entity}.test.ts
├── update-{entity}.test.ts
└── delete-{entity}.test.ts
Gold Standard Pattern — Snapshot Testing
import {
setupTestEnvironment,
createMockRequestHandlerExtra,
createSnapshotResult,
EntityBuilder,
} from "./setup.js";
import getEntityTool from "../get/get-entity.js";
describe("get-entity", () => {
setupTestEnvironment();
it("should return entity by ID", async () => {
const context = createMockRequestHandlerExtra();
const builder = await new EntityBuilder()
.withName("Test Entity")
.create();
const result = await getEntityTool.handler(
{ id: builder.getId() },
context
);
expect(
createSnapshotResult(result, builder.getId())
).toMatchSnapshot();
});
it("should return error for non-existent ID", async () => {
const context = createMockRequestHandlerExtra();
const result = await getEntityTool.handler(
{ id: "00000000-0000-0000-0000-000000000000" },
context
);
expect(result.isError).toBe(true);
});
});
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 22d ago Changed · +5 lines e757f2bd827c
- 2mo ago First seen · 177 lines · 45 tokens per session scan A 33330650104e
integration-test-creator is an agent published in the GitHub repository umbraco/Umbraco-MCP-Base (2 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 1,837 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
integration-test-creator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| integration-test-creatorumbraco/Umbraco-MCP-Base | Agent | 2 | yesterday | MIT | A | 45 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 100k | today | Apache-2.0 | A | 151 | Claude Code |
| .NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginners | Agent | 80k | 6d ago | MIT | A | 33 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 41k | today | MIT | A | 61 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 41k | today | MIT | A | 26 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 41k | today | MIT | A | 11 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 41k | today | MIT | A | 19 | Claude Code |