# AzureConnectorNamespaceMcpServerConfigResource.AsExisting

- Module: [Aspire.Hosting.Azure.ConnectorNamespace](/reference/api/go/aspire.hosting.azure.connectornamespace.md)
- Defined on: [AzureConnectorNamespaceMcpServerConfigResource](/reference/api/go/aspire.hosting.azure.connectornamespace/azureconnectornamespacemcpserverconfigresource.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`

Marks a managed MCP server configuration as an existing Azure resource.

## Definition

```go
type AzureConnectorNamespaceMcpServerConfigResource interface {
    // ... omitted for brevity
    AsExisting() AzureConnectorNamespaceMcpServerConfigResource
}
```

## Signature

```go
AsExisting() AzureConnectorNamespaceMcpServerConfigResource
```

## Returns

[`AzureConnectorNamespaceMcpServerConfigResource`](/reference/api/go/aspire.hosting.azure.connectornamespace/azureconnectornamespacemcpserverconfigresource.md) -- The resource builder.

Returns a handle; failures surface later via `Err()`.

## Defined on

- [AzureConnectorNamespaceMcpServerConfigResource](/reference/api/go/aspire.hosting.azure.connectornamespace/azureconnectornamespacemcpserverconfigresource.md) -- `handle`
