Skip to main content
POST
/
v1
/
distribution
/
publish
Publish a server to the MCP registry
curl --request POST \
  --url https://api.alpic.ai/v1/distribution/publish \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": "<string>",
  "domain": "<string>",
  "title": "<string>",
  "description": "<string>",
  "websiteUrl": "<string>",
  "iconSrc": "<string>",
  "dryRun": true
}
'
{
  "serverFields": {
    "$schema": "<string>",
    "name": "<string>",
    "description": "<string>",
    "version": "<string>",
    "title": "<string>",
    "websiteUrl": "<string>",
    "icons": [
      {
        "src": "<string>",
        "mimeType": "<string>",
        "sizes": [
          "<string>"
        ]
      }
    ],
    "remotes": [
      {
        "type": "<string>",
        "url": "<string>",
        "headers": [
          {
            "name": "<string>",
            "description": "<string>",
            "isRequired": true,
            "isSecret": true
          }
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer token for authentication. Use an API key from the API Keys page in team settings, or an OAuth access token.

Body

application/json
projectId
string
required
domain
string
required
title
string
required
Required string length: 1 - 100
description
string
required
Required string length: 1 - 100
websiteUrl
string<uri>
Maximum string length: 255
iconSrc
string<uri>
Maximum string length: 255
dryRun
boolean

Response

The server has been published successfully

serverFields
object
required