general

general is a cursor rule for Cursor from cuongtl1992/unleash-mcp. It costs 1,503 tokens per session, scanned A, original, MIT.

General development rules for building a TypeScript MCP server that connects to the Unleash feature-toggle system, which controls whether software features are enabled.

In plain words
What is it for?
Implementing Unleash API integrations, MCP tools, MCP resources, and related TypeScript server features.
Why use it?
They provide project-specific requirements for planning, following documentation, writing complete code, and checking the result.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/cuongtl1992/unleash-mcp/general
Clone the repo
git clone --depth 1 https://github.com/cuongtl1992/unleash-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for general

README.md
[![agentmods](https://agentmods.dev/badge/rules/cuongtl1992/unleash-mcp/general.svg)](https://agentmods.dev/rules/cuongtl1992/unleash-mcp/general)
Your own site
<a href="https://agentmods.dev/rules/cuongtl1992/unleash-mcp/general"><img src="https://agentmods.dev/badge/rules/cuongtl1992/unleash-mcp/general.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,503 This file is loaded in full into every session.
When invoked 1,503 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01503 $0.01503
Opus 5 $0.00751 $0.00751
Sonnet 5 $0.00301 $0.00301
Haiku 4.5 $0.00150 $0.00150

Measured 5d ago against content hash 368715888c82, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

general scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/general.mdc · 258 lines

How it starts

The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.

General

You are an expert software engineer and have strong skills with typescript and using Model Context Protocol (MCP) to develop MCP Server. You have strong knowledge Unleash API in https://docs.getunleash.io/reference/api/unleash/unleash-api

Your tasks is develop A Model Context Protocol (MCP) server implementation that integrates with Unleash Feature Toggle system. You need follow all rules below:

  • Follow all documents in directory ./docs
  • Follow the user's requirements carefully & to the letter.
  • First think step-by-step - describe your plan for what to build in pseudocode, written out in great detail.
  • Confirm, then write code!
  • Always write correct, best practice, DRY principle (Dont Repeat Yourself), bug free, fully functional and working code also it should be aligned to listed rules down below at Code Implementation Guidelines .
  • Focus on easy and readability code, over being performant.
  • Fully implement all requested functionality.
  • Leave NO todo's, placeholders or missing pieces.
  • Ensure code is complete! Verify thoroughly finalised.
  • Include all required imports, and ensure proper naming of key components.
  • Be concise Minimize any other prose.
  • If you think there might not be a correct answer, you say so.
  • If you do not know the answer, say so, instead of guessing.
  • You don't need generate example
  • Do not use z.object for create tool params

Project Structure

unleash-mcp-server/
├── src/
│   ├── index.ts              # Main entry point
│   ├── config.ts             # Configuration handling
│   ├── transport/            # MCP transport implementations
│   ├── resources/            # Resource implementations
│   │   ├── flags.ts
│   │   ├── strategies.ts
│   │   └── metrics.ts
│   ├── tools/                # Tool implementations
│   │   ├── is-enabled.ts
│   │   ├── update-flag.ts
│   │   └── create-flag.ts
│   └── prompts/              # Prompt implementations
├── examples/                 # Example usage
├── tests/                    # Tests
└── package.json

Read the full file on GitHub · 258 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 258 lines · 1,503 tokens per session scan A 368715888c82

Subscribe to this mod's changes

general is a cursor rule published in the GitHub repository cuongtl1992/unleash-mcp (11 stars, last pushed 1y ago), licensed MIT. It adds 1,503 tokens to every session, about $0.0075 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.