Vibeleaderboard
← All Intel
Intel / article

Investigate hosts without SSH using Datadog Agent MCP

Source
datadoghq.com
Date
Why it matters

Lets Claude Code, Codex or Cursor read host logs, configs and processes through a restricted read-only shell under access policies, so investigations need no SSH session or prior log ingestion.

Key takeaways · AI-distilled
  • Datadog Agent lets assistants such as Claude Code, Codex and Cursor read files and inspect processes on hosts running the Datadog Agent, through the Remote Actions toolset, without opening an SSH session.
  • Commands run in rshell, a restricted that supports pipes, loops and conditionals but executes purpose-built Go versions of commands like cat, grep and ps. Read-only investigations invoke no host shell or external binaries, and file writes are blocked.
  • Because reads happen on demand, an assistant can search local logs or config files that a team never ingested into Datadog Log Management, for example logs excluded for volume or cost.
  • Access is bounded by and command allowlists, execution policies, local Agent config, RBAC and Audit Trail logging. On Linux, Landlock restricts file access and seccomp limits the worker's system calls; the rshell code is open source.
  • Datadog describes write and elevated-privilege remediation, such as restarting a service or truncating a runaway log, as planned and opt-in. The feature is in preview.
Terms in this piece · Glossary
  • Model Context Protocol (MCP) — A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.
  • Terminal and shell — A text interface for navigating files and running programs.
  • MCP server — A program that provides tools, resources and prompt templates to an MCP client; it may run on the same machine as the application or remotely.
  • Path — A description of a file or folder location, written using directory names and separators.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.datadoghq.com
Tools in this story
Recommended reads