Skip to main content
PATCH
Update an MCP server

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

mcpServerID
string<uuid>
required

Body

application/json
args
string[]

A local server's arguments after the package, replacing all it has: at most 64 of at most 1024 bytes each.

auth
enum<string> | null

A remote server's. static_secret: authenticate with an API key sent as a bearer token instead of the OAuth the server advertises; refused with mcp_server_api_key_not_applicable for a server that asks for no credential. Null: the auth the probe finds, probing the URL again when the server is static_secret now.

Available options:
static_secret,
null
default_credential_policy
enum<string> | null

Null exactly for a server or plugin that needs no credential. org needs the organization's own connection to every server it covers.

Available options:
creator,
org,
null
display_name
string
Required string length: 1 - 100
enabled_by_default
boolean

True: the server is enabled on every current project that does not enable it, with its default credential policy, and on every project created later. False: every project's enablement is deleted, and no project enables it until it is true again.

env
object

A local server's declared variables, replacing all it has: a plain value, or a secret whose value each connection holds. Names are shell identifiers, never PATH, HOME, npm_config_cache or UV_CACHE_DIR. A changed runtime, package, version, args or env deletes the server's connections.

headers
object

A remote server's non-secret headers, replacing all it has; {} for none. Never Authorization, Accept, Content-Type, Last-Event-ID or an Mcp-* header. One of Aether's own servers keeps the headers Aether fixes for it (X-MCP-Readonly on github_readonly).

key
string
Pattern: ^[a-z][a-z0-9_-]{0,31}$
package
string

A local server's package name in its runtime's ecosystem syntax; refused with mcp_server_package_invalid otherwise.

required
boolean

True: a task is not created until the connection its project's credential policy names can be used, and a turn that cannot reach the server fails, naming it. False: a task whose connection cannot be used starts without the server, and its agent is not given it.

runtime
string

A local server's: npx (an npm package), uvx (a PyPI package's entry point) or python (python with a PyPI package, for python -m). Anything else is refused with mcp_server_runtime_invalid.

url
string

A remote server's. A changed URL is probed again, and deletes the server's connections.

Required string length: 1 - 2048
Pattern: ^https://
version
string

A local server's one exact release: full semver for npx, a PEP 440 version for uvx and python. latest, a range, a wildcard or a tag is refused with mcp_server_version_unpinned.

Response

OK

auth
enum<string>
required
Available options:
none,
static_secret,
oauth
connection_kind
enum<string> | null
required
Available options:
static_secret,
oauth,
github_user_credential,
sentry_installation
created_at
string<date-time>
required
default_credential_policy
enum<string> | null
required
Available options:
creator,
org
display_name
string
required
enabled_by_default
boolean
required
headers
object
required
id
string<uuid>
required
key
string
required
kind
enum<string>
required
Available options:
http
required
boolean
required
secret_names
string[]
required
source
object
required
updated_at
string<date-time>
required
url
string
required