sysdig-mcp-server: Instructions file for Codex

AGENTS.md

sysdig-mcp-server AGENTS.md is an instructions file for Codex, OpenCode from sysdiglabs/sysdig-mcp-server. It costs 1,576 tokens per session, scanned A, original, Apache-2.0.

A developer handbook for Sysdig MCP Server, a Go server that lets language models query Sysdig Monitor, a platform for monitoring systems such as Kubernetes. It covers setup, commands, architecture, and supported connection methods.

In plain words
What is it for?
Setting up the Go project with Nix, formatting and linting code, running tests, and understanding the server's entry point and monitoring tools.
Why use it?
It provides the project context and repeatable commands needed to develop and check the server in a consistent environment.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is sysdiglabs/sysdig-mcp-server's own configuration. It tells Codex and OpenCode how to work on sysdig-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sysdig-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sysdiglabs/sysdig-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sysdiglabs/sysdig-mcp-server/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/sysdiglabs/sysdig-mcp-server

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sysdig-mcp-server AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sysdiglabs/sysdig-mcp-server/agents-md/github.svg)](https://agentmods.dev/instructions/sysdiglabs/sysdig-mcp-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sysdiglabs/sysdig-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/sysdiglabs/sysdig-mcp-server/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sysdig-mcp-server AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sysdiglabs/sysdig-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/sysdiglabs/sysdig-mcp-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,576 This file is loaded in full into every session.
When invoked 1,576 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01576 $0.01576
Opus 5.5 $0.00630 $0.00630
Sonnet 5.5 $0.00315 $0.00315
Haiku 4.5 $0.00158 $0.00158

Measured 2mo ago against content hash ec6a02213cdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sysdig-mcp-server AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sysdig MCP Server – Agent Developer Handbook

This document is a comprehensive guide for an AI agent tasked with developing and maintaining the Sysdig MCP Server.

1. Project Overview

Sysdig MCP Server is a Go-based Model Context Protocol (MCP) server that exposes Sysdig Monitor platform capabilities to LLMs. It provides tools for querying Kubernetes metrics through multiple transport protocols (stdio, streamable-http, SSE). Sysdig Secure-specific tools live in the separate @sysdig/secure-mcp-server package.

1.1. Quick Facts

Topic Details
Purpose Expose vetted Sysdig Monitor workflows to LLMs through MCP tools.
Tech Stack Go 1.26+, mcp-go, Cobra CLI, Ginkgo/Gomega, golangci-lint, Nix.
Entry Point cmd/server/main.go (Cobra CLI that wires config, Sysdig client, etc.).
Dev Shell nix develop provides a consistent development environment.
Key Commands just fmt, just lint, just test, just check, just update.

2. Environment Setup

2.1. Using Nix (Recommended)

The repository uses a Nix flake to ensure a consistent development environment with all required tools.

# Enter the development shell with all tools available
nix develop

# Or, if you use direnv, allow it to load the environment
direnv allow

2.2. Required Environment Variables

The server requires API credentials to connect to the Sysdig platform.

  • SYSDIG_MCP_API_HOST: Sysdig instance URL (e.g., https://us2.app.sysdig.com).
  • SYSDIG_MCP_API_TOKEN: Sysdig API token.

For a full list of optional variables (e.g., for transport configuration), see the project's README.md.

3. Architecture

3.1. Repository Layout

.github/workflows        - CI Workflows
cmd/server/              - CLI entry point, tool registration
internal/
  config/                - Environment variable loading and validation
  infra/
    clock/               - System clock abstraction (for testing)
    mcp/                 - MCP server handler, transport setup, middleware
      tools/             - Individual MCP tool implementations
    sysdig/              - Sysdig API client (generated + extensions)
docs/                    - Documentation assets
justfile                 - Canonical development tasks (format, lint, test, generate, update)
flake.nix                - Defines the Nix development environment and its dependencies
package.nix              - Defines how the package is going to be built with Nix

Read the full file on GitHub · 143 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 143 lines · 1,576 tokens per session scan A ec6a02213cdb

Subscribe to this mod's changes

sysdig-mcp-server AGENTS.md is an instructions file published in the GitHub repository sysdiglabs/sysdig-mcp-server (14 stars, last pushed 4d ago), licensed Apache-2.0. It adds 1,576 tokens to every session, about $0.0063 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

sysdig-mcp-server AGENTS.md compared with instructions from other repositories

sysdig-mcp-server AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sysdig-mcp-server AGENTS.mdsysdiglabs/sysdig-mcp-serverInstructions file144d agoApache-2.0A1,576Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot