Skip to content

feat: SSE client example#59

Merged
jpmcb merged 1 commit intomainfrom
sse-example-client
Dec 11, 2025
Merged

feat: SSE client example#59
jpmcb merged 1 commit intomainfrom
sse-example-client

Conversation

@jpmcb
Copy link
Contributor

@jpmcb jpmcb commented Dec 11, 2025

Simple SSE client example using the GitHub MCP server.

Copilot AI review requested due to automatic review settings December 11, 2025 14:28
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 adds a new SSE (Server-Sent Events) client example that demonstrates how to connect to MCP servers using HTTP/SSE transport, specifically showcasing integration with the GitHub MCP server.

Key changes:

  • New TypeScript-based client example using HTTPClientTransport for SSE connections
  • Example demonstrates authentication, initialization, and tool calling with the GitHub MCP server
  • Includes complete project setup with package configuration and documentation

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
examples/clients/sse/package.json Defines package metadata, scripts, and dependencies for the SSE client example
examples/clients/sse/package-lock.json Lock file ensuring consistent dependency versions
examples/clients/sse/tsconfig.json TypeScript configuration for building the example
examples/clients/sse/src/index.ts Main source code demonstrating SSE client connection and GitHub API interaction
examples/clients/sse/README.md Documentation explaining the example purpose and usage instructions
examples/clients/sse/.gitignore Git ignore configuration to exclude .env file
Files not reviewed (1)
  • examples/clients/sse/package-lock.json: Language not supported

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

Signed-off-by: John McBride <john@zuplo.com>
@jpmcb jpmcb force-pushed the sse-example-client branch from 0f0bfe5 to eb27883 Compare December 11, 2025 14:38
@jpmcb jpmcb merged commit 126e97d into main Dec 11, 2025
4 checks passed
@jpmcb jpmcb deleted the sse-example-client branch December 11, 2025 14:40
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