# MCPServerGrafanaConfigurationProperty

Grafana MCP server configuration.

- Source: Generated at build time
- Type last changed: v2.274.0 · 20 Oct 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 mCPServerGrafanaConfigurationProperty: devopsagent.CfnAssociation.MCPServerGrafanaConfigurationProperty = {
  endpoint: 'endpoint',

  // the properties below are optional
  enabledElevatedTools: ['enabledElevatedTools'],
  enableWebhookUpdates: false,
  tools: ['tools'],
};
```

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

m_cp_server_grafana_configuration_property = devopsagent.CfnAssociation.MCPServerGrafanaConfigurationProperty(
    endpoint="endpoint",

    # the properties below are optional
    enabled_elevated_tools=["enabledElevatedTools"],
    enable_webhook_updates=False,
    tools=["tools"]
)
```

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.*;

MCPServerGrafanaConfigurationProperty mCPServerGrafanaConfigurationProperty = MCPServerGrafanaConfigurationProperty.builder()
        .endpoint("endpoint")

        // the properties below are optional
        .enabledElevatedTools(List.of("enabledElevatedTools"))
        .enableWebhookUpdates(false)
        .tools(List.of("tools"))
        .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 mCPServerGrafanaConfigurationProperty = new MCPServerGrafanaConfigurationProperty {
    Endpoint = "endpoint",

    // the properties below are optional
    EnabledElevatedTools = new [] { "enabledElevatedTools" },
    EnableWebhookUpdates = false,
    Tools = new [] { "tools" }
};
```

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"

mCPServerGrafanaConfigurationProperty := &MCPServerGrafanaConfigurationProperty{
	Endpoint: jsii.String("endpoint"),

	// the properties below are optional
	EnabledElevatedTools: []*string{
		jsii.String("enabledElevatedTools"),
	},
	EnableWebhookUpdates: jsii.Boolean(false),
	Tools: []*string{
		jsii.String("tools"),
	},
}
```

## Properties

- `enabledElevatedTools`: string[] — The mutative MCP tools enabled for this integration, by tool name.

  Only tools the service classifies as MUTATIVE may be listed; other names are rejected. Tool names can be found in the console or from the association's current configuration. The list fully replaces the stored value on update: removing a name disables that tool, and removing the property disables all elevated tools. Independent of Tools, which selects the toolsets available to the agent.

- `enableWebhookUpdates`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

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

- `tools`: string[] — List of tool categories to enable for the Grafana MCP server.
