SHIP AI MCP API

The mcp API from SHIP AI — 6 operation(s) for mcp.

GitHub OpenAPI

Operations 8

GET /mcp/projects/{projectId} MCP servers the project's repository declares, with their bindings #
PATCH /mcp/projects/{projectId} Set which repository file declares the project's MCP servers #
PUT /mcp/projects/{projectId}/servers/{serverName} Bind a declared MCP server: roles, approved tools and credential #
DELETE /mcp/projects/{projectId}/servers/{serverName} Remove a binding and its credential #
POST /mcp/projects/{projectId}/servers/{serverName}/tools/refresh Snapshot the server's current tool list for approval #
GET /mcp/bindings List the MCP bindings in the caller's org, with their projects (no credentials) #
POST /mcp/projects/{projectId}/servers/{serverName}/oauth/start Start OAuth consent for a bound remote MCP server #
POST /mcp/oauth/complete Finish an MCP OAuth consent with the code the provider returned #

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/letsship-ai:letsship-ai-mcp-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

letsship-ai-mcp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SHIP MCP API
  version: v1
  description: 'The SHIP product API: start and steer missions, and manage the projects, credentials and agents they run with.'
servers:
- url: https://api.letsship.ai/v1
tags:
- name: MCP
paths:
  /mcp/projects/{projectId}:
    get:
      x-audience: public
      tags:
      - MCP
      summary: MCP servers the project's repository declares, with their bindings
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      responses:
        '200':
          description: Project MCP view
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpProjectView'
        '404':
          description: Not found (also for other tenants)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getMcpProjectsByProjectId
      x-operation-id-source: derived
    patch:
      x-audience: public
      tags:
      - MCP
      summary: Set which repository file declares the project's MCP servers
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateMcpProjectRequest'
      responses:
        '200':
          description: Updated view
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpProjectView'
        '400':
          description: Invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found (also for other tenants)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: The repository's ship.yml sets the path (mcp.config); change it there
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: patchMcpProjectsByProjectId
      x-operation-id-source: derived
  /mcp/projects/{projectId}/servers/{serverName}:
    put:
      x-audience: public
      tags:
      - MCP
      summary: 'Bind a declared MCP server: roles, approved tools and credential'
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      - schema:
          type: string
          pattern: ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$
        required: true
        name: serverName
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertMcpBindingRequest'
      responses:
        '200':
          description: Binding
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpBinding'
        '400':
          description: Invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found (also for other tenants)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: putMcpProjectsByProjectIdServersByServerName
      x-operation-id-source: derived
    delete:
      x-audience: public
      tags:
      - MCP
      summary: Remove a binding and its credential
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      - schema:
          type: string
          pattern: ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$
        required: true
        name: serverName
        in: path
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteMcpBindingResponse'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found (also for other tenants)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: deleteMcpProjectsByProjectIdServersByServerName
      x-operation-id-source: derived
  /mcp/projects/{projectId}/servers/{serverName}/tools/refresh:
    post:
      x-audience: public
      tags:
      - MCP
      summary: Snapshot the server's current tool list for approval
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      - schema:
          type: string
          pattern: ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$
        required: true
        name: serverName
        in: path
      responses:
        '200':
          description: Binding with a fresh snapshot
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpBinding'
        '400':
          description: Invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found (also for other tenants)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Binding not ready
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Gateway unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postMcpProjectsByProjectIdServersByServerNameToolsRefresh
      x-operation-id-source: derived
  /mcp/bindings:
    get:
      x-audience: public
      tags:
      - MCP
      summary: List the MCP bindings in the caller's org, with their projects (no credentials)
      responses:
        '200':
          description: Bindings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListMcpBindingsResponse'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getMcpBindings
      x-operation-id-source: derived
  /mcp/projects/{projectId}/servers/{serverName}/oauth/start:
    post:
      x-audience: public
      tags:
      - MCP
      summary: Start OAuth consent for a bound remote MCP server
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      - schema:
          type: string
          pattern: ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$
        required: true
        name: serverName
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartMcpOAuthRequest'
      responses:
        '200':
          description: Consent URL
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartMcpOAuthResponse'
        '400':
          description: Invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: The MCP server's OAuth step failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Not configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postMcpProjectsByProjectIdServersByServerNameOauthStart
      x-operation-id-source: derived
  /mcp/oauth/complete:
    post:
      x-audience: public
      tags:
      - MCP
      summary: Finish an MCP OAuth consent with the code the provider returned
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompleteMcpOAuthRequest'
      responses:
        '200':
          description: Credential stored
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompleteMcpOAuthResponse'
        '400':
          description: Invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: The MCP server's OAuth step failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Not configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postMcpOauthComplete
      x-operation-id-source: derived
components:
  schemas:
    McpIsolation:
      type: object
      properties:
        kind:
          type: string
          enum:
          - remote
          - npm
          - not-isolatable
        packageSpec:
          type: string
        reason:
          type: string
          enum:
          - python
          - docker
          - repo-relative
          - binary
      required:
      - kind
    StartMcpOAuthResponse:
      type: object
      properties:
        authorizeUrl:
          type: string
        expiresAt:
          type: integer
      required:
      - authorizeUrl
      - expiresAt
    McpServerSummary:
      type: object
      properties:
        name:
          type: string
        transport:
          type: string
          enum:
          - http
          - sse
          - stdio
        origin:
          type: string
        path:
          type: string
        command:
          type: string
        displayArgs:
          type: array
          items:
            type: string
        headerNames:
          type: array
          items:
            type: string
        envNames:
          type: array
          items:
            type: string
        secretRefs:
          type: array
          items:
            type: string
        isolation:
          $ref: '#/components/schemas/McpIsolation'
      required:
      - name
      - transport
      - headerNames
      - envNames
      - secretRefs
      - isolation
      description: A server as the repository declares it. Values are never included; only names.
    McpCredentialInput:
      oneOf:
      - type: object
        properties:
          kind:
            type: string
            enum:
            - none
        required:
        - kind
      - type: object
        properties:
          kind:
            type: string
            enum:
            - headers
          headers:
            type: object
            additionalProperties:
              type: string
              minLength: 1
              maxLength: 4096
        required:
        - kind
        - headers
      - type: object
        properties:
          kind:
            type: string
            enum:
            - isolate-env
          env:
            type: object
            additionalProperties:
              type: string
              minLength: 1
              maxLength: 4096
          allowedHosts:
            type: array
            items:
              type: string
              minLength: 1
              maxLength: 253
            minItems: 1
            maxItems: 10
        required:
        - kind
        - env
        - allowedHosts
    McpApprovedTool:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 128
        attestedReadOnly:
          type: boolean
      required:
      - name
    StartMcpOAuthRequest:
      type: object
      properties:
        scope:
          type: string
          maxLength: 512
        returnTo:
          type: string
          maxLength: 512
          pattern: ^\/
    CompleteMcpOAuthRequest:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          maxLength: 2048
        state:
          type: string
          minLength: 16
          maxLength: 256
      required:
      - code
      - state
    McpBindingInventoryItem:
      type: object
      properties:
        projectId:
          type: string
        projectName:
          type: string
        serverName:
          type: string
        transport:
          $ref: '#/components/schemas/McpBindingTransport'
        status:
          $ref: '#/components/schemas/McpBindingStatus'
        statusDetail:
          type:
          - string
          - 'null'
        roles:
          type: array
          items:
            $ref: '#/components/schemas/McpRole'
        authKind:
          $ref: '#/components/schemas/McpAuthKind'
        credentialFields:
          type: array
          items:
            type: string
        updatedAt:
          type: integer
      required:
      - projectId
      - projectName
      - serverName
      - transport
      - status
      - statusDetail
      - roles
      - authKind
      - credentialFields
      - updatedAt
      description: Where an MCP credential is used, for the org's credential inventory. Never the credential itself.
    McpProjectServer:
      type: object
      properties:
        name:
          type: string
        declared:
          anyOf:
          - $ref: '#/components/schemas/McpServerSummary'
          - type: 'null'
          - type: 'null'
        binding:
          anyOf:
          - $ref: '#/components/schemas/McpBinding'
          - type: 'null'
          - type: 'null'
      required:
      - name
      - declared
      - binding
    CompleteMcpOAuthResponse:
      type: object
      properties:
        projectId:
          type: string
        serverName:
          type: string
        returnTo:
          type:
          - string
          - 'null'
      required:
      - projectId
      - serverName
      - returnTo
    UpdateMcpProjectRequest:
      type: object
      properties:
        configPath:
          type:
          - string
          - 'null'
          minLength: 1
          maxLength: 256
          pattern: ^[^/][^\0]*$
      required:
      - configPath
    McpAuthKind:
      type: string
      enum:
      - none
      - headers
      - oauth
      - isolate-env
    McpToolSnapshotEntry:
      type: object
      properties:
        name:
          type: string
        title:
          type: string
        description:
          type: string
        readOnlyHint:
          type: boolean
        destructiveHint:
          type: boolean
      required:
      - name
    ListMcpBindingsResponse:
      type: object
      properties:
        bindings:
          type: array
          items:
            $ref: '#/components/schemas/McpBindingInventoryItem'
      required:
      - bindings
    McpProjectView:
      type: object
      properties:
        projectId:
          type: string
        configPath:
          type: string
        configPathSource:
          $ref: '#/components/schemas/McpConfigPathSource'
        configRef:
          type:
          - string
          - 'null'
        configStatus:
          type: string
          enum:
          - ok
          - missing
          - invalid
          - unreadable
        configError:
          type:
          - string
          - 'null'
        warnings:
          type: array
          items:
            type: string
        servers:
          type: array
          items:
            $ref: '#/components/schemas/McpProjectServer'
      required:
      - projectId
      - configPath
      - configPathSource
      - configRef
      - configStatus
      - configError
      - warnings
      - servers
    McpBindingTransport:
      type: string
      enum:
      - remote
      - isolate
      - local
      description: 'remote: the gateway proxies to the server''s URL. isolate: the gateway runs the server''s npm package in an isolated runtime. local: the server runs inside the agent''s sandbox (no credential).'
    Error:
      type: object
      properties:
        category:
          type: string
          enum:
          - auth
          - rate_limit
          - timeout
          - validation
          - infrastructure
          - agent
          - unknown
          example: validation
        title:
          type: string
          example: Invalid request
        description:
          type: string
          example: The 'projectId' parameter must be a UUID.
        retryable:
          type: boolean
          example: false
        code:
          type: string
          example: credits_exhausted
      required:
      - category
      - title
      - description
      - retryable
    DeleteMcpBindingResponse:
      type: object
      properties:
        deleted:
          type: boolean
          enum:
          - true
      required:
      - deleted
    UpsertMcpBindingRequest:
      type: object
      properties:
        roles:
          type: array
          items:
            $ref: '#/components/schemas/McpRole'
          maxItems: 4
        transport:
          $ref: '#/components/schemas/McpBindingTransport'
        remoteUrl:
          type: string
          maxLength: 2048
          format: uri
        credential:
          $ref: '#/components/schemas/McpCredentialInput'
        approvedTools:
          type: array
          items:
            $ref: '#/components/schemas/McpApprovedTool'
          maxItems: 200
      required:
      - roles
    McpBindingStatus:
      type: string
      enum:
      - ready
      - needs_credential
      - needs_reconnect
      - origin_changed
      - bundling
      - bundle_failed
      - not_isolatable
    McpBinding:
      type: object
      properties:
        transport:
          $ref: '#/components/schemas/McpBindingTransport'
        status:
          $ref: '#/components/schemas/McpBindingStatus'
        statusDetail:
          type:
          - string
          - 'null'
        roles:
          type: array
          items:
            $ref: '#/components/schemas/McpRole'
        authKind:
          $ref: '#/components/schemas/McpAuthKind'
        pinnedUrl:
          type:
          - string
          - 'null'
        packageSpec:
          type:
          - string
          - 'null'
        allowedEgressHosts:
          type: array
          items:
            type: string
        credentialFields:
          type: array
          items:
            type: string
        toolSnapshot:
          type: array
          items:
            $ref: '#/components/schemas/McpToolSnapshotEntry'
        approvedTools:
          type: array
          items:
            $ref: '#/components/schemas/McpApprovedTool'
        toolsRefreshedAt:
          type:
          - integer
          - 'null'
        effectiveToolCounts:
          type: object
          properties:
            planner:
              anyOf:
              - type: integer
              - type: 'null'
              - type: 'null'
            builder:
              anyOf:
              - type: integer
              - type: 'null'
              - type: 'null'
            reviewer:
              anyOf:
              - type: integer
              - type: 'null'
              - type: 'null'
            qa:
              anyOf:
              - type: integer
              - type: 'null'
              - type: 'null'
        createdAt:
          type: integer
        updatedAt:
          type: integer
      required:
      - transport
      - status
      - statusDetail
      - roles
      - authKind
      - pinnedUrl
      - packageSpec
      - allowedEgressHosts
      - credentialFields
      - toolSnapshot
      - approvedTools
      - toolsRefreshedAt
      - effectiveToolCounts
      - createdAt
      - updatedAt
    McpConfigPathSource:
      type: string
      enum:
      - ship.yml
      - project
      - default
      description: 'Which layer named the MCP file: the repository''s ship.yml (mcp.config), the path set on the project, or the default .mcp.json. ship.yml wins.'
    McpRole:
      type: string
      enum:
      - planner
      - builder
      - reviewer
      - qa
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API token (pat_ or mcp_ prefix)