Scans AI-generated code before it merges; blocks leaked secrets, injections and unsafe patterns.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Gate API key (sk-gate-...). Get one at https://ai-code-security-gate.onrender.com — 20 free scans per key, then 5 cents per scan.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
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.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http ai-code-security-gate https://ai-code-security-gate.onrender.com/mcp
Headers
X-API-Key (optional, not in the config above): Gate API key (sk-gate-...). Get one at https://ai-code-security-gate.onrender.com — 20 free scans per key, then 5 cents per scan.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.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| agent_id* | string | |
| file_path* | string | |
| ttl_seconds | integer |
{
"type": "object",
"required": [
"file_path",
"agent_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"agent_id": {
"type": "string"
},
"file_path": {
"type": "string"
},
"ttl_seconds": {
"type": "integer",
"default": 300
}
},
"additionalProperties": false
}Score extracted colors against your registered palette (RGB distance <= 30 counts as a match). Costs 2¢. Register a palette first with set_brand_palette.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| extracted_colors* | array |
{
"type": "object",
"required": [
"extracted_colors"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"extracted_colors": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}Create a hash-chained SHA-256 proof of an agent action (chained to the key's previous proof). Costs 2¢. Returns proof_hash + timestamp.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| action_details* | string |
{
"type": "object",
"required": [
"action_details"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"action_details": {
"type": "string"
}
},
"additionalProperties": false
}Create a simulated escrow (Pending) for an agent. Free — no per-call fee; the 1% commission on release IS the price. Amounts in cents.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| agent_id* | string | |
| amount_cents* | integer |
{
"type": "object",
"required": [
"agent_id",
"amount_cents"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"agent_id": {
"type": "string"
},
"amount_cents": {
"type": "integer"
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| escrow_id* | integer |
{
"type": "object",
"required": [
"escrow_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"escrow_id": {
"type": "integer"
}
},
"additionalProperties": false
}Check an image URL for a C2PA/JUMBF signature. Costs 5¢ on a successful fetch. Only C2PA counts as authentic — EXIF alone never does.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| file_url* | string |
{
"type": "object",
"required": [
"file_url"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"file_url": {
"type": "string"
}
},
"additionalProperties": false
}Retrieve a project's memories for this key (newest first, max 20; optional keyword filter). Costs 2¢.
| Argument | Type | Description |
|---|---|---|
| query | any | |
| api_key | any | |
| project_id* | string |
{
"type": "object",
"required": [
"project_id"
],
"properties": {
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"project_id": {
"type": "string"
}
},
"additionalProperties": false
}Store a memory for a project (isolated per API key). Costs 2¢.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| project_id* | string | |
| memory_content* | string |
{
"type": "object",
"required": [
"project_id",
"memory_content"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"project_id": {
"type": "string"
},
"memory_content": {
"type": "string"
}
},
"additionalProperties": false
}Redact PII/secrets from a prompt and block prompt-injection phrases. Costs 1¢ per check. Returns sanitized_text, blocked, matched_phrase.
| Argument | Type | Description |
|---|---|---|
| text* | string | |
| api_key | any |
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Release a lock — only the agent holding it can release it. Costs 1¢ per attempt.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| agent_id* | string | |
| file_path* | string |
{
"type": "object",
"required": [
"file_path",
"agent_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"agent_id": {
"type": "string"
},
"file_path": {
"type": "string"
}
},
"additionalProperties": false
}Scan one code file before writing, committing, or merging it.
| Argument | Type | Description |
|---|---|---|
| path* | string | File path, e.g. "app.py" — used to pick language-aware rules. |
| api_key | any | Your paid API key (required — or send it as an X-API-Key header, or set GATE_API_KEY once). Without a key no scan runs. With a key, each scan costs $0.05 after your first 20 free scans; out of credit returns payment instructions (USDC on Base) instead of a scan. |
| content* | string | The full file content to scan. |
{
"type": "object",
"required": [
"path",
"content"
],
"properties": {
"path": {
"type": "string",
"description": "File path, e.g. \"app.py\" — used to pick language-aware rules."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your paid API key (required — or send it as an X-API-Key\nheader, or set GATE_API_KEY once).\nWithout a key no scan runs. With a key, each scan costs $0.05\nafter your first 20 free scans; out of credit returns payment\ninstructions (USDC on Base) instead of a scan."
},
"content": {
"type": "string",
"description": "The full file content to scan."
}
},
"additionalProperties": false
}Register your company's brand palette (hex colors, e.g. #1A2B3C). Free — this is configuration, not a metered call.
| Argument | Type | Description |
|---|---|---|
| colors* | array | |
| api_key | any |
{
"type": "object",
"required": [
"colors"
],
"properties": {
"colors": {
"type": "array",
"items": {
"type": "string"
}
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Set or update a per-agent spending budget (cents). Free — this is configuration, not a metered call.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| agent_id* | string | |
| max_limit_cents* | integer |
{
"type": "object",
"required": [
"agent_id",
"max_limit_cents"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"agent_id": {
"type": "string"
},
"max_limit_cents": {
"type": "integer"
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| file_url | any | |
| log_text | any |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"file_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"log_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Authorize-only spend check against the agent's budget (no recording). Costs 1¢ per attempt.
| Argument | Type | Description |
|---|---|---|
| reason | string | |
| api_key | any | |
| agent_id* | string | |
| amount_cents* | integer |
{
"type": "object",
"required": [
"agent_id",
"amount_cents"
],
"properties": {
"reason": {
"type": "string",
"default": ""
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"agent_id": {
"type": "string"
},
"amount_cents": {
"type": "integer"
}
},
"additionalProperties": false
}Authorize AND record spending against the agent's budget. Costs 1¢ per attempt.
| Argument | Type | Description |
|---|---|---|
| reason | string | |
| api_key | any | |
| agent_id* | string | |
| amount_cents* | integer |
{
"type": "object",
"required": [
"agent_id",
"amount_cents"
],
"properties": {
"reason": {
"type": "string",
"default": ""
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"agent_id": {
"type": "string"
},
"amount_cents": {
"type": "integer"
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 6, 2026.
Takes a password, API key or token as an argument, so the secret passes through the model's context and chat logs.
Fix: Read credentials from the server's own configuration (environment, OAuth) instead of a tool argument.