Borrowing it
Nothing to install: this file belongs to christianclaudio/mcp-server-sigma. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/christianclaudio/mcp-server-sigma/main/AGENTS.mdgit clone --depth 1 https://github.com/christianclaudio/mcp-server-sigmaWrote 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.
[](https://agentmods.dev/instructions/christianclaudio/mcp-server-sigma/agents-md)<a href="https://agentmods.dev/instructions/christianclaudio/mcp-server-sigma/agents-md"><img src="https://agentmods.dev/badge/instructions/christianclaudio/mcp-server-sigma/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.
<a href="https://agentmods.dev/instructions/christianclaudio/mcp-server-sigma/agents-md"><img src="https://agentmods.dev/badge/instructions/christianclaudio/mcp-server-sigma/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.06176 | $0.06176 |
| Opus 5.5 | $0.02470 | $0.02470 |
| Sonnet 5.5 | $0.01235 | $0.01235 |
| Haiku 4.5 | $0.00618 | $0.00618 |
Grade C, and why
mcp-server-sigma AGENTS.md scanned grade C with 2 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 yesterday.
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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf dist && uv build && uv run python scripts/check_version.py Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -o /dev/null -w '%{http_code}\n' https://pypi.org/pypi/mcp-server-sigma/X.Y.Z/json # prints 404 How it starts
The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Instructions for AI coding agents (Antigravity, Claude Code, Copilot, Cursor, Windsurf) working on this repository or integrating Sigma Computing cloud analytics capabilities.
🎯 Project Overview
This is mcp-server-sigma — an enterprise Python Model Context Protocol (MCP) server for Sigma Computing, built on its public REST API (v2 and v3alpha); scripts/check_openapi_drift.py lists the spec endpoints the client does not cover. Bulk-destructive tools are listed in full and refused at call time unless enabled; the expected per-profile tool counts live in scripts/check_tool_contract.py.
Primary Purpose: Expose deep cloud business intelligence, embedded analytics, workbook lineage, SQL data modeling, user/team administration, and tenant token exchange to AI agents with strict enterprise safety gates, offline testing, and multi-tenant token isolation.
🏗️ Key Paths
src/sigma_mcp/server.py— root gateway:create_servermounts the domain sub-servers (workbooks,datasets,elements,workspace,admin) with matching namespaces, then applies the job allowlist, the read-only filter, and (onfullonly) Tool Search or Code Mode; prompts, resources.src/sigma_mcp/profiles.py—PROFILES(full,readonly, and the job profilesanalyst,author,modeler,embed,access_admin), their tool allowlists,FULL_ONLY_TOOLS,BULK_DESTRUCTIVE_TOOLS, and thereadOnlyHintfilter.src/sigma_mcp/tools/<domain>.py— domain sub-servers (admin,datasets,elements,workbooks,workspace);tools/common.pyholds theANNOTATION_*constants and shared helpers.src/sigma_mcp/client.py— async HTTP client (SigmaClient,_encode_segment(), RFC 8693 token exchange).SSRFSafeAsyncTransportresolves each request's host once (the ASCII/IDNA name, off the event loop), checks every address, and connects only to a checked one through a pinned httpcore network backend, trying the next checked address if a connect fails while the request's connect timeout lasts (one deadline shared by all the addresses, not a fresh timeout for each); the URL keeps the hostname for the Host header, TLS SNI, certificate verification and per-hostname connection pooling. A host with no checked address and Unix sockets are refused. The API client, the documentation fetches andscripts/check_openapi_drift.pyall use it. httpx ignores env proxies whenever a transport is passed (allow_env_proxies = trust_env and transport is None), so connections always go direct through the pin; egress-proxy deployments need a proxy-aware transport, which isn't provided;trust_env=Falseon the drift fetch is belt-and-braces.errors.py— exceptions and secret redaction.auth.py—SharedTokenVerifier, the FastMCPTokenVerifierthatcreate_server()attaches at build wheneverSIGMA_MCP_AUTH_TOKENis set (stripped, non-blank), somain(),fastmcp runandhttp_app()all enforce it (constant-time compare; stdio ignores it);main()also attaches it at serve time if the env was set after import, and refuses (exit 2) a tokenless HTTP bind to a host other than127.0.0.1,::1orlocalhostunlessSIGMA_MCP_ALLOW_UNAUTHENTICATED_BIND=1.webhooks.py— HMAC verification.middleware.py— read-only gate (readOnlyHintonly, unwraps the Tool Searchcall_toolproxy) and the admin bulk-destructive gate.config.py— settings.scripts/check_tool_contract.py— source of truth for expected tool counts and annotations.README.mdand four test files repeat some of these counts (SIGNED_OFFintests/test_profiles.py, the 257 intests/test_unit.py,tests/test_enterprise_assertion.pyandtests/test_layered.py), so change them together; do not add new copies.scripts/check_openapi_drift.py,scripts/write_ops_check.py(live create-and-teardown against a Sigma org; needsSIGMA_CLIENT_ID,SIGMA_CLIENT_SECRET, andSIGMA_API_BASE_URL),scripts/check_conformance.sh+conformance-baseline.yml.scripts/release_notes.py— release body from squash commits since the previousv*tag.scripts/check_version.py— runs after the build and reads the version from the single wheel indist/(the file that ships, as release.yml's tag check does); fails on0.0.0(no git metadata) or0.0.1.devN(no reachable tag, a shallow checkout).tests/— unit tests are offline; live network tests live intests/test_e2e_live.py(markedpytest.mark.e2e, deselected by default pytestaddopts-m 'not e2e', run with-m e2e). That test sets no skip and no env check; tool calls useget_client, which requiresSIGMA_CLIENT_IDandSIGMA_CLIENT_SECRET. The unmarkedtest_dispatch_tool_call_offlinein that file stays in the default suite.tests/test_integration_live.pyskips unlessSIGMA_LIVE_TESTS=1andSIGMA_CLIENT_IDare set. Security-hardening, webhook, and protocol tests aretests/test_security_hardening.py,tests/test_webhooks.py, andtests/test_protocol.py. Profile, read-only, and composition tests aretests/test_profiles.pyandtests/test_layered.py. Version and release-tooling tests aretests/test_version.py,tests/test_release_notes.py, andtests/test_check_version.py..github/workflows/—ci.yml,release.yml(on av*tag: build with full history, check the wheel version matches the tag, build the release notes, publish to PyPI, create the GitHub Release fromscripts/release_notes.py, then push the Docker image only after the publish job succeeds, then stamp the tag version intoserver.jsonand publish to the MCP Registry in a lastregistryjob that needs the Docker job),sigma-drift-monitor.yml,dependabot-automerge.yml(squash auto-merge only for Dependabot PRs whose highest update is minor or patch; major updates wait for a human review).server.json(MCP Registry metadata),Dockerfile,pyproject.toml.
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.
- yesterday Changed · +2 lines · +234 tokens per session e04d6b590449
- 2d ago Changed · +14 tokens per session 7a9a54d8aa75
- 5d ago Changed · +1 lines · +83 tokens per session e5dff24a66d7
- 6d ago Changed · +2 lines · +656 tokens per session a81c3270e847
- 9d ago Changed 2bbe3cb9973d
- 13d ago Changed · +66 tokens per session 625bbeb0e074
- 16d ago Changed · +472 tokens per session b4ee52676c7a
- 18d ago Changed · +2 lines · +700 tokens per session 24cbd854dd9a
- 19d ago Changed · +33 lines · +1,854 tokens per session scan A → C 8a49d87f516f
- 22d ago First seen · 120 lines · 2,097 tokens per session scan A 9f1016c71e09
mcp-server-sigma AGENTS.md is an instructions file published in the GitHub repository christianclaudio/mcp-server-sigma (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 6,176 tokens to every session, about $0.0247 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
vscode model-prompts.instructions.md
Model-specific prompt authoring and registry guidelines.