Gateway

Gateway: Publish Server

Publish a new MCP server from the gateway. Requires gateway service token.

post/api/v1/gateway/servers

Request body

scopestring required
packageNamestring required
displayNamestring required
descriptionstring required
iconUrlstring uri

External icon URL. The server will fetch the icon from this URL and upload it to R2 storage. The response will contain the R2 URL.

detailedDescriptionstring
versionstring
authorstring
categorystring
tagsstring[]

Response

Server published successfully

Changes

Changed in 4 of the 11 revisions of this API.4210

    • added the new optional request property detailedDescription

      new-optional-request-property

  • ba253fbf08a7114See the full diff
    • the response property server/version became optional for the status 201

      response-property-became-optional

    • removed the optional property server/documentationUrl from the response with the 201 status

      response-optional-property-removed

    • the request property version became optional

      request-property-became-optional

    • the version request property default value 1.0.0 was added

      request-property-default-value-added

    • added the optional property server/detailedDescription to the response with the 201 status

      response-optional-property-added

    • the version response's property default value 1.0.0 was added for the status 201

      response-property-default-value-added

  • b0e6563d3fce314See the full diff
    • the response property server/repository became nullable for the status 201

      response-property-became-nullable

    • the response property server/repository became optional for the status 201

      response-property-became-optional

    • the code response property const value UNAUTHORIZED was removed for the status 401

      response-property-const-removed

    • added the new UNAUTHORIZED enum value to the code response property for the response status 401

      response-property-enum-value-added

    • api operation id postApiV1GatewayServers removed and replaced with

      api-operation-id-removed

    • added optional request body

      request-body-added-optional

    • added the optional property server/developerId to the response with the 201 status

      response-optional-property-added

    • added the optional property server/source to the response with the 201 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added