Koskamo

monaa-guard MCP

A pure-Rust MCP firewall and token compactor that blocks AI agents from leaking .env files or burning costs on node_modules, offering local token compaction and wire shielding with zero daily caps.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

monaa-guard MCP logo, by monaa-researchCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-12-01Published by monaa-research
MCP endpoint (Streamable HTTP)
https://monaa.tech/mcp
Vendor documentation

What its tools do

3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

3 of 3 have a description · 3 of 3 declare behavior hints · 3 of 3 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Block AI agents from leaking .env files
  • Compact tokens to reduce API costs
  • Shield MCP wire traffic in 27us
  • Prevent burning costs on node_modules

Source and maintenance

Community listingRegistry 0.1.1
Maintenance checked

Protocol and capabilities

Server
monaa-guard 0.1.1
MCP protocol negotiated in check
2025-11-25
Tools
3 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Stateless, read-only in-memory text policy inspection and compaction server with zero host shell, filesystem, or network access.

Tools

3 advertised

monaa_check_command_safety — Static Command and Path Policy Check
Advertised by the server during the last successful anonymous check.
Advertised read-only

Evaluates a tool label, command string, and file path in memory against static safety patterns using read-only matching without host process, filesystem, or network access.

monaa_check_command_safety input schema
{
  "type": "object",
  "required": [
    "tool_name"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Optional file path string checked purely in memory against restricted path patterns without filesystem access."
    },
    "command": {
      "type": "string",
      "description": "Optional command string checked purely in memory against static danger patterns without process execution."
    },
    "tool_name": {
      "type": "string",
      "minLength": 1,
      "description": "Required non-empty tool identifier evaluated against static safety rules; blank input returns JSON-RPC -32602."
    }
  },
  "additionalProperties": false
}
monaa_check_command_safety output schema
{
  "type": "object",
  "required": [
    "allowed",
    "decision",
    "rpc_code",
    "tool_name",
    "latency_ms",
    "edge_stateless",
    "reason"
  ],
  "properties": {
    "reason": {
      "type": "string",
      "description": "Human-readable explanation for the policy outcome."
    },
    "allowed": {
      "type": "boolean",
      "description": "Indicates whether the evaluated input passed static policy checks."
    },
    "decision": {
      "enum": [
        "ALLOW",
        "BLOCK"
      ],
      "type": "string",
      "description": "Policy evaluation outcome label."
    },
    "rpc_code": {
      "type": "integer",
      "description": "Zero when allowed or negative guard error code when blocked."
    },
    "tool_name": {
      "type": "string",
      "description": "Trimmed tool identifier evaluated from the request."
    },
    "latency_ms": {
      "type": "number",
      "description": "In-memory evaluation duration in milliseconds."
    },
    "edge_stateless": {
      "type": "boolean",
      "description": "Indicates stateless in-memory edge execution."
    }
  },
  "additionalProperties": false
}
monaa_check_command_safety annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
monaa_compact_payload — Stateless In-Memory Text Compactor
Advertised by the server during the last successful anonymous check.
Advertised read-only

Compacts verbose logs or text payloads in memory by removing common build directory noise, collapsing repeated lines, and normalizing whitespace without storage or network access.

monaa_compact_payload input schema
{
  "type": "object",
  "required": [
    "payload"
  ],
  "properties": {
    "payload": {
      "type": "string",
      "maxLength": 49152,
      "description": "Required raw text compacted in memory up to 49152 characters; strings shorter than 48 characters stay unchanged."
    }
  },
  "additionalProperties": false
}
monaa_compact_payload output schema
{
  "type": "object",
  "required": [
    "compacted",
    "raw_bytes",
    "compacted_bytes",
    "bytes_saved",
    "tokens_saved",
    "bloat_lines_stripped",
    "loop_echoes_collapsed",
    "edge_stateless",
    "tip"
  ],
  "properties": {
    "tip": {
      "type": "string",
      "description": "Informational local binary reference text."
    },
    "compacted": {
      "type": "string",
      "description": "Compacted text output."
    },
    "raw_bytes": {
      "type": "integer",
      "minimum": 0,
      "description": "UTF-8 byte length of the input text."
    },
    "bytes_saved": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of UTF-8 bytes removed by compaction."
    },
    "tokens_saved": {
      "type": "integer",
      "minimum": 0,
      "description": "Estimated token count reduction at four bytes per token."
    },
    "edge_stateless": {
      "type": "boolean",
      "description": "Indicates stateless in-memory edge execution."
    },
    "compacted_bytes": {
      "type": "integer",
      "minimum": 0,
      "description": "UTF-8 byte length of the compacted text."
    },
    "bloat_lines_stripped": {
      "type": "integer",
      "minimum": 0,
      "description": "Count of stripped build or vendor directory lines."
    },
    "loop_echoes_collapsed": {
      "type": "integer",
      "minimum": 0,
      "description": "Count of collapsed duplicate or repeated lines."
    }
  },
  "additionalProperties": false
}
monaa_compact_payload annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
monaa_inspect_policy — Inspect Public Policy Rules
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns public firewall patterns, allowed origins, and compactor configuration settings for read-only policy auditing without exposing credentials or contacting backend services.

monaa_inspect_policy input schema
{
  "type": "object",
  "properties": {
    "section": {
      "enum": [
        "all",
        "firewall",
        "allowlist",
        "compactor"
      ],
      "type": "string",
      "default": "all",
      "description": "Optional section selector defaulting to all (all, firewall, allowlist, or compactor)."
    }
  },
  "additionalProperties": false
}
monaa_inspect_policy output schema
{
  "type": "object",
  "required": [
    "section",
    "edge_mode",
    "origin_calls_forwarded",
    "byok_key_custody_local_only",
    "outbound_llm_keys_transmitted"
  ],
  "properties": {
    "section": {
      "enum": [
        "all",
        "firewall",
        "allowlist",
        "compactor"
      ],
      "type": "string",
      "description": "Evaluated policy section identifier."
    },
    "firewall": {
      "type": "object",
      "properties": {
        "blocked_rpc_codes": {
          "type": "object",
          "properties": {
            "schema_rug_pull": {
              "type": "integer"
            },
            "account_notional_cap": {
              "type": "integer"
            },
            "origin_or_header_mismatch": {
              "type": "integer"
            },
            "dangerous_command_or_secret_path": {
              "type": "integer"
            }
          },
          "additionalProperties": false
        },
        "blocked_path_patterns": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "self_protection_enabled": {
          "type": "boolean"
        },
        "blocked_command_patterns": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "Public static command and path pattern configuration.",
      "additionalProperties": false
    },
    "allowlist": {
      "type": "object",
      "properties": {
        "allowed_origins": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "free_daily_call_cap_mode": {
          "type": "string"
        }
      },
      "description": "Permitted client origin prefixes and daily call mode.",
      "additionalProperties": false
    },
    "compactor": {
      "type": "object",
      "properties": {
        "tip": {
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        },
        "loop_echo_dedup": {
          "type": "boolean"
        },
        "bloat_categories": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "unlimited_free_local": {
          "type": "boolean"
        }
      },
      "description": "Stateless text compactor configuration and stripped categories.",
      "additionalProperties": false
    },
    "edge_mode": {
      "type": "string",
      "description": "Stateless read-only edge operating mode label."
    },
    "origin_calls_forwarded": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of backend origin requests forwarded during inspection."
    },
    "byok_key_custody_local_only": {
      "type": "boolean",
      "description": "Indicates local-only key custody model."
    },
    "outbound_llm_keys_transmitted": {
      "type": "integer",
      "minimum": 0,
      "description": "Count of outbound model API keys transmitted."
    }
  },
  "additionalProperties": false
}
monaa_inspect_policy annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

Too few checks for a percentage yet (1 of 1 answered).

  1. 2026-12-02: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
385 ms
95th percentile latency
385 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 385 ms · metadata changed · 3 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http monaa-mcp https://monaa.tech/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add monaa-mcp --url https://monaa.tech/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable monaa-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "monaa-mcp": {
      "url": "https://monaa.tech/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "monaa-mcp": {
      "type": "streamableHttp",
      "url": "https://monaa.tech/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start monaa-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "monaa-mcp": {
      "type": "http",
      "url": "https://monaa.tech/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http monaa-mcp https://monaa.tech/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://monaa.tech/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "monaa-mcp": {
      "serverUrl": "https://monaa.tech/mcp"
    }
  }
}

Let your agent find its tools

Find servers like monaa-guard MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.