{
  "openapi": "3.0.1",
  "info": {
    "title": "MCP Server Tester & Health Checker (Live Verify)",
    "description": "Test any Model Context Protocol (MCP) server URL in seconds: live initialize + tools/list handshake, OAuth/auth detection, latency, tool list, npm/PyPI/GitHub health and a 0-100 score. Search the Official MCP Registry + CapaLens (EN/ZH). For Claude, Cursor and AI agents.",
    "version": "1.1",
    "x-build-id": "IfNNnEgKeYeojzWV9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/capalens~mcp-live-verifier/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-capalens-mcp-live-verifier",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/capalens~mcp-live-verifier/runs": {
      "post": {
        "operationId": "runs-sync-capalens-mcp-live-verifier",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/capalens~mcp-live-verifier/run-sync": {
      "post": {
        "operationId": "run-sync-capalens-mcp-live-verifier",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "discover_and_verify",
              "audit_urls",
              "discover_only"
            ],
            "type": "string",
            "description": "audit_urls: test the MCP endpoints / packages / repos you list below (most common). discover_and_verify: search the Official MCP Registry + CapaLens by keyword and live-test every match. discover_only: fast catalog search, no probing (cheaper).",
            "default": "discover_and_verify"
          },
          "query": {
            "title": "Search query (EN / ZH)",
            "type": "string",
            "description": "Keyword to search in Official MCP Registry and CapaLens (supports English and Chinese, e.g. 'database', 'github', 'payments', '飞书').",
            "default": "database"
          },
          "sources": {
            "title": "Catalog sources",
            "type": "array",
            "description": "Which public directories to query in discovery modes. Allowed values: official_registry, capalens.",
            "items": {
              "type": "string"
            },
            "default": [
              "official_registry",
              "capalens"
            ]
          },
          "language": {
            "title": "CapaLens language",
            "enum": [
              "en",
              "zh"
            ],
            "type": "string",
            "description": "Language for CapaLens descriptions and summary output ('en' or 'zh').",
            "default": "en"
          },
          "targetEndpoints": {
            "title": "Target remote MCP endpoints",
            "type": "array",
            "description": "Remote MCP URLs (Streamable HTTP or SSE) to test directly, e.g. https://capalens.com/mcp. Used in audit_urls mode. Private/localhost addresses are blocked.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "targetPackages": {
            "title": "Target packages (npm: / pypi:)",
            "type": "array",
            "description": "Optional packages to audit, prefixed with 'npm:' or 'pypi:' (e.g. 'npm:@modelcontextprotocol/server-filesystem', 'pypi:mcp-server-fetch').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "targetRepos": {
            "title": "Target GitHub repositories",
            "type": "array",
            "description": "Optional GitHub repo URLs or 'owner/repo' slugs to audit.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max servers to process",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum number of servers to return. You are charged per server returned, so this is also your cost cap (10 verified servers = $0.081).",
            "default": 10
          },
          "verifyRemoteEndpoints": {
            "title": "Probe remote MCP endpoints",
            "type": "boolean",
            "description": "Send JSON-RPC initialize & tools/list to remote Streamable HTTP MCP URLs.",
            "default": true
          },
          "verifyPackages": {
            "title": "Verify npm / PyPI packages",
            "type": "boolean",
            "description": "Query npm and PyPI public registries for version, release date, license, and monthly downloads.",
            "default": true
          },
          "verifyGithub": {
            "title": "Verify GitHub repositories",
            "type": "boolean",
            "description": "Query GitHub public API for stars, forks, archived status, license, and last push date.",
            "default": true
          },
          "checkLlmsTxt": {
            "title": "Check website llms.txt",
            "type": "boolean",
            "description": "Probe the server homepage origin for /llms.txt and /.well-known/mcp.json.",
            "default": true
          },
          "requestTimeoutMs": {
            "title": "HTTP timeout (ms)",
            "minimum": 1000,
            "maximum": 30000,
            "type": "integer",
            "description": "Timeout per HTTP probe in milliseconds.",
            "default": 8000
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Number of servers to verify concurrently.",
            "default": 4
          },
          "monitorChanges": {
            "title": "Monitor mode: compare with previous run",
            "type": "boolean",
            "description": "Remember results for this exact input and flag what changed since the last run: went-down, came-up, auth-changed, protocol-changed, tools-changed. Schedule the Actor daily for MCP uptime monitoring. Changes are written to the CHANGES key-value record. No extra charge.",
            "default": false
          },
          "alertWebhookUrl": {
            "title": "Alert webhook URL (optional)",
            "type": "string",
            "description": "Public http(s) URL that receives a JSON POST ({text, changes}) after a monitored run. Slack/Discord incoming webhooks accept the 'text' field."
          },
          "alertOnlyOnChange": {
            "title": "Alert only when something changed",
            "type": "boolean",
            "description": "If off, the webhook is called after every monitored run.",
            "default": true
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}