Skip to content

docs(subscriptions): fix client HTTP URL to point at /mcp endpoint - #2731

Open
jinghuan-Chen wants to merge 1 commit into
modelcontextprotocol:mainfrom
jinghuan-Chen:fix-subscriptions-readme-url
Open

docs(subscriptions): fix client HTTP URL to point at /mcp endpoint#2731
jinghuan-Chen wants to merge 1 commit into
modelcontextprotocol:mainfrom
jinghuan-Chen:fix-subscriptions-readme-url

Conversation

@jinghuan-Chen

Copy link
Copy Markdown

Motivation and Context

The Streamable HTTP instructions in examples/subscriptions/README.md pointed at the wrong endpoint. The example server (examples/subscriptions/server.ts) mounts the MCP handler at /mcp (app.all('/mcp', ...)), but the README instructed users to connect the client to http://127.0.0.1:3000/. Following the docs as written, the client would hit the root path instead of the MCP endpoint and the example would fail to connect.

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

@jinghuan-Chen
jinghuan-Chen requested a review from a team as a code owner August 27, 2026 08:01
@changeset-bot

changeset-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ad73860

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 Aug 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/@modelcontextprotocol/client@2731

@modelcontextprotocol/codemod

npm i https://pkg.pr.new/@modelcontextprotocol/codemod@2731

@modelcontextprotocol/core

npm i https://pkg.pr.new/@modelcontextprotocol/core@2731

@modelcontextprotocol/server

npm i https://pkg.pr.new/@modelcontextprotocol/server@2731

@modelcontextprotocol/server-legacy

npm i https://pkg.pr.new/@modelcontextprotocol/server-legacy@2731

@modelcontextprotocol/express

npm i https://pkg.pr.new/@modelcontextprotocol/express@2731

@modelcontextprotocol/fastify

npm i https://pkg.pr.new/@modelcontextprotocol/fastify@2731

@modelcontextprotocol/hono

npm i https://pkg.pr.new/@modelcontextprotocol/hono@2731

@modelcontextprotocol/node

npm i https://pkg.pr.new/@modelcontextprotocol/node@2731

commit: ad73860

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.

1 participant