Skip to content

Conversation

@rubiojr
Copy link
Member

@rubiojr rubiojr commented Mar 14, 2025

Companion PR for https://github.com/github/zed-context-server

Not to be merged.

Screencast.From.2025-03-14.11-44-01.mp4
Copilot AI review requested due to automatic review settings March 14, 2025 10:50
Copy link
Contributor

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 support for a new GitHub prompt integration to display the authenticated user’s identity for a Zed demo.

  • Introduces a new prompt handler in pkg/github/prompts.go.
  • Enables prompt and tool capabilities in the MCP server configuration in pkg/github/server.go.
  • Registers the new GitHub prompt handler with the server.

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
pkg/github/prompts.go New prompt handler returning the GitHub user identity.
pkg/github/server.go Updated server configuration to include prompt and tool capabilities and registration.
Files not reviewed (1)
  • go.mod: Language not supported
Comments suppressed due to low confidence (1)

pkg/github/prompts.go:25

  • When the response status code is not 200, 'err' is nil. Update the error handling to capture and provide a meaningful error message or response body content.
return nil, fmt.Errorf("failed to read response body: %w", err) 

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

@rubiojr
Copy link
Member Author

rubiojr commented Mar 19, 2025

Closing, this was for demo purposes only.

@rubiojr rubiojr closed this Mar 19, 2025
DaleSeo pushed a commit to DaleSeo/github-mcp-server that referenced this pull request Oct 24, 2025
* Add the SonarQube MCP server Signed-off-by: Damien Urruty <damien.urruty@sonarsource.com> * Add parameters * Use a secret for the token --------- Signed-off-by: Damien Urruty <damien.urruty@sonarsource.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants