Skip to content

Conversation

@jarlungoodoo73
Copy link
Owner

cliffhall and others added 30 commits August 27, 2025 15:09
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
…ocol#904)

Co-authored-by: David Soria Parra <167242713+dsp-ant@users.noreply.github.com>
…ol#922)

Co-authored-by: David Soria Parra <167242713+dsp-ant@users.noreply.github.com>
…and add explicit resourceServerUrl (RFC 9728) (modelcontextprotocol#858)

Co-authored-by: Eugene <eugene@blust.ai>
…ul authentication (modelcontextprotocol#945)

Co-authored-by: Vinicius Costa <viniciuscsouza@yahoo.com.br>
Co-authored-by: Tyler James Leonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
Co-authored-by: Blust.AI <159488814+blustAI@users.noreply.github.com>
Co-authored-by: Eugene <eugene@blust.ai>
marcrasi and others added 18 commits December 1, 2025 16:38
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Matt Carey <mcarey@cloudflare.com>
…Http.ts and sse.ts) to allow requests without an Origin, as they are not relevant to server DNS rebinding protection. (modelcontextprotocol#1205)
* Add secure default for DNS rebinding, use in examples

* Update README examples to use createMcpExpressApp, bump to 1.23.0

- Update all server examples to use createMcpExpressApp() for secure defaults
- Rewrite DNS Rebinding Protection section to document new middleware approach
- Bump version from 1.23.0-beta.0 to 1.23.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add IPv6 support, allowedHosts option, and warning for unprotected servers

- Use native URL API to parse Host headers (handles IPv6 correctly)
- Add [::1] (IPv6 localhost) to localhostHostValidation
- Add ::1 to list of localhost hosts that get automatic protection
- Add allowedHosts option to createMcpExpressApp for custom host validation
- Warn when binding to 0.0.0.0 or :: without allowedHosts configured
- Add tests for IPv6 and allowedHosts functionality

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update remaining examples to use createMcpExpressApp and add DNS rebinding docs

- Update simpleTaskInteractive.ts, ssePollingExample.ts, and elicitationUrlExample.ts
  to use createMcpExpressApp() instead of express() + express.json()
- Add DNS rebinding protection section to docs/server.md explaining how to use
  createMcpExpressApp() and hostHeaderValidation middleware

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Konstantin Konstantinov <konstantin@mach5technology.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
…up across 1 directory (modelcontextprotocol#1228)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings December 4, 2025 09:20
@jarlungoodoo73 jarlungoodoo73 added bug Something isn't working documentation Improvements or additions to documentation help wanted Extra attention is needed invalid This doesn't seem right question Further information is requested labels Dec 4, 2025
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We failed to fetch the diff for pull request #1

You can try again by commenting this pull request with @sourcery-ai review, or contact us for help.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR, titled "Jarlungoodoo73", appears to be a comprehensive refactoring and feature enhancement focusing on code formatting, modernization, and the addition of experimental task support. Based on the referenced discussion, this is likely addressing code quality and consistency improvements across the TypeScript SDK.

Key changes:

  • Formatting improvements: Converting double quotes to single quotes, fixing indentation and whitespace inconsistencies
  • Modernization: Updating import patterns (e.g., import * as z from 'zod/v4' and removing unused imports)
  • New features: Adding experimental task support with client-side task APIs, elicitation examples, and OAuth extensions

Reviewed changes

Copilot reviewed 64 out of 159 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/experimental/tasks/client.ts New file introducing experimental client task features including streaming tool calls and task management
src/experimental/index.ts New experimental module export file
src/examples/shared/inMemoryEventStore.ts Formatting fixes (semicolons, line breaks)
src/examples/server/*.ts Multiple server examples updated with formatting fixes, import modernization, and new elicitation/task examples
src/examples/client/*.ts Multiple client examples updated with formatting fixes and new examples for tasks, elicitation, and OAuth
src/examples/README.md Documentation updates for new examples and features
src/client/*.ts Client transport implementations updated with formatting, auth improvements, and bug fixes
src/cli.ts File removed (deprecated CLI)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jarlungoodoo73
Copy link
Owner Author

You wanted collaboration you got it, Github Community roll up your sleeves .

@jarlungoodoo73 jarlungoodoo73 merged commit 005ca80 into jarlungoodoo73:main Dec 4, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation help wanted Extra attention is needed invalid This doesn't seem right question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.