mcp-releasing

mcp-releasing is a cursor rule for Cursor from steipete/agent-rules. It costs 0 tokens per session (1,231 once invoked), scanned A, original, MIT.

A release checklist for publishing Model Context Protocol (MCP) servers as npm packages. MCP servers provide tools that AI applications can call.

In plain words
What is it for?
Use it when preparing an MCP server release, checking package metadata, running audits and tests, verifying generated TypeScript declarations, and confirming the build.
Why use it?
It catches version, dependency, security, build, test, documentation, and package problems before a release is published.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it when preparing an MCP server release, checking package metadata, running audits and tests, verifying generated TypeScript declarations, and confirming the build.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/steipete/agent-rules/mcp-releasing
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.

Clone the repo
git clone --depth 1 https://github.com/steipete/agent-rules

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 mcp-releasing

README.md
[![agentmods](https://agentmods.dev/badge/rules/steipete/agent-rules/mcp-releasing/github.svg)](https://agentmods.dev/rules/steipete/agent-rules/mcp-releasing)
Your own site
<a href="https://agentmods.dev/rules/steipete/agent-rules/mcp-releasing"><img src="https://agentmods.dev/badge/rules/steipete/agent-rules/mcp-releasing/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.

agentmods 80×15 button for mcp-releasing

Your own site · 80×15
<a href="https://agentmods.dev/rules/steipete/agent-rules/mcp-releasing"><img src="https://agentmods.dev/badge/rules/steipete/agent-rules/mcp-releasing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,231 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.01231
Opus 5.5 $0.00000 $0.00492
Sonnet 5.5 $0.00000 $0.00246
Haiku 4.5 $0.00000 $0.00123

Measured 1mo ago against content hash ecd1ba4be2ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-releasing 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

docs/mcp-releasing.mdc · 103 lines

How it starts

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

Releasing MCP Servers

This document outlines the steps to release a new version of an MCP (Model Context Protocol) server as an NPM package.

Automated Release Preparation

Many MCP projects include an automated release preparation script that performs comprehensive checks before release. Run it with:

npm run prepare-release

This script typically performs the following checks:

  • Git Status: Ensures you're on the main branch with no uncommitted changes
  • Required Fields: Validates all required fields in package.json
  • Dependencies: Checks for missing or outdated dependencies
  • Security Audit: Runs npm audit to check for vulnerabilities
  • Version Availability: Confirms the version isn't already published
  • Version Consistency: Ensures package.json and package-lock.json versions match
  • Changelog Entry: Verifies CHANGELOG.md has an entry for the current version
  • TypeScript: Compiles and runs tests
  • TypeScript Declarations: Verifies .d.ts files are generated
  • Native Code (if applicable): Runs format, lint, and tests for Swift/other languages
  • Build Verification: Builds everything and verifies the package
  • Package Size: Warns if package exceeds reasonable size limits
  • MCP Server Smoke Test: Tests the server with a simple JSON-RPC request

If all checks pass, follow the manual steps below.

Manual Pre-Release Steps

  1. Update Version Number:

    • Decide on the new semantic version number (e.g., 1.0.0-beta.3, 1.0.0, 1.1.0).
    • Update the version field in package.json.
  2. Update Documentation:

    • README.md: Ensure it accurately reflects the latest features, installation instructions, and any breaking changes.
    • API Documentation: If there are changes to tool schemas or server behavior, update the detailed specification.
    • Any other relevant documentation.
  3. Update CHANGELOG.md:

    • Add a new section for the upcoming release version (e.g., ## [1.0.0-beta.3] - YYYY-MM-DD).
    • List all notable changes (Added, Changed, Fixed, Removed, Deprecated, Security) under this version.
    • Replace YYYY-MM-DD with the current date.

Read the full file on GitHub · 103 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. 1mo ago First seen · 103 lines · 0 tokens per session scan A ecd1ba4be2ae

Subscribe to this mod's changes

mcp-releasing is a cursor rule published in the GitHub repository steipete/agent-rules (5,677 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,231 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.

Related

Other cursor rules, from other repositories