Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

christian-kreuzberger-dtx
Copy link
Collaborator

@christian-kreuzberger-dtx christian-kreuzberger-dtx commented Sep 25, 2025

In order to avoid unwanted and unauthorized sending of data, e.g., because of Prompt Injection, we are introducing a human in the loop. Furthermore, we are making sure that the message/body sent contains an information about sensitive data.

dynatrace-mcp-server-elicitation.mp4

Content-wise, this is what we get on the receiving end (no actual log data, just summaries! Awesome!)
image

src/index.ts Show resolved Hide resolved
@MrManny MrManny requested a review from Copilot September 29, 2025 09:51
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces human-in-the-loop approval for potentially sensitive operations to prevent unauthorized data sending due to prompt injection attacks. The implementation uses MCP's elicitation feature to request user approval before executing critical operations.

  • Added human approval mechanism using MCP's elicitation API for four critical tools
  • Enhanced parameter descriptions to discourage sending sensitive data like log lines
  • Added elicitation capability to the server configuration

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/index.ts Added elicitation capability, human approval function, and approval steps for sensitive tools
CHANGELOG.md Documented the new human approval feature for critical operations

src/index.ts Show resolved Hide resolved
src/index.ts Show resolved Hide resolved
src/index.ts Show resolved Hide resolved
@christian-kreuzberger-dtx christian-kreuzberger-dtx merged commit f4b9100 into main Sep 29, 2025
4 checks passed
@christian-kreuzberger-dtx christian-kreuzberger-dtx deleted the feature/human-approval branch September 29, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.