mcphost Claim API

The claim API from mcphost — 8 operation(s) for claim.

GitHub OpenAPI

Operations 9

GET /claim/github/callback GitHub OAuth callback that verifies the tenant owner #
GET /claim/methods.json Owner verification methods and whether this host can run each #
GET /claim/verify/{code} Magic-link verification #
GET /claim/{token} Human claim page #
POST /claim/{token} Submit the claim form #
GET /connections/callback/{provider} Tenant-level upstream connection code exchange #
GET /connections/go/{token} Redeem a one-time tenant-level upstream connection link #
GET /vault/callback Upstream-token code exchange #
GET /vault/connect/{token} Redeem a one-time upstream-token handoff link #

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/mcphost-dev:mcphost-dev-claim-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

mcphost-dev-claim-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Every non-MCP HTTP route mcphost serves, generated from the router's own route table.
  title: mcphost HTTP Claim API
  version: 0.130.14
  x-contract-version: 1.6e4b44bae3e0
servers:
- url: https://mcphost.dev
tags:
- name: Claim
paths:
  /claim/github/callback:
    get:
      operationId: get_claim_github_callback
      parameters:
      - in: query
        name: code
        required: false
        schema:
          type: string
      - in: query
        name: state
        required: false
        schema:
          type: string
      responses:
        '200':
          content:
            text/html:
              schema:
                type: string
          description: OK
        '400':
          content:
            text/html:
              schema:
                type: string
          description: Bad Request
        '502':
          content:
            text/html:
              schema:
                type: string
          description: Bad Gateway
      summary: GitHub OAuth callback that verifies the tenant owner
      tags:
      - Claim
      x-mcphost-auth: anonymous
  /claim/methods.json:
    get:
      operationId: get_claim_methods_json
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenObject'
          description: OK
      summary: Owner verification methods and whether this host can run each
      tags:
      - Claim
      x-mcphost-auth: anonymous
  /claim/verify/{code}:
    get:
      operationId: get_claim_verify_code
      parameters:
      - in: path
        name: code
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            text/html:
              schema:
                type: string
          description: OK
        '404':
          content:
            text/html:
              schema:
                type: string
          description: Not Found
      summary: Magic-link verification
      tags:
      - Claim
      x-mcphost-auth: token
  /claim/{token}:
    get:
      operationId: get_claim_token
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            text/html:
              schema:
                type: string
          description: OK
        '404':
          content:
            text/html:
              schema:
                type: string
          description: Not Found
      summary: Human claim page
      tags:
      - Claim
      x-mcphost-auth: token
    post:
      operationId: post_claim_token
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            text/html:
              schema:
                type: string
          description: OK
        '404':
          content:
            text/html:
              schema:
                type: string
          description: Not Found
      summary: Submit the claim form
      tags:
      - Claim
      x-mcphost-auth: token
  /connections/callback/{provider}:
    get:
      operationId: get_connections_callback_provider
      parameters:
      - in: path
        name: provider
        required: true
        schema:
          type: string
      - in: query
        name: code
        required: false
        schema:
          type: string
      - in: query
        name: state
        required: false
        schema:
          type: string
      - in: query
        name: error
        required: false
        schema:
          type: string
      responses:
        '200':
          content:
            text/html:
              schema:
                type: string
          description: OK
        '400':
          content:
            text/html:
              schema:
                type: string
          description: Bad Request
        '502':
          content:
            text/html:
              schema:
                type: string
          description: Bad Gateway
      summary: Tenant-level upstream connection code exchange
      tags:
      - Claim
      x-mcphost-auth: token
  /connections/go/{token}:
    get:
      operationId: get_connections_go_token
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
      responses:
        '302':
          description: Found
        '410':
          content:
            text/html:
              schema:
                type: string
          description: Gone
      summary: Redeem a one-time tenant-level upstream connection link
      tags:
      - Claim
      x-mcphost-auth: token
  /vault/callback:
    get:
      operationId: get_vault_callback
      parameters:
      - in: query
        name: code
        required: false
        schema:
          type: string
      - in: query
        name: state
        required: false
        schema:
          type: string
      responses:
        '200':
          content:
            text/html:
              schema:
                type: string
          description: OK
      summary: Upstream-token code exchange
      tags:
      - Claim
      x-mcphost-auth: anonymous
  /vault/connect/{token}:
    get:
      operationId: get_vault_connect_token
      parameters:
      - in: path
        name: token
        required: true
        schema:
          type: string
      responses:
        '302':
          description: Found
        '404':
          description: Not Found
      summary: Redeem a one-time upstream-token handoff link
      tags:
      - Claim
      x-mcphost-auth: token
components:
  schemas:
    OpenObject:
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http