tech-stack-lock

A project rule that locks the chosen programming languages, frameworks, validation library, test runner, and build tool.

In plain words
What is it for?
Use it when implementing or reviewing the SkyFi MCP Server so it stays with TypeScript, Node.js, the official MCP SDK, Hono, Zod, Vitest, and tsup.
Why use it?
It prevents accidental technology changes that could conflict with earlier project decisions.

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/seeincodes/skyfi-mcp/tech-stack-lock
Clone the repo
git clone --depth 1 https://github.com/seeincodes/skyfi-mcp

Made for: Cursor.

Per session 566 This file is loaded in full into every session.
When invoked 566 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.00566 $0.00566
Opus 5 $0.00283 $0.00283
Sonnet 5 $0.00113 $0.00113
Haiku 4.5 $0.00057 $0.00057

Measured yesterday against content hash 1369c98d9a06, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tech-stack-lock 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 yesterday.

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/tech-stack-lock.mdc · 58 lines

How it starts

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

Locked Technology Stack

These technology decisions are final. Do not switch to alternatives without explicit user approval.

Server Language & Runtime

  • LOCKED: TypeScript 5.x on Node.js 20 LTS (local) / Cloudflare Workers (remote)
  • DO NOT switch to Python, Go, Rust, or any other language for the MCP server
  • DO NOT switch to Deno or Bun as primary runtime
  • The demo agent IS Python (Google ADK) — that is a separate concern

MCP SDK

  • LOCKED: @modelcontextprotocol/sdk (official TypeScript SDK)
  • DO NOT use community MCP libraries or roll a custom protocol implementation

HTTP Framework

  • LOCKED: Hono 4.x
  • DO NOT switch to Express, Fastify, Koa, or other HTTP frameworks
  • Hono was chosen for Cloudflare Workers native compatibility

Validation

  • LOCKED: Zod 3.x for input validation and JSON Schema derivation
  • DO NOT switch to ajv, joi, yup, or io-ts
  • Zod schemas are the single source of truth for both validation and MCP inputSchema

Testing

  • LOCKED: Vitest
  • DO NOT switch to Jest, Mocha, or other test runners

Build

  • LOCKED: tsup for TypeScript bundling
  • DO NOT switch to esbuild directly, webpack, or rollup

Deployment

  • LOCKED: Cloudflare Workers (primary remote) + Docker (self-hosted option)
  • DO NOT switch to AWS Lambda, Vercel Functions, or other serverless platforms as primary
  • Docker is the self-hosted escape hatch, not the primary deployment

Geocoding

  • LOCKED: Nominatim (OSM) for geocoding
  • DO NOT switch to Google Maps Geocoding, Mapbox, or other commercial providers as default
  • Commercial fallback may be documented but Nominatim is the default

Observability

  • LOCKED: Cloudflare Analytics + Logpush (cloud), Prometheus + Grafana (self-hosted)
  • DO NOT add Datadog, New Relic, or other commercial APM as default

Adding New Dependencies

  • New dependencies must be justified in a PR description
  • Prefer dependencies that work on both Node.js and Cloudflare Workers
  • Check Workers compatibility before adding any Node.js-specific package
  • Keep the dependency count minimal — this is infrastructure, not an application

Read the full file on GitHub · 58 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. yesterday First seen · 58 lines · 566 tokens per session scan A 1369c98d9a06

Subscribe to this mod's changes

tech-stack-lock is a cursor rule published in the GitHub repository seeincodes/skyfi-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 566 tokens to every session, about $0.0028 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.