Deskcert logo

Deskcert

Tests AI agents on your web app with Playwright, scoring task completion and blocking forbidden actions.

Install Deskcert

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "deskcert": {
      "command": "npx",
      "args": [
        "-y",
        "deskcert-cli"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio deskcert -- npx -y deskcert-cli

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y deskcert-cli

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The deskcert MCP server runs agent safety suites against internal web applications through Playwright. Its stdio MCP interface exposes a `run_suite` tool, allowing deployment pipelines or orchestrating agents to invoke suite execution without shelling out to the CLI. Suites define a target URL, tasks, success checks, and forbidden actions in YAML. Use it when you need CI gates for browser-based agents operating staging, local, or VPN-protected web apps.

Use cases

  • Evaluate an agent against an internal admin panel
  • Block forbidden browser actions in CI
  • Compare agent behavior on a staging web app
  • Run safety suites from an orchestrating agent
  • Validate task completion with Playwright

Key features

  • Exposes a stdio MCP `run_suite` tool
  • Runs browser-based suites with Playwright
  • Intercepts and records forbidden actions
  • Supports YAML task suites for custom web apps
  • Provides CI exit codes for score and safety gates
  • Includes scripted and pluggable agent adapters

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 98d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · deskcert-cli (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads99Package downloads in the last 30 days.
Last commit22d agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.

How Deskcert works

What the deskcert MCP server does

The deskcert MCP server evaluates whether an AI agent can perform approved tasks in a web application without attempting actions that the suite forbids. You author the test suite for the application under review rather than using a fixed benchmark environment. This makes it suitable for internal admin panels, dashboards, CRUD tools, and other browser-accessible systems.

Each task identifies the application through a target_url, describes the work the agent should perform, and lists named forbidden_actions. The runner checks task outcomes and applies the forbidden-action policy independently from the numeric score. An attempted forbidden action is intercepted before it reaches the page, recorded with its action name and step number, and causes the suite gate to fail.

The deskcert MCP server is scoped to web applications. It does not provide native desktop automation, VM snapshots, or operating-system-level control for Windows or macOS applications.

How it works

DeskCert drives the target site with Playwright. An agent adapter receives a screenshot and an accessibility-tree text dump, then returns the next action. The project includes a scripted adapter that requires no model or API key, while the adapter interface can be connected to an external or in-house agent loop.

The MCP mode is started with deskcert mcp and exposes run_suite over standard input and output. A deployment pipeline or coordinating agent can call that tool instead of launching the command-line runner directly. The same project also provides CLI commands for initializing suites, running them, and applying CI-specific exit codes.

For CI, exit code 0 indicates a pass, 1 indicates that the score is below the configured threshold, and 2 indicates at least one forbidden-action violation. This lets a pipeline distinguish an insufficient score from an agent attempting an explicitly blocked operation. The score reflects only the tasks and guardrails defined in the suite; it is not a general certification of the agent.

Setup and configuration

Install either package before using the deskcert MCP server:

  • npm: npm install -g deskcert-cli
  • PyPI: pip install deskcert-cli

Install the Chromium browser used by Playwright with npx playwright install chromium for the npm installation or playwright install chromium for the Python installation.

Run deskcert init to create an example suite and fixture application, or provide your own suite directory with --suite. A suite can target a local fixture, staging system, or internal application reachable through the relevant network. The schema accepts only http:// and https:// target URLs; file:// and javascript: URLs are rejected.

The Python package also includes deskcert serve-fixture, while the npm package can run the bundled fixture server directly with Node. Both package implementations expose the same init, run, ci, and mcp command surface and are expected to produce equivalent scoring results.

Tools and capabilities

The deskcert MCP server provides the run_suite MCP tool over stdio. Its surrounding CLI supports these related capabilities:

  • Create an example suite and fixture with init.
  • Run a suite with a selected agent adapter through run.
  • Apply CI pass, threshold, and forbidden-action gates through ci.
  • Start the MCP interface with mcp.
  • Intercept and record forbidden actions before page execution.
  • Score task completion while keeping guardrail violations as unconditional failures.

Suites are written in YAML and validated against the included JSON Schema. The browser runner can use the bundled scripted adapter for repeatable initial tests or CI self-tests, or an implementation of the two-method AgentAdapter interface for another agent framework.

Limitations and notes

Testing is limited to browser-driven web applications. The project does not claim to assess an agent across arbitrary desktop software or a complete operating-system environment. Results depend on the tasks, success checks, forbidden actions, and threshold selected in the suite.

A successful numeric score does not override a forbidden-action violation. Conversely, the suite score is not a broad safety rating: it describes the specific application and scenarios that were executed. The MCP transport documented here is stdio, so the calling client must be able to launch and communicate with a local MCP process.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Deskcert

deskcert is an MCP server that connects an AI agent to browser-based test suites for internal web applications through Playwright. Its main MCP tool, `run_suite`, executes YAML-defined tasks, checks completion, intercepts forbidden actions, records violations, and returns results for pipeline or orchestrator decisions.

Install it with `npm install -g deskcert-cli` or `pip install deskcert-cli`, then install Chromium with the corresponding Playwright command. Start MCP mode with `deskcert mcp`; the interface communicates over stdio.

Create or copy a suite with `deskcert init`, then set its `target_url`, tasks, success checks, and forbidden actions. The URL must use `http://` or `https://`, and the suite can target a local, staging, or internal web application.

DeskCert intercepts the action before it reaches the page and records its name and step number. The suite gate fails unconditionally, and `deskcert ci` exits with code `2` for a forbidden-action violation.

Yes. DeskCert exposes a standard stdio MCP server through `deskcert mcp`, so it can be used with MCP clients that support local stdio servers, including Cursor.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDeskcert AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/deskcert?style=directory)](https://allmcps.com/mcp/deskcert)
HTML Embed
<a href="https://allmcps.com/mcp/deskcert"><img src="https://allmcps.com/api/badge/deskcert?style=directory" alt="Deskcert on AllMCPs" /></a>