Connect Pie to Your AI Workspace

Connect Pie to Your AI Workspace

Access Pie’s testing data directly from Claude, ChatGPT, or any MCP-compatible platform. Analyze test results, import test cases from CSV, find duplicates, manage issues, and generate reports—all through natural conversation.

Setup Guide

Step 1: Generate Your API Key

  1. Log in to app.pie.inc
  2. Go to Settings → API Keys
  3. Click + Create API Key
  4. Name your key (e.g., “Claude Integration”) and click Create
  5. Copy the key immediately—you won’t see it again
  6. Click Done to acknowledge you’ve copied the key

API Keys page with key generation dialog

Step 2: Configure Your Platform

Choose your platform and follow the configuration steps:

Claude Desktop

  1. Open Claude Desktop → Settings → Developer → Edit Config
  2. Add Pie to your configuration file:
{
  "mcpServers": {
    "pie": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.pie.inc",
        "--header",
        "X-API-Key: YOUR_API_KEY_HERE"
      ]
    }
  }
}

Note: Windows users should replace “npx” with “npx.cmd”

For multiple Pie apps:

{
  "mcpServers": {
    "pie-staging": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.pie.inc",
        "--header",
        "X-API-Key: STAGING_API_KEY"
      ]
    },
    "pie-production": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.pie.inc",
        "--header",
        "X-API-Key: PRODUCTION_API_KEY"
      ]
    }
  }
}
  1. Save the file
  2. Quit Claude completely (not just close the window) and restart

Claude config file with Pie configuration

Cursor

  1. Open Cursor settings and navigate to the MCP configuration file
  2. Add Pie to your configuration:
{
  "mcpServers": {
    "pie": {
      "url": "https://mcp.pie.inc",
      "headers": {
        "X-API-Key": "YOUR_API_KEY_HERE"
      }
    }
  }
}
  1. Save the file and restart Cursor

VS Code

  1. Open VS Code settings and locate the MCP servers configuration
  2. Add Pie to your configuration:
{
  "servers": {
    "pie": {
      "url": "https://mcp.pie.inc?api_key=YOUR_API_KEY_HERE"
    }
  }
}

Note: The API key is passed as a URL parameter in VS Code configuration.

  1. Save the file and reload VS Code

Claude Code (CLI)

Run this command in your terminal:

claude mcp add --transport http pie https://mcp.pie.inc \
  --header "X-API-Key: YOUR_API_KEY_HERE"

Replace YOUR_API_KEY_HERE with the API key you copied from Pie.

Step 3: Test Your Connection

  1. Open your AI platform and type:

    Fetch Pie
  2. You should see an overview of your app including test runs, coverage, and active issues.

Successful connection response with app overview

Available Functions

Pie’s MCP integration provides powerful functions across four main categories. Each function is designed to streamline your testing workflow through natural conversation.

Quick Function Overview

Test Case Management: Find duplicates, import from CSV, check execution issues, expand coverage

Key Features: View all features, get feature tests, archive features

Issue Management: Review issues, find duplicates, bulk reject, cross-run analysis

Reporting: Weekly summaries, coverage analysis, trend analysis

For detailed commands and usage examples, see the Complete Function Reference.

Need Help?