# RegisteredMCPServerDetailsProperty

MCP server details returned after registration.

- Source: Generated at build time
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const registeredMCPServerDetailsProperty: devopsagent.CfnService.RegisteredMCPServerDetailsProperty = {
  authorizationMethod: 'authorizationMethod',
  endpoint: 'endpoint',
  name: 'name',

  // the properties below are optional
  apiKeyHeader: 'apiKeyHeader',
  description: 'description',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

registered_mcp_server_details_property = devopsagent.CfnService.RegisteredMCPServerDetailsProperty(
    authorization_method="authorizationMethod",
    endpoint="endpoint",
    name="name",

    # the properties below are optional
    api_key_header="apiKeyHeader",
    description="description"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsagent.*;

RegisteredMCPServerDetailsProperty registeredMCPServerDetailsProperty = RegisteredMCPServerDetailsProperty.builder()
        .authorizationMethod("authorizationMethod")
        .endpoint("endpoint")
        .name("name")

        // the properties below are optional
        .apiKeyHeader("apiKeyHeader")
        .description("description")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsAgent;

var registeredMCPServerDetailsProperty = new RegisteredMCPServerDetailsProperty {
    AuthorizationMethod = "authorizationMethod",
    Endpoint = "endpoint",
    Name = "name",

    // the properties below are optional
    ApiKeyHeader = "apiKeyHeader",
    Description = "description"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

registeredMCPServerDetailsProperty := &RegisteredMCPServerDetailsProperty{
	AuthorizationMethod: jsii.String("authorizationMethod"),
	Endpoint: jsii.String("endpoint"),
	Name: jsii.String("name"),

	// the properties below are optional
	ApiKeyHeader: jsii.String("apiKeyHeader"),
	Description: jsii.String("description"),
}
```

## Properties

- `apiKeyHeader`: string — API key header name if using API key authentication.

- `authorizationMethod`: string (required) — MCP server authorization method.

- `description`: string — Optional description for the MCP server.

- `endpoint`: string (required) — MCP server endpoint URL.

- `name`: string (required) — MCP server name.
