OptionalautostartOptionalerrorLast error message that the server has returned.
OptionalheadersOptional additional headers to include in requests to the server.
The unique name of the MCP server.
OptionalresolveOptional resolve function that gets called during server definition resolution. This function can be used to dynamically modify server configurations, resolve environment variables, validate configurations, or perform any necessary preprocessing before the server starts.
The current server description
A promise that resolves to the processed server description
OptionalserverThe authentication token for the server, if required.
OptionalserverThe header name to use for the server authentication token.
The URL of the remote MCP server.
OptionalstatusThe current status of the server. Optional because only set by the server.
OptionaltoolsList of available tools for the server. Returns the name and description if available.
Flag indicating whether the server should automatically start when the application starts.