dt-js-runtime

Execute server-side JavaScript/TypeScript code within the Dynatrace platform.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/mf-dynatrace/dt-mcp-workspace --skill dt-js-runtime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dt-js-runtime
Source: https://github.com/mf-dynatrace/dt-mcp-workspace/tree/main/skills/dt-js-runtime
Command: npx skills add https://github.com/mf-dynatrace/dt-mcp-workspace --skill dt-js-runtime

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @dynatrace-sdk/*, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a server-side JavaScript runtime within the Dynatrace platform, enabling the execution of JavaScript/TypeScript code and facilitating server-side operations.

Core Features & Use Cases

  • Function Execution: Execute asynchronous functions defined in the runtime.
  • API Access: Access a wide range of Web APIs and Node.js modules within the runtime environment.
  • SDK Integration: Integrate with Dynatrace SDKs to access platform services like settings, tokens, events, and the credential vault.
  • Use Case: Utilize this Skill to perform data processing, automation tasks, and API interactions within the Dynatrace environment.

Quick Start

Use the dtctl exec function command to run a JavaScript function without deploying an app. For example, to run a function from a file, execute: dtctl exec function -f script.js

Frequently Asked Questions about dt-js-runtime

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute server-side JavaScript within the Dynatrace platform?

You can execute server-side JavaScript or TypeScript within the Dynatrace platform by using the dtctl exec function command, such as running dtctl exec function -f script.js, which processes asynchronous functions without deploying an app.

Can I access Node.js modules and Web APIs in a Dynatrace server-side runtime?

Yes, the Dynatrace server-side runtime allows you to access a wide range of Web APIs and Node.js modules, enabling comprehensive data processing, automation tasks, and API interactions directly within the environment.

Does the Dynatrace JavaScript runtime support integration with platform SDKs?

Yes, the runtime supports integration with Dynatrace SDKs to access platform services, allowing your JavaScript code to interact with settings, tokens, events, and the credential vault.

What do I need to set up before running TypeScript code in Dynatrace?

To run TypeScript or JavaScript code in this runtime, you need a configured Dynatrace environment setup and the necessary @dynatrace-sdk/* dependencies installed to ensure proper platform integration and execution.