# ============================================================================
# DC Hub Intelligence — Copilot Studio / Power Platform custom MCP connector
# Swagger 2.0 (Power Platform custom-connector dialect), Streamable HTTP MCP.
# Import via: Power Apps > Custom connectors > New custom connector >
#             Import an OpenAPI file  (or Copilot Studio > Tools > Add a tool >
#             New tool > Custom connector, which deep-links to the same flow)
#
# NOTE: If you use the RECOMMENDED first-class wizard instead (Copilot Studio >
# Tools > Add a tool > New tool > Model Context Protocol), you do NOT need this
# file — just enter Name / Description / https://dchub.cloud/mcp and pick auth.
# This file is for the certifiable cross-tenant connector path.
# ============================================================================
swagger: '2.0'
info:
  title: DC Hub Intelligence
  description: >-
    Live data-center infrastructure intelligence. Provides ground-truth data on
    more than 21,000 data-center facilities across 170 countries, 300 plus
    market power-index scores, real-time grid telemetry and headroom for major
    US and international ISOs, fiber routes, gas pipelines, facility tenants,
    and tracked mergers and acquisitions. Tools cover facility search and
    scoring, market ranking, grid scoreboards, energy prices, interconnection
    queues, water risk, tax incentives, and site analysis.
  version: 1.0.0
  contact:
    name: DC Hub Support
    url: https://dchub.cloud/connect
    email: support@dchub.cloud
# x-ms-connector-metadata is read by Partner Center connector certification.
host: dchub.cloud
basePath: /
schemes:
  - https
consumes: []
produces: []
paths:
  /mcp:
    post:
      summary: DC Hub Intelligence MCP Server
      description: >-
        Model Context Protocol server exposing DC Hub data-center, grid, and
        energy infrastructure tools over the streamable HTTP transport.
      x-ms-agentic-protocol: mcp-streamable-1.0
      operationId: InvokeMCP
      responses:
        '200':
          description: Success
definitions: {}
parameters: {}
responses: {}
# --------------------------------------------------------------------------
# AUTH VARIANT A (recommended for certified connector): optional API key.
# The maker/user supplies an X-API-Key when creating the connection.
# Anonymous free tier also works: for a no-auth connector, DELETE the
# securityDefinitions and security blocks below entirely (AUTH VARIANT B).
# --------------------------------------------------------------------------
securityDefinitions:
  api_key:
    type: apiKey
    in: header
    name: X-API-Key
security:
  - api_key: []
tags: []
x-ms-connector-metadata:
  - propertyName: Website
    propertyValue: https://dchub.cloud
  - propertyName: Privacy policy
    propertyValue: https://dchub.cloud/privacy
  - propertyName: Categories
    propertyValue: AI;Data
