MCPServerConfig Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the configuration for an MCP server, including its name, endpoint, and additional metadata.
public class MCPServerConfig
type MCPServerConfig = class
Public Class MCPServerConfig
- Inheritance
-
MCPServerConfig
Constructors
| Name | Description |
|---|---|
| MCPServerConfig() | |
Properties
| Name | Description |
|---|---|
| audience |
Gets or sets the OAuth audience (Application ID) for this server. Non-null for V2 servers that require a per-audience token. Null or equal to the ATG App ID for V1 servers. |
| Headers |
Gets or sets per-server HTTP headers, including the Authorization header populated
by |
| id |
Gets or sets the id of the MCP server. |
| mcpServerName |
Gets or sets the name of the MCP server. |
| publisher |
Gets or sets the publisher identifier for this server. |
| scope |
Gets or sets the OAuth scope for this server. V2 servers supply their own scope (e.g. "api://<audience>/Tools.ListInvoke.All"). Null for V1 servers that share the ATG token. |
| url |
Gets or sets the url of the MCP server. |