
Integrating Amazon Kiro with Dynatrace MCP Server: A Complete Guide
By integrating Amazon Kiro with Dynatrace MCP server, you can leverage powerful AI-assisted monitoring and troubleshooting capabilities directly in your development workflow.
Integrating Amazon Kiro with Dynatrace MCP Server: A Complete Guide
Introduction
In today's cloud-native environment, having real-time observability data at your fingertips is crucial. By integrating Amazon Kiro with Dynatrace MCP server, you can leverage powerful AI-assisted monitoring and troubleshooting capabilities directly in your development workflow. In this blog, we will integrate Kiro with both Dynatrace Open Source local MCP and also with Dynatrace Remote MCP .
Prerequisites
- Have a Dynatrace account or get a free 15-day trial .
- Amazon Kiro installed on your system
- Basic familiarity with AWS services and Dynatrace platform
Walking through the Kiro MCP installation process
MCP configuration in Kiro is managed through JSON files. The interface supports two levels of MCP configuration:
- User configuration: ~/.kiro/settings/mcp.json – Applies to all workspaces
- Workspace configuration: .kiro/settings/mcp.json – Specific to the current workspace
Step-by-Step Integration Guide
1.Configure Dynatrace MCP Server
- First, set up your Dynatrace Platform Token as mentioned here
- Add the needed scopes as mentioned here .
2. Configure Kiro MCP Settings
Method 1: Command Palette1.
Open command palette:
- Mac: Cmd + Shift + P
- Windows/Linux: Ctrl + Shift + P
Search "MCP" and select:
- Kiro: Open workspace MCP config (JSON) - For workspace-level
- Kiro: Open user MCP config (JSON) - For user-level
Method 2: Kiro Panel
- Open Kiro
- Click on the Kiro ghost icon to open the left side panel
- Locate the MCP SERVERS section
- Click the "Open MCP Config" button
- Add the following configuration for Dynatrace MCP Server
Note :- Only use one of the following configuration and not both at the same time.
Open Source Local MCP Server:
- Update the url by replacing $TENANT_ID with your TenantID(e.g., https://abc12345.apps.dynatrace.com)
JSON
{"mcpServers": {"dynatrace-mcp-server": {"command": "npx","args": ["-y", "@dynatrace-oss/dynatrace-mcp-server@latest"],"env": {"DT_ENVIRONMENT": "https://$TENANT_ID.apps.dynatrace.com"}}}}
Dynatrace Remote MCP Server:
- Update the url by replacing $TENANT_ID with your TenantID(e.g., https://abc12345.apps.dynatrace.com/platform-reserved/mcp-gateway/v0.1/servers/dynatrace-mcp/mcp)
- Update Authorization with $DT_PLATFRORM_TOKEN(e.g., dt0s16.XXXXX)
JSON
{"mcpServers":{"dynatrace": {"type": "http","url": "https://$TENANT_ID.apps.dynatrace.com/platform-reserved/mcp-gateway/v0.1/servers/dynatrace-mcp/mcp","headers": {"Authorization": "Bearer $DT_PLATFORM_TOKEN"},"tools": ["*"]}}}
3. Verify Integration
Kiro offers a chat panel where you can interact with your code through natural language conversations. Just tell Kiro what you need.
Natural Language Queries
You can now use natural language to:-
- Monitor application performance
- Investigate incidents
- Analyze metrics and traces
- Access real-time production data
Advanced Features
- Create custom dashboards with Dynatrace metrics
- Set up automated alerts
- Analyze application dependencies- Access detailed performance metrics
Best Practices
1. Always use secure token management
2. Implement proper access controls
3. Regularly update both Kiro and Dynatrace components
4. Monitor API usage and performance
Conclusion
This integration brings together the power of Amazon Kiro's AI capabilities with Dynatrace's comprehensive observability platform, enabling developers to access critical monitoring data through natural language queries and automated workflows.The setup process is straightforward, but the benefits are substantial: real-time insights, improved troubleshooting capabilities, and enhanced development workflows, all accessible through natural language interaction.Remember to maintain security best practices and regularly update your configurations to ensure optimal performance and security.
Resources
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article