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.
git clone --depth 1 https://github.com/zackiles/cursor-configWrote 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.
[](https://agentmods.dev/rules/zackiles/cursor-config/with-mcp)<a href="https://agentmods.dev/rules/zackiles/cursor-config/with-mcp"><img src="https://agentmods.dev/badge/rules/zackiles/cursor-config/with-mcp/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/zackiles/cursor-config/with-mcp"><img src="https://agentmods.dev/badge/rules/zackiles/cursor-config/with-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.04701 |
| Opus 5.5 | $0.00000 | $0.01880 |
| Sonnet 5.5 | $0.00000 | $0.00940 |
| Haiku 4.5 | $0.00000 | $0.00470 |
Grade A, and why
with-mcp 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 604 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context on a Model Context Protocol (MCP) Server
You're working on an MCP server and must use this information to guide your decisions and opinions. MCP servers provide LLMs with tools, resources, and prompts they can access with either stdio or server side events (WebSockets).
MCP Message Types
Protocol: JSON-RPC2.0
Requests → Initiate operations; require a unique ID and method name.
Responses → Reply to requests; must include the same ID as the request.
Notifications → One-way messages; must not include an ID.
MCP Clien/Server Lifecycle
Initialization Phase:
- Client sends
initializerequest with protocol version, capabilities, and implementation info. - Server responds with its protocol version and capabilities.
- Client sends
initializednotification after successful initialization.
Version Negotiation:
- Client proposes protocol version in
initializerequest. - Server responds with supported version.
- If versions are incompatible, client should disconnect.
Capability Negotiation:
- Both client and server declare supported capabilities during initialization.
- Key capabilities:
- Client:
roots: Provides filesystem roots.sampling: Supports LLM sampling requests.
- Server:
prompts: Offers prompt templates.resources: Provides readable resources.tools: Exposes callable tools.logging: Emits structured log messages.
- Client:
Operation Phase:
- After initialization, normal protocol operations commence.
Shutdown Phase:
- Client disconnects to terminate the connection gracefully.
MCP Tools
Purpose
Facilitates LLM interaction with external systems (APIs, databases, computations) via server-exposed tools.
](mdc:https:/spec.modelcontextprotocol.io/specification/2024-11-05/server/tools)
Endpoints
tools/list
- Request: Optional
cursorfor pagination. - Response: List of tools +
nextCursorif more available.
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.
- 1mo ago First seen · 604 lines · 0 tokens per session scan A bb9e2aed787c
with-mcp is a cursor rule published in the GitHub repository zackiles/cursor-config (17 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,701 tokens. 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-30.
Other cursor rules, from other repositories
api-property-optionality-hygiene
Fix ApiProperty/ApiPropertyOptional optionality mismatches in DTO files; use for scheduled batch fixes or DTO edits.
python
Python best practices and patterns for modern software development with Flask and SQLite.
cursor
You are working on the checkout service. Preserve transaction integrity and auditability.
django
Definitive guidelines for writing maintainable, performant, and secure Django applications, emphasizing modern best practices, clear code organization, and efficient patterns.
shared-libraries
Shared libraries - condition framework, inventory containers, file-backed DB, itinerary, references.
selectools-providers
Rules for working with LLM provider adapters in selectools.