steampunk-spotter-mcp

v6.7.0
steampunk-spotter-mcp Checked 3 days ago Published 25 days ago

MCP server for Steampunk Spotter: Lets AI agents verify Ansible and Terraform code against your policies.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

spotter_scan

Scan Infrastructure-as-Code content with Steampunk Spotter: Ansible (e.g., playbooks, roles, collections) and Terraform (e.g., modules, providers, data sources). Scan either content on the disk (path) or inline files that are passed by value (files). Returns a summary, then findings grouped by check. Each message is followed by the files (relative to the scanned path) and line numbers where it occurs, on indented lines. Checks marked * can be fixed automatically.

ParameterTypeDescription
ansible_versionTarget Ansible Core version to scan against, from 2.0 to 2.20 (e.g., 2.20). When omitted, Spotter tries to discover it on the system and otherwise considers all Ansible versions.
display_levelReport only check results with this level or greater (e.g., warning shows warnings and errors, but suppresses hints). Defaults to hint, which reports everything.
enforce_checksCheck IDs of the checks to enforce (e.g., ["E001", "W400", "H904"]).
exclude_pathsFiles and directories to omit from the scan. Should be absolute paths (e.g., ["/repo/vars.yml", "/repo/roles/legacy"]).
filesInline files to scan instead of content on the disk. Use them to scan content that is not (yet) saved, such as generated or edited files. Omit them when path is provided.
max_linesintegerMaximum number of lines of findings to report. Findings are reported by severity, so hints are omitted first. Use 0 to get only the summary and the list of checks that were found.
pathPath to a file or directory with Ansible or Terraform content. Should be absolute path. Omit it when files are provided.
profileProfile with the selected set of checks to be used for scanning (e.g., default).
project_idUUID of an existing Steampunk Spotter project where the scan result will be stored. When omitted, the default project from the default organization is used.
rewritebooleanRewrite the scanned files in place, applying the fixes that Spotter suggests. It cannot be used with inline files, which are scanned from a temporary copy.
skip_checksCheck IDs of the checks to skip (e.g., ["E101", "H500", "W1800"]).