Koskamo

Habits Guard MCP

An MCP server for the Habits Guard service that allows AI agents to check user prompts for injection or jailbreak attempts. It supports checking prompts against a public guard, creating free API keys, and teaching the guard by labeling incorrect predictions to reduce false alarms.

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.

Habits Guard MCP logo, by HabitsVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-12Operated by Habits
You need:Send your API key as a bearer token on every request
MCP endpoint (Streamable HTTP)
https://habits.darmousseh.com/mcp
Vendor documentation

What its tools do

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

Read-only (1)

Can change data (2)

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.

  • Failed Endpoint failed the latest live check ·
  • Passed Official MCP Registry namespace is tied to darmousseh.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 4.3% over 90 days
  • Availability 1 of 3 checks passed in 30 days

What you can do with it

  • Check user prompts for injection or jailbreak attempts
  • Create a free API key for the guard service
  • Teach the guard by labeling incorrect predictions

Source and maintenance

Vendor evidenceRegistry 1.0.1

Protocol and capabilities

Server
habits-guard 1.0.0
MCP protocol negotiated in check
2025-06-18
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.

Call check_prompt on user-typed text before your agent acts on it. When it is wrong, call teach_guard (needs a free key from get_free_key) so your own guard learns.

Tools

3 advertised

check_prompt — Check a prompt for injection
Advertised by the server during the last successful anonymous check.
Advertised read-only

Is this user-typed text a prompt injection or jailbreak (an attempt to override, hijack or extract an AI system's instructions)? Returns flagged true/false and a 0-1 score. Without a key it uses the public guard (30 checks per day per network). With a key it uses your own guard, which learns from teach_guard; the result carries a request_id. Built for user prompts; it is weak on injections hidden in tool output or documents.

check_prompt input schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "the user prompt to check, up to 8,000 characters"
    }
  },
  "additionalProperties": false
}
check_prompt annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
teach_guard — Teach your guard
Advertised by the server during the last successful anonymous check.

Label one prompt for your own guard so it stops repeating a mistake (a false alarm on a normal request, or a missed injection). Needs an API key (get_free_key). About 50 of your own labels cut false alarms from 15% to 4% in our benchmark.

teach_guard input schema
{
  "type": "object",
  "required": [
    "text",
    "injection"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "the prompt"
    },
    "injection": {
      "type": "boolean",
      "description": "true if it IS an injection/jailbreak, false if it is a normal request"
    }
  },
  "additionalProperties": false
}
teach_guard annotations
{
  "readOnlyHint": false,
  "idempotentHint": true
}
get_free_key — Get a free API key
Advertised by the server during the last successful anonymous check.

Create a free Habits account and API key (no email). The key is shown once; set it as the Authorization: Bearer header for this MCP server. The free plan has a fixed $0.10/day spend cap and its own trainable injection guard.

get_free_key input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "username": {
      "type": "string",
      "description": "optional: 2-32 of a-z 0-9 -"
    }
  },
  "additionalProperties": false
}
get_free_key annotations
{
  "readOnlyHint": 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.

4.3% (2 of 46 checks answered)

  1. 2026-11-14: 1 of 1 checks answered
  2. 2026-11-15: 1 of 2 checks answered
  3. 2026-11-16: 0 of 4 checks answered
  4. 2026-11-17: 0 of 5 checks answered
  5. 2026-11-18: 0 of 5 checks answered
  6. 2026-11-19: 0 of 4 checks answered
  7. 2026-11-20: 0 of 3 checks answered
  8. 2026-11-21: 0 of 4 checks answered
  9. 2026-11-22: 0 of 4 checks answered
  10. 2026-11-23: 0 of 3 checks answered
  11. 2026-11-24: 0 of 4 checks answered
  12. 2026-11-25: 0 of 4 checks answered
  13. 2026-11-26: 0 of 3 checks answered

30-day availability

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

Successful checks
1 of 3 (33.3%)
Average latency
205 ms
95th percentile latency
477 ms

Maintenance history

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

  • · probe · failed · 3 ms · getaddrinfo ENOTFOUND habits.darmousseh.com
  • · probe · failed · 93 ms · getaddrinfo ENOTFOUND habits.darmousseh.com
  • · probe · passed · 520 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 habits-guard-mcp https://habits.darmousseh.com/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 habits-guard-mcp --url https://habits.darmousseh.com/mcp

Cursor

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

Cline

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

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start habits-guard-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "habits-guard-mcp": {
      "type": "http",
      "url": "https://habits.darmousseh.com/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 habits-guard-mcp https://habits.darmousseh.com/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://habits.darmousseh.com/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": {
    "habits-guard-mcp": {
      "serverUrl": "https://habits.darmousseh.com/mcp"
    }
  }
}

Let your agent find its tools

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

Do you run Habits Guard MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing