Skip to content

Instantly share code, notes, and snippets.

@wiggitywhitney
Last active May 18, 2026 13:23
Show Gist options
  • Select an option

  • Save wiggitywhitney/f919d9d9e571e8bf6f5fba4a81fcbc55 to your computer and use it in GitHub Desktop.

Select an option

Save wiggitywhitney/f919d9d9e571e8bf6f5fba4a81fcbc55 to your computer and use it in GitHub Desktop.
Building the Datadog MCP Server — Datadog Illuminated with Reilly Wood

Building the Datadog MCP Server — Datadog Illuminated with Reilly Wood

Building the Datadog MCP Server

Associated Datadog Illuminated episode: Building the Datadog MCP Server

Building the Datadog MCP Server


BUILDING AN MCP SERVER

flowchart LR
    A["DATADOG BACKEND\n(no direct access to user)"] --> B["Datadog hosted\nDATADOG MCP SERVER"]
    B -->|HTTP| C["AGENT\n(WILDCARD)"]
    C -->|talks with| D[USER]
    D --> E["SUCCESS =\nHAPPY USER"]
Loading

TAMING THE AGENT (+ LLM) = CORRECTNESS + EFFICIENCY


CONTEXT EFFICIENCY

  • data format: JSON → YAML (nested) / CSV (flat) / TOON
  • agent control over context: ex let agents write SQL queries
  • good tool descriptions: smart yet succinct

NO TOOL SPRAWL

  • default core toolset: ex logs, metrics, traces
  • opt-in specialized toolset: ex synthetics

guide the agent

  • specialized search docs tool: RAG / efficient docs access
  • good error messages: Actionable
  • good server-level instructions: ex "use search docs tool"

Board photo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment