Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

testdriver:claude-mcp-plugin

БесплатноБез исполняемых скриптовНе проверен

claude-mcp-plugin

testdriveraiот testdriverai★ 342 звезды на GitHub

Об этом скилле

TestDriver ships as a native Claude Code plugin that bundles the TestDriver MCP server, the testdriver expert sub-agent, and all TestDriver skills. You get everything you need to drive TestDriver from Claude Code with a single install.

The plugin lives inside the testdriverai npm package at ai/.claude-plugin/plugin.json, and the marketplace entry lives at .claude-plugin/marketplace.json in this repo.

1. Get a TestDriver API key

  • Visit your team page (e.g. https://console.testdriver.ai/settings)

  • Create or copy a Team API Key (or User API Key)

  • Export it in your shell so Claude Code can pass it to the MCP server:

    export TD_API_KEY="your_api_key_here"
    

2. Install the plugin in Claude Code

From inside Claude Code, add this repo as a plugin marketplace and install the testdriver plugin:

/plugin marketplace add testdriverai/testdriverai
/plugin install testdriver@testdriver

That registers three things:

  • testdriver MCP server — spawned via npx -p testdriverai testdriverai-mcp, with TD_API_KEY forwarded from your environment.
  • testdriver sub-agent — the TestDriver expert agent from ai/agents/testdriver.md. Invoke it with @testdriver ....
  • TestDriver skills — every ai/skills/testdriver-* skill, auto-loaded by Claude Code.

3. Write tests with the agent

In a Claude Code session, delegate to the agent:

@testdriver Write a test that signs into https://example.com and adds an item to the cart.

The agent will use the TestDriver MCP tools (session_start, find, click, type, assert, …) to interactively build a Vitest test, append generated code to your test file after every action, and run it with vitest run until it passes.

For the full agent guide, see the testdriver agent definition and the MCP workflow skill.

Manual MCP configuration (no plugin)

If you prefer not to use the plugin, you can register the MCP server manually in any MCP-compatible client (Claude Desktop, Cursor, VS Code, …):

{
  "mcpServers": {
    "testdriver": {
      "command": "npx",
      "args": ["-p", "testdriverai", "testdriverai-mcp"],
      "env": {
        "TD_API_KEY": "${TD_API_KEY}"
      }
    }
  }
}

This is the same config the plugin wires up for you — the plugin just bundles it alongside the agent and skills.


Remote (hosted URL) install — no CLI, browser login

TestDriver also runs a hosted MCP server you can connect to with just a URL. There is no npx command and no API key to paste: the server speaks OAuth 2.1, so your client opens a browser, you sign in with TestDriver, and the tools appear. It exposes the full live tool set (session_start, find, click, type, assert, …) plus the read-only data tools, all scoped to your team.

Hosted endpoint:

https://mcp.testdriver.ai/mcp

The server advertises its authorization server (Auth0) via RFC 9728 protected-resource metadata at:

https://mcp.testdriver.ai/.well-known/oauth-protected-resource

Spec-compliant clients discover and complete the OAuth flow automatically:

  • Claude — add a custom connector pointing at the URL above; Claude runs the browser login for you.
  • VS Code / Copilot — add a remote MCP server entry with the URL; VS Code handles the OAuth handshake.
  • ChatGPT — add it as a connector by URL.
  • Any spec-compliant client — point it at the URL; it will read the metadata, sign you in, and connect.
{
  "mcpServers": {
    "testdriver": {
      "url": "https://mcp.testdriver.ai/mcp"
    }
  }
}

Each connection gets its own isolated sandbox, so multiple people (or multiple chats) can run tests at the same time without interfering. The API-key paths above still work for automation and CI.


Observing test runs via HTTP MCP

TestDriver also exposes test results and analytics over an HTTP MCP endpoint, so Claude Code (or any MCP-compatible client) can inspect your test runs, failures, and filters without provisioning a sandbox.

HTTP MCP endpoint contract

The HTTP endpoint lives at:

POST /api/v1/mcp

It expects the TestDriver API key in the X-Api-Key header (or Authorization: Bearer <key>).

Common request shapes:

  • List tools
{
  "kind": "list_tools"
}
  • Call a tool
{
  "kind": "call_tool",
  "tool": "list_test_runs",
  "arguments": {
    "status": "failed",
    "page": 1,
    "limit": 20
  }
}

Responses from tool calls follow the MCP content convention:

{
  "content": [
    {
      "type": "json",
      "json": {
        "testRuns": [],
Полный SKILL.md на GitHub

Установить testdriver:claude-mcp-plugin в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл testdriver:claude-mcp-plugin?

claude-mcp-plugin

Как установить скилл testdriver:claude-mcp-plugin?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл testdriver:claude-mcp-plugin запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить testdriver:claude-mcp-plugin с