Skip to main content
Glama

AI Code Security Gate

Server Details

Scans AI-generated code before it merges; blocks leaked secrets, injections and unsafe patterns.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
mohedwa1234-rgb/ai-code-security-gate
GitHub Stars
0
ChatGPT
–
Claude
–

TDQS

B3.4/5.0

Scored across 16 tools

Disambiguation4/5

Each tool targets a fairly distinct object: a file (scan_code), a log (shadow_scan), an image (media_check), a prompt (prompt_gate), a file lock, a proof, an escrow, a memory. The only real confusions are spend_check vs spend_record (authorize-only vs authorize+record) and scan_code vs shadow_scan, both of which the descriptions do enough to separate.

Naming Consistency4/5

All names are lowercase snake_case, which keeps the set readable and predictable. There is a minor inconsistency in ordering — verb_noun (acquire_lock, create_proof, scan_code) is mixed with noun_verb (memory_store, escrow_create, spend_check, brand_check, media_check), so a given action isn't always in the same position.

Tool Count4/5

16 tools is slightly above the comfortable 3–15 band, but the server bundles several sub-domains (code scanning, PII gating, budget metering, locks, proofs, escrow, memory), so most tools earn their place. No obvious redundant filler.

Completeness3/5

Several lifecycle pairs are one-sided: create_proof has no verify/get_proof, escrow_create/escrow_release have no status or cancel, memory_store/retrieve have no delete, and locks have no renew/list. Acquisition and creation work, but an agent hits dead ends when it needs to inspect, verify, or clean up what it created.

Available Tools

16 tools
acquire_lockAcquire Context LockAInspect

Acquire a DB-backed lock on a file path (TTL 1–3600s, default 300). Costs 1¢ per attempt. Fails if another agent holds a live lock.

Inputs: agent_id (required), file_path (required), api_key, ttl_seconds. Returns: result

brand_checkCheck Brand ColorsAInspect

Score extracted colors against your registered palette (RGB distance <= 30 counts as a match). Costs 2¢. Register a palette first with set_brand_palette.

Inputs: extracted_colors (required), api_key. Returns: result

create_proofCreate Behavior ProofAInspect

Create a hash-chained SHA-256 proof of an agent action (chained to the key's previous proof). Costs 2¢. Returns proof_hash + timestamp.

Inputs: action_details (required), api_key. Returns: result

escrow_createCreate EscrowBInspect

Create a simulated escrow (Pending) for an agent. Free — no per-call fee; the 1% commission on release IS the price. Amounts in cents.

Inputs: agent_id (required), amount_cents (required), api_key. Returns: result

escrow_releaseRelease EscrowAInspect

Release a Pending escrow: records a 1% commission on the released amount (the price) and adds a positive reputation point to the agent. Simulated — no real funds move.

Inputs: escrow_id (required), api_key. Returns: result

media_checkCheck Media ProvenanceAInspect

Check an image URL for a C2PA/JUMBF signature. Costs 5¢ on a successful fetch. Only C2PA counts as authentic — EXIF alone never does.

Inputs: file_url (required), api_key. Returns: result

memory_retrieveRetrieve Agent MemoryAInspect

Retrieve a project's memories for this key (newest first, max 20; optional keyword filter). Costs 2¢.

Inputs: project_id (required), query, api_key. Returns: result

memory_storeStore Agent MemoryBInspect

Store a memory for a project (isolated per API key). Costs 2¢.

Inputs: project_id (required), memory_content (required), api_key. Returns: result

prompt_gatePrompt Security & PII GateBInspect

Redact PII/secrets from a prompt and block prompt-injection phrases. Costs 1¢ per check. Returns sanitized_text, blocked, matched_phrase.

Inputs: text (required), api_key. Returns: result

release_lockRelease Context LockBInspect

Release a lock — only the agent holding it can release it. Costs 1¢ per attempt.

Inputs: agent_id (required), file_path (required), api_key. Returns: result

scan_codeScan CodeAInspect

Scan one code file before writing, committing, or merging it.

Inputs: path (required), content (required), api_key. Returns: result

set_brand_paletteSet Brand PaletteA
Idempotent
Inspect

Register your company's brand palette (hex colors, e.g. #1A2B3C). Free — this is configuration, not a metered call.

Inputs: colors (required), api_key. Returns: result

set_budgetSet Agent BudgetA
Idempotent
Inspect

Set or update a per-agent spending budget (cents). Free — this is configuration, not a metered call.

Inputs: agent_id (required), max_limit_cents (required), api_key. Returns: result

shadow_scanScan for Shadow AgentsAInspect

Scan logs for unregistered API keys, LLM endpoint calls and unknown external hosts. Costs 10¢. Give log_text or file_url (exactly one). Secret evidence is masked in the findings.

Inputs: api_key, file_url, log_text. Returns: result

spend_checkCheck Agent SpendingAInspect

Authorize-only spend check against the agent's budget (no recording). Costs 1¢ per attempt.

Inputs: agent_id (required), amount_cents (required), reason, api_key. Returns: result

spend_recordRecord Agent SpendingCInspect

Authorize AND record spending against the agent's budget. Costs 1¢ per attempt.

Inputs: agent_id (required), amount_cents (required), reason, api_key. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI coding assistants to scan every file they write before it reaches disk, blocking CRITICAL and HIGH security findings at generation time. Covers secrets, GitHub Actions AI-agent surfaces, prompt injection, Docker, Terraform, and package supply-chain risks.
      20 PyPI
      2
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Automatically detects security vulnerabilities in AI-generated code, scanning for hardcoded secrets, injection flaws, XSS, weak cryptography, authentication issues, path traversal, and vulnerable dependencies across JavaScript, Python, Java, and Go.
      13 npm
      2
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.