cursorrules

cursorrules is a cursor rule for Cursor from thrashr888/terraform-mcp-server. It costs 253 tokens per session, scanned A, original, MIT.

A set of Cursor rules for developing and releasing a Terraform MCP server. It documents build, test, lint, configuration, versioning, and release steps.

In plain words
What is it for?
It is for guiding development checks, local MCP setup, dependency handling, changelog updates, GitHub releases, and automated npm or Docker publishing.
Why use it?
It keeps recurring project procedures in one place, reducing missed commands and release details.

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/thrashr888/terraform-mcp-server/cursorrules
Clone the repo
git clone --depth 1 https://github.com/thrashr888/terraform-mcp-server

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 cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/thrashr888/terraform-mcp-server/cursorrules.svg)](https://agentmods.dev/rules/thrashr888/terraform-mcp-server/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/thrashr888/terraform-mcp-server/cursorrules"><img src="https://agentmods.dev/badge/rules/thrashr888/terraform-mcp-server/cursorrules.svg" alt="Measured on agentmods" height="20"></a>
Per session 253 This file is loaded in full into every session.
When invoked 253 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.00253 $0.00253
Opus 5 $0.00127 $0.00127
Sonnet 5 $0.00051 $0.00051
Haiku 4.5 $0.00025 $0.00025

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

Security

Grade A, and why

cursorrules 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.

.cursorrules · 20 lines

What it actually says

development

  • run npm run build to build the project
  • the server needs manually restarted after building
  • run npm run test to run the tests
  • run npm run lint:fix to run the linting
  • run ./test.sh to run the tests
  • run ./test-simple.sh to run the tests
  • locally managed MCP config is in ./.cursor/mcp.json and ~/Library/Application Support/Claude/claude_desktop_config.json
  • ./api-use.md has examples of how to use the API
  • nodejs version is specified in .nvmrc
  • if you're trying something out and it's not working, don't leave the code in the file. delete it.
  • don't upgrade dependencies unless it fixes an issue

release

  • tests should be passing before releasing
  • update the version in ./config.ts and ./package.json
  • update the ./CHANGELOG.md to reflect customer-facing changes. be concise.
  • commit, tag, and push to GitHub
  • after the CI pipeline completes, create a new release on GitHub using gh
  • npm and docker releases are handled automatically via GitHub Actions
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 · 20 lines · 253 tokens per session scan A 3d48726d3239

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository thrashr888/terraform-mcp-server (120 stars, last pushed 1y ago), licensed MIT. It adds 253 tokens to every session, about $0.0013 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-30.