M00N ReportQuick Start
Documentation/MCP / AI Integration/Quick Start

MCP Quick Start

Connect Claude Desktop or Cursor to your M00N Report data in under 5 minutes. Ask questions about your test results, analyze trends, and get insights powered by AI.

What is MCP?

Model Context Protocol (MCP) is an open standard that allows AI assistants like Claude and Cursor to securely access external data sources. With M00N Report's MCP integration, you can:

Ask Natural Questions

"What's our test pass rate this week?" or "Which tests are flaky?"

Analyze Trends

Get AI-powered insights on test reliability and performance patterns.

Secure Access

MCP keys inherit your permissions-you only see projects you have access to.

Real-Time Data

Queries run against live data-no stale exports or manual updates.

Prerequisites

  • Node.js 18+ installed (for npx to work)
  • Claude Desktop or Cursor installed
  • Network access from your machine to the M00N Report API

Setup Steps

1

Create an MCP Key

Log in to M00N Report and navigate to Settings → MCP Keys. Click Create Key and:

  1. Select the user whose permissions the key should inherit
  2. Give the key a descriptive name (e.g., "Claude Desktop - Work Laptop")
  3. Click Create Key
Important: Copy your key immediately-it won't be shown again! The key starts with m00n_mcp_.
2

Add the MCP Server to Your AI Assistant

Add this server entry to your AI assistant's MCP config. The same JSON works for Claude Desktop, Cursor, and any other MCP-compatible client - add it at user or project scope, wherever your tool keeps its MCP servers.

{
  "mcpServers": {
    "m00n": {
      "command": "npx",
      "args": ["-y", "@m00nsolutions/mcp-server"],
      "env": {
        "M00N_API_URL": "https://m00nreport.com",
        "M00N_API_KEY": "m00n_mcp_your_key_here"
      }
    }
  }
}
3

Restart Your AI Assistant

Close and reopen Claude Desktop or Cursor. The MCP server will start automatically when the AI assistant launches.

Tip: Check the AI assistant's MCP/tools panel to verify that "m00n" appears in the list of connected servers.
4

Start Asking Questions!

Try these example prompts:

  • "List my M00N Report projects"
  • "What's the test pass rate for [project name] over the last 30 days?"
  • "Show me the top 10 flaky tests in [project name]"
  • "Which tests are failing most often?"
  • "Get me the failed test runs from this week"

What's Next?