> ## Documentation Index
> Fetch the complete documentation index at: https://docs.testdino.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TestDino MCP Server

> Connect AI assistants to TestDino for querying test results and debugging failures via local CLI or remote URL.

export const VideoSchema = ({name, description, thumbnailUrl, uploadDate, duration, contentUrl, embedUrl}) => {
  const schema = {
    "@context": "https://schema.org",
    "@type": "VideoObject",
    name,
    description,
    thumbnailUrl,
    uploadDate,
    ...duration ? {
      duration
    } : {},
    ...contentUrl ? {
      contentUrl
    } : {},
    ...embedUrl ? {
      embedUrl
    } : {},
    publisher: {
      "@type": "Organization",
      name: "TestDino",
      logo: {
        "@type": "ImageObject",
        url: "https://docs.testdino.com/logo/light.svg"
      }
    }
  };
  return <script type="application/ld+json" dangerouslySetInnerHTML={{
    __html: JSON.stringify(schema)
  }} />;
};

<VideoSchema name="TestDino MCP Example" description="Example session using the TestDino MCP server with an AI assistant to debug Playwright test failures." thumbnailUrl="https://i.ytimg.com/vi/Qg4e0kEHVK0/maxresdefault.jpg" uploadDate="2025-12-16T00:00:00+00:00" contentUrl="https://www.youtube.com/watch?v=Qg4e0kEHVK0" embedUrl="https://www.youtube.com/embed/Qg4e0kEHVK0" />

Connect an AI assistant to your TestDino workspace. Query test runs, artifacts, and manual test cases in natural language.

## Pick a connection method

| Path                             | Best for                            | Auth                   |
| :------------------------------- | :---------------------------------- | :--------------------- |
| [Local MCP Server](/mcp/local)   | Claude Code, Cursor, Claude Desktop | PAT in client config   |
| [Remote MCP Server](/mcp/remote) | ChatGPT, Claude on the web          | OAuth through TestDino |

### Local MCP Server

Install on your machine, add a Personal Access Token, and connect.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/ai-and-automation/testdino-mcp/overview/local-mcp-server.webp" alt="TestDino Local MCP Server setup for Claude Code, Cursor, and Claude Desktop with a token in the client config" />

[Set up the Local MCP Server <Icon icon="arrow-right" size={14} />](/mcp/local)

### Remote MCP Server

No local install. Authorize over OAuth.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/ai-and-automation/testdino-mcp/overview/remote-mcp-server.webp" alt="TestDino Remote MCP Server connection for ChatGPT and Claude on the web using OAuth, with no local install" />

[Set up the Remote MCP Server <Icon icon="arrow-right" size={14} />](/mcp/remote)

<Tip>
  For Slack, Telegram, Discord, or WhatsApp, use [OpenClaw](/integrations/communication/openclaw). It wraps the Local MCP server as a chat bot.
</Tip>

## Example prompts

<iframe className="w-full rounded-lg" style={{ height:"400px" }} src="https://www.youtube.com/embed/Qg4e0kEHVK0" title="TestDino MCP example session debugging Playwright failures" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen />

| Prompt                                                         | What it does                               |
| :------------------------------------------------------------- | :----------------------------------------- |
| *Show me all failed tests from the last run*                   | Filters test cases by failure status       |
| *Which are the most flaky test cases from the recent 10 runs?* | Ranks tests by flaky rate                  |
| *Debug the test case "visual.spec.js" on development*          | Root cause analysis with fix suggestions   |
| *List all critical priority test cases in the checkout suite*  | Filters manual cases by priority and suite |
| *Create a smoke test run for the v2.1 release*                 | Creates a manual run scoped to a release   |

Full tool list and parameters: [Tools Reference](/mcp/tools-reference).

<CardGroup cols={2}>
  <Card title="Local MCP Server" icon="laptop-code" href="/mcp/local">
    Install for Claude Code, Cursor, or Claude Desktop
  </Card>

  <Card title="Remote MCP Server" icon="cloud" href="/mcp/remote">
    Connect ChatGPT or Claude on the web
  </Card>

  <Card title="Tools Reference" icon="wrench" href="/mcp/tools-reference">
    Parameters and examples for every tool
  </Card>

  <Card title="Troubleshooting" icon="screwdriver-wrench" href="/mcp/troubleshooting">
    Connection and auth errors
  </Card>
</CardGroup>
