Skip to main content
PATCH
/
servers
/
{qualifiedName}
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 server = await client.servers.update('qualifiedName');

console.log(server.namespace);
{
  "success": true,
  "namespace": "<string>",
  "server": "<string>"
}

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Path Parameters

qualifiedName
string
required

The server's qualified name (e.g. 'namespace/server' or 'namespace' for namespace-only servers). Use %2F to encode the slash.

Body

application/json
displayName
string
description
string
homepage
string | null
license
string | null
iconUrl
string | null
unlisted
boolean

Response

Server updated

success
boolean
required
namespace
string
required
server
string
required