MCP Census Preflight API

The Preflight API from MCP Census — 1 operation(s) for preflight.

GitHub OpenAPI

Operations 1

POST /v1/preflight Evaluate one exact MCP server under one built-in policy #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mcpcensus-com:mcpcensus-com-preflight-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mcpcensus-com-preflight-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MCP Census Preflight API
  description: Public-evidence Preflight for Model Context Protocol servers. Select one exact canonical Census server name and receive PASS, REVIEW, or BLOCK under an immutable built-in policy. A PASS is not a security finding or install authorization.
  version: 2.2.0
  contact:
    email: info@mcpcensus.com
servers:
- url: https://api.mcpcensus.com
  description: MCP Census API
tags:
- name: Preflight
paths:
  /v1/preflight:
    post:
      operationId: evaluateMcpServerPreflight
      summary: Evaluate one exact MCP server under one built-in policy
      description: Returns PASS, REVIEW, or BLOCK with ordered reasons, source facts and times, validity, reproducibility digests, and limitations. Anonymous calls must use refresh=never. Authenticated completed calls receive an account-scoped audit ID. A PASS does not authorize install or execution.
      security:
      - {}
      - ApiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PreflightInput'
      responses:
        '200':
          description: Completed policy decision
          headers:
            x-tier:
              schema:
                type: string
                enum:
                - free
                - registered
                - pro
              description: Resolved quota tier
            x-ratelimit-limit:
              schema:
                type: integer
            x-ratelimit-remaining:
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreflightResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: A current-liveness refresh is already in progress
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          description: Authenticated audit could not be recorded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Preflight
components:
  schemas:
    PreflightInput:
      type: object
      additionalProperties: false
      required:
      - server_name
      properties:
        server_name:
          type: string
          minLength: 1
          maxLength: 300
          description: Exact canonical Census server name
        policy_id:
          type: string
          enum:
          - builtin:baseline
          - builtin:first-party
          - builtin:strict
          default: builtin:baseline
        refresh:
          type: string
          enum:
          - never
          - if_stale
          default: never
    Error:
      type: object
      required:
      - ok
      - error
      properties:
        ok:
          const: false
        error:
          type: string
        message:
          type: string
        retry_after:
          type: integer
        reset_at:
          type: string
          format: date-time
    PreflightResult:
      type: object
      additionalProperties: false
      required:
      - ok
      - decision
      - decision_scope
      - meaning
      - server_name
      - policy
      - reasons
      - facts
      - facts_digest
      - decision_input_digest
      - engine_version
      - evaluated_at
      - valid_until
      - audit_id
      - audit_signed
      - limitations
      properties:
        ok:
          const: true
        decision:
          type: string
          enum:
          - PASS
          - REVIEW
          - BLOCK
        decision_scope:
          const: public_evidence_policy
        meaning:
          type: string
        server_name:
          type: string
        policy:
          type: object
          additionalProperties: false
          required:
          - id
          - revision
          - digest
          properties:
            id:
              type: string
              enum:
              - builtin:baseline
              - builtin:first-party
              - builtin:strict
            revision:
              const: 1
            digest:
              type: string
              pattern: ^sha256:[0-9a-f]{64}$
        reasons:
          type: array
          items:
            $ref: '#/components/schemas/PreflightReason'
        facts:
          type: object
        facts_digest:
          type: string
          pattern: ^sha256:[0-9a-f]{64}$
        decision_input_digest:
          type: string
          pattern: ^sha256:[0-9a-f]{64}$
        engine_version:
          type: string
        evaluated_at:
          type: string
          format: date-time
        valid_until:
          type: string
          format: date-time
        audit_id:
          type:
          - string
          - 'null'
          format: uuid
        audit_signed:
          const: false
        limitations:
          type: array
          items:
            type: string
    PreflightReason:
      type: object
      required:
      - code
      - result
      - summary
      - evidence
      properties:
        code:
          type: string
        result:
          type: string
          enum:
          - pass
          - review
          - block
          - context
          - not_applicable
          - unknown
        summary:
          type: string
        ecosystem:
          type: string
        artifact_id:
          type: string
        evidence:
          type: array
          items:
            $ref: '#/components/schemas/PreflightEvidence'
    PreflightEvidence:
      type: object
      properties:
        source:
          type: string
        url:
          type:
          - string
          - 'null'
          format: uri
        value: {}
        observed_at:
          type:
          - string
          - 'null'
          format: date-time
        attempted_at:
          type:
          - string
          - 'null'
          format: date-time
        freshness_enforced:
          type: boolean
        canonical_evidence_id:
          type: string
  responses:
    NotFound:
      description: Exact resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Burst, daily, refresh, or per-server cooldown limit reached
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, invalid, or revoked account API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Closed input validation failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Account API key. Required for current-liveness refresh, evaluation history, and watches.