Skip to content

fix README.md badges and blockquote icon - #2022

Merged
KKonstantinov merged 6 commits into
mainfrom
fix/readme-npm-badges-blockquote
May 22, 2026
Merged

fix README.md badges and blockquote icon#2022
KKonstantinov merged 6 commits into
mainfrom
fix/readme-npm-badges-blockquote

Conversation

@KKonstantinov

Copy link
Copy Markdown
Contributor

Motivation and Context

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@KKonstantinov
KKonstantinov requested a review from a team as a code owner May 6, 2026 05:22
@changeset-bot

changeset-bot Bot commented May 6, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 702daaa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented May 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/client@2022

@modelcontextprotocol/codemod

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/codemod@2022

@modelcontextprotocol/server

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/server@2022

@modelcontextprotocol/express

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/express@2022

@modelcontextprotocol/fastify

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/fastify@2022

@modelcontextprotocol/hono

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/hono@2022

@modelcontextprotocol/node

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/node@2022

commit: 702daaa

Comment thread README.md

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — thanks for extending the alert-syntax fix to the package READMEs too.

Extended reasoning...

Overview

Documentation-only change across three READMEs: (1) splits GitHub alert markers (> [!IMPORTANT], > [!WARNING], > [!NOTE]) onto their own line so GitHub renders styled callouts instead of plain blockquotes with literal [!TYPE] text, guarded with <!-- prettier-ignore --> so prettier doesn't re-collapse them; (2) gives the two npm version badges distinguishing labels and wraps them in links to the respective npm package pages; (3) incidental prettier reformatting of the inline code sample (indentation/trailing commas) and one long line wrap.

Prior review

On the first revision I flagged that the same broken alert syntax survived in packages/client/README.md and packages/server/README.md. The author addressed this in commit bc93a74 — both package READMEs now apply the identical two-line split with prettier-ignore guards. A repo-wide grep for ^> [!TYPE] <text> confirms no remaining instances.

Security risks

None. No executable code, configuration, workflow, or dependency is touched — only Markdown prose, badge image URLs (shields.io) and links to npmjs.com.

Level of scrutiny

Low. Cosmetic README rendering fix with zero impact on the published package contents beyond the README text itself. No changeset is needed for a docs-only change. The badge URLs and npm links are correct for the @modelcontextprotocol/server and @modelcontextprotocol/client packages.

Other factors

The code-sample reformatting in the root README is mechanical prettier output (4-space indent, dropped trailing commas) and doesn't change the example's semantics. Nothing here touches API surface, schemas, transports, or CI.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — thanks for also fixing the package READMEs; docs-only change with no code impact.

Extended reasoning...

Overview

This PR touches only Markdown files: README.md, packages/client/README.md, and packages/server/README.md. It splits GitHub alert markers (> [!IMPORTANT], > [!WARNING], > [!NOTE]) onto their own lines so they render as styled callouts, adds <!-- prettier-ignore --> guards to keep prettier from collapsing them, gives the npm badges descriptive labels and clickable links to the npm registry pages, and reformats the README code example to 4-space indentation matching the repo's prettier config.

Security risks

None. These are README/Markdown-only edits; no executable code, configuration, CI, or dependency changes.

Level of scrutiny

Low. Documentation-only, cosmetic rendering fix. No public API, transport behavior, or schema is touched. The badge URLs all point to the canonical img.shields.io and npmjs.com package pages.

Other factors

My earlier inline comment flagged that the same broken single-line alert syntax survived in the two package READMEs; the author has since pushed the fix there as well, so the migration is complete. The bug-hunting system found no issues. The PR has no changeset, which is correct since README changes don't require a version bump.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — docs-only fix; the leftover alert-syntax sites I flagged in the package READMEs have now been addressed.

Extended reasoning...

Overview

This PR is documentation-only: it fixes GitHub alert (> [!TYPE]) blockquote syntax in README.md, packages/client/README.md, and packages/server/README.md so the callouts render with icons/colors; adds labels and links to the npm badges; and reformats the README code example to 4-space indentation with no trailing commas, matching the repo's .prettierrc (tabWidth: 4, trailingComma: "none"). <!-- prettier-ignore --> comments are added before the alert blocks.

Security risks

None. No code, configuration, or dependency changes — Markdown only.

Level of scrutiny

Low. These are cosmetic Markdown fixes with no behavioral surface. The bug-hunting system found no issues.

Other factors

My earlier inline comment flagged that the same broken single-line alert syntax survived in the two package READMEs; the current diff now applies the identical fix there, so that concern is resolved. The badge URL changes point to the correct npm package pages. No changeset is needed for README-only changes.

@KKonstantinov
KKonstantinov merged commit 5fc42e9 into main May 22, 2026
17 checks passed
@KKonstantinov
KKonstantinov deleted the fix/readme-npm-badges-blockquote branch May 22, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants