GitHub MCP Configuration Test
November 30, 2024 ยท View on GitHub
This repository demonstrates the successful configuration and testing of GitHub integration using the Model Context Protocol (MCP) server. The migration from Windows to macOS environment has been completed and verified.
Configuration Process
-
Environment Migration
- Successfully migrated from Windows to macOS environment
- Updated MCP server configuration paths
- Configured npm global installation path for macOS
-
Path Configuration
- Verified npm global installation path:
/opt/homebrew - Installed required npm package:
@modelcontextprotocol/server-github - Updated server configuration for macOS compatibility
- Verified npm global installation path:
-
Testing Results
- Successfully connected to GitHub API
- Performed repository search operations
- Created test repository
- Verified token permissions and access
Current Configuration
{
"mcpServers": {
"github": {
"command": "node",
"args": [
"/opt/homebrew/lib/node_modules/@modelcontextprotocol/server-github/dist/index.js",
"--debug"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "[TOKEN]"
}
}
}
}