Skip to main content
GET
/
servers
/
{namespace}
/
{server}
/
deployments
/
{id}
JavaScript
import Smithery from '@smithery/api';

const client = new Smithery({
  apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
});

const deployment = await client.servers.deployments.get('id', {
  namespace: 'namespace',
  server: 'server',
});

console.log(deployment.id);
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "type": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "commit": "<string>",
  "commitMessage": "<string>",
  "branch": "<string>",
  "upstreamUrl": "<string>",
  "logs": [
    {
      "stage": "deploy",
      "level": "<string>",
      "message": "<string>",
      "timestamp": "<string>",
      "error": {
        "message": "<string>"
      }
    }
  ],
  "mcpUrl": "<string>"
}

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Path Parameters

namespace
string
required
server
string
required
id
string
required

Response

Deployment info

id
string<uuid>
required
status
string
required

Current deployment status: QUEUED, WORKING, SUCCESS, FAILURE, FAILURE_SCAN, AUTH_REQUIRED, CANCELLED, or INTERNAL_ERROR.

type
string
required

Deployment type: hosted_shttp (Smithery-hosted), external_shttp (external URL), or stdio (local binary).

createdAt
string
required

ISO 8601 timestamp of when the deployment was created.

updatedAt
string
required

ISO 8601 timestamp of the last status change.

commit
string | null

Git commit SHA that triggered this deployment. Present for repo and source-tracked deployments.

commitMessage
string | null

Git commit message associated with this deployment.

branch
string | null

Git branch this deployment was built from.

upstreamUrl
string | null

Upstream MCP server URL. Present only for external deployments.

logs
object[]

Deployment pipeline log entries. Only included when fetching a single deployment.

mcpUrl
string<uri>

The MCP endpoint URL for connecting to this server.