Skip to content
MCP server
RegistryRemote

DevOps & Cloud Code Auditor MCP Server

Detects database migration table locks, terraform cost leaks, and OWASP API flaws.

DevOps & Cloud Code Auditor scores 61 (Good), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It declares 5 tools. Filed under Databases, Developer tools. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by ansariiMITPython0 stars
Trust score
61Good
Trust score 61 of 100, Good

Good trust

61 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 61 comes from

22 + 15 + 0 + 10 + 4 + 10 = 61. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "ansarii-devops-code-auditor": {      "url": "https://neon_innovation_lab--devops-code-auditor.apify.actor/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools5Tool docs quality grade F

All capabilities

About

DevOps & Cloud Code Auditor (MCP Server)

Model Context Protocol Glama Quality Score Python 3.12 License: MIT Transport: stdio

A production-ready Model Context Protocol (MCP) Server providing AI coding assistants (Claude Desktop, Cursor, Windsurf, Cline) with automated static analysis tools to prevent production outages, cloud cost leaks, and security vulnerabilities.


๐ŸŒŸ Capabilities & Audited Rule Sets

This server inspects codebases across three mission-critical engineering vectors:

  1. Cloud Cost Leaks (Terraform / HCL / AWS):

    • EBS_GP2: Identifies legacy gp2 EBS volumes (gp3 provides equal durability with ~20% baseline cost reduction and higher baseline IOPS).
    • PUBLIC_IP: Flags unneeded associate_public_ip_address = true incurring hourly AWS IPv4 charges ($0.005/hr/IP).
    • CW_NO_RETENTION: Catches aws_cloudwatch_log_group missing retention policies (preventing infinite unbudgeted log ingestion costs).
    • S3_NO_LIFECYCLE: Detects S3 buckets lacking Glacier lifecycle transitions.
    • RDS_MULTIAZ_NONPROD & RDS_PROVISIONED_IOPS_NONPROD: Flags doubled database infrastructure costs on development and staging environments.
  2. PostgreSQL Migration Table Lock Hazards:

    • INDEX_NOT_CONCURRENT: Detects CREATE INDEX missing CONCURRENTLY (which acquires an EXCLUSIVE lock and halts table writes in production).
    • NOT_NULL_VOLATILE_DEFAULT: Catches ADD COLUMN ... NOT NULL DEFAULT <func()> rewriting every table row under an ACCESS EXCLUSIVE lock.
    • FK_NO_INDEX: Flags unindexed foreign key constraints causing cascading table-level sequential lock scans on parent updates/deletes.
    • FOR_UPDATE_UNBOUNDED: Catches SELECT ... FOR UPDATE missing LIMIT or SKIP LOCKED, preventing deadlocks.
  3. OWASP & Full-Stack Next.js API Security:

    • NEXT_PUBLIC_SECRET_LEAK: Flags sensitive tokens and private API keys prefixed with NEXT_PUBLIC_ that leak into public client browser bundles.
    • NEXTJS_SERVER_ACTION_NO_AUTH: Flags Next.js 14/15 Server Actions exporting mutations without explicit session auth verification.
    • SQLI_RAW_INTERPOLATION: Identifies raw SQL query templates using string interpolation instead of parameterized inputs.
    • SSRF_UNVALIDATED_FETCH: Catches external fetch calls consuming user inputs without protocol/hostname validation.

๐Ÿ› ๏ธ MCP Tools Exposed

This server implements the official Model Context Protocol specification (tools/list and tools/call):

1. audit_devops_repository

Clones a public Git repository shallowly without executing hooks, performs AST and regex static syntax audits, and returns structured findings and a formatted Markdown report.

  • Parameters:
    • repository_url (string, required): Public Git URL of the repository to audit (e.g. https://github.com/example/cloud-infra).
    • sub_directory (string, optional): Specific subdirectory within the repository to inspect (e.g. terraform/ or prisma/migrations/).
  • Returns:
    • status: "success" | "error"
    • total_findings: Number of detected issues
    • findings: Array of detailed vulnerability records (file, line number, rule ID, severity, message, fix code)
    • markdown_report: Human-readable summary table

2. audit_devops_code

Directly audits a raw code snippet of Terraform (HCL), PostgreSQL migration (SQL), or Next.js API/Server Action code.

  • Parameters:
    • code (string, required): The source code string to audit.
    • file_type (string, optional, default: "auto"): One of "terraform", "postgres", "nextjs", or "auto".
  • Returns: Structured JSON findings with exact drop-in code fixes.

3. audit_local_devops_directory

Audits a local filesystem directory on the host machine before submitting a Pull Request or deploying to staging.

  • Parameters:
    • directory_path (string, required): Absolute filesystem path to the target folder.
  • Returns: Structured JSON findings and severity breakdown.

๐Ÿš€ Client Configuration & Quickstart

1. Claude Desktop Setup

Add the server to your claude_desktop_config.json:

{
  "mcpServers": {
    "devops-code-auditor": {
      "command": "python3",
      "args": ["/path/to/devops-code-auditor/server.py"]
    }
  }
}

2. Cursor IDE / Windsurf Setup

In Cursor, navigate to Settings โ†’ Features โ†’ MCP โ†’ Add New MCP Server:

  • Name: devops-code-auditor
  • Type: command
  • Command: python3 /absolute/path/to/devops-code-auditor/server.py

3. Docker Execution

Run the isolated container via Docker:

{
  "mcpServers": {
    "devops-code-auditor": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ansarii/devops-code-auditor"
      ]
    }
  }
}

๐Ÿ’ป Example Agent Usage

Once connected, your AI assistant can evaluate migration files and cloud manifests on demand:

User: "Check this PostgreSQL migration before I run it on production:
CREATE INDEX idx_orders_user_id ON orders (user_id);"

Claude (Tool Call):
audit_devops_code({
  "code": "CREATE INDEX idx_orders_user_id ON orders (user_id);",
  "file_type": "postgres"
})

Result:
{
  "status": "success",
  "total_findings": 1,
  "findings": [
    {
      "suite": "postgres-locks",
      "rule": "INDEX_NOT_CONCURRENT",
      "severity": "high",
      "file": "migration.sql",
      "line": 1,
      "message": "CREATE INDEX on \"orders\" without CONCURRENTLY blocks table writes during build.",
      "fix": "CREATE INDEX CONCURRENTLY idx_orders_user_id ON orders (user_id);"
    }
  ]
}

๐Ÿ”’ Security Guarantee: Zero Execution

This server executes 100% static analysis using AST pattern matching and regex verification. It never executes untrusted shell commands, arbitrary Python code, or database connections on your machine.


๐Ÿ“œ License

MIT License โ€” Copyright (c) 2026 Neon Innovation Lab. Maintained by Neon Innovation Lab.

Frequently asked questions

What is DevOps & Cloud Code Auditor MCP Server?

Detects database migration table locks, terraform cost leaks, and OWASP API flaws.

How do I install DevOps & Cloud Code Auditor MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. DevOps & Cloud Code Auditor MCP Server connects to the remote endpoint https://neon_innovation_lab--devops-code-auditor.apify.actor/mcp, so there is nothing to install locally.

Is DevOps & Cloud Code Auditor MCP Server free and open source?

Yes. DevOps & Cloud Code Auditor MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does DevOps & Cloud Code Auditor MCP Server support remote (HTTP) connections?

Yes. DevOps & Cloud Code Auditor MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does DevOps & Cloud Code Auditor MCP Server provide?

DevOps & Cloud Code Auditor MCP Server provides 5 tools, including audit_devops_code, audit_devops_repository, audit_local_devops_directory, and markdown_report. See the full tool list for descriptions and parameters.

How is DevOps & Cloud Code Auditor MCP Server's trust score calculated?

DevOps & Cloud Code Auditor MCP Server scores 61 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

โ€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server