Skip to content

Conversation

@robtaylor
Copy link

Summary

  • Add support for authenticating using the GitHub CLI
  • Fall back to environment variable if CLI is not available
  • Cache tokens to improve performance
  • Add clear error messages for authentication issues
  • Update Dockerfile to include GitHub CLI
  • Update documentation with both authentication methods

Test plan

  • Check that GitHub CLI auth works with existing token
  • Verify environment variable still works as a fallback
  • Ensure Docker setup correctly includes GitHub CLI
  • Confirm error messages are clear when auth fails

🤖 Generated with Claude Code

- Add ability to use GitHub CLI for authentication
- Cache tokens to improve performance
- Update Dockerfile to include GitHub CLI
- Update README with new authentication options and documentation

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

Co-Authored-By: Claude <noreply@anthropic.com>
@robtaylor
Copy link
Author

Hi maintainers, I've created this PR to add GitHub CLI authentication support to the GitHub MCP server. It looks like the CI checks need approval to run on my PR. Could someone please review and approve the checks so we can ensure everything is working correctly? Thank you!

Add test scripts and documentation for testing GitHub CLI authentication integration

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

Co-Authored-By: Claude <noreply@anthropic.com>
@olaservo olaservo added enhancement New feature or request server-github labels Mar 27, 2025
@cliffhall
Copy link
Member

Deprecation Notice: Development for the github-server has been moved to GitHub in the http://github.com/github/github-mcp-server repo. PRs to github-server in this repo are no longer being merged.

@cliffhall cliffhall closed this Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants