# McpInspectorResource

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.McpInspector](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.McpInspector/McpInspectorResource.cs)
- Inherits: `JavaScriptAppResource`

Resource for the MCP Inspector server.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public class McpInspectorResource
    : Aspire.Hosting.JavaScript.JavaScriptAppResource
{
    // ...
}
```

## Constructors

- [McpInspectorResource(string, string)](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectorresource/constructors.md#constructor-string-string) -- Resource for the MCP Inspector server.

## Properties

- [ClientEndpoint](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectorresource/properties.md#clientendpoint) : `EndpointReference` `get` -- Gets the client endpoint reference for the MCP Inspector.
- [DefaultMcpServer](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectorresource/properties.md#defaultmcpserver) : [McpServerMetadata?](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpservermetadata.md) `get` -- Gets the default MCP server resource.
- [McpServers](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectorresource/properties.md#mcpservers) : [IReadOnlyList<McpServerMetadata>](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpservermetadata.md) `get` -- List of MCP server resources that this inspector is aware of.
- [ProxyTokenParameter](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectorresource/properties.md#proxytokenparameter) : `ParameterResource` `get; set` -- Gets or sets the parameter that contains the MCP proxy authentication token.
- [ServerProxyEndpoint](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectorresource/properties.md#serverproxyendpoint) : `EndpointReference` `get` -- Gets the server proxy endpoint reference for the MCP Inspector.

## Fields

- [ClientEndpointName](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectorresource/fields.md#clientendpointname) : `string` `static` -- The name of the client endpoint.
- [InspectorVersion](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectorresource/fields.md#inspectorversion) : `string` `static` -- Gets the version of the MCP Inspector.
- [ServerProxyEndpointName](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectorresource/fields.md#serverproxyendpointname) : `string` `static` -- The name of the server proxy endpoint.
