Documentation and configuration details for GitHub MCP server setup
GitHub MCP Server Configuration is a repository that provides documentation and configuration details for setting up the GitHub MCP server.
To use this project, follow the documented steps to create and configure the MCP server, including installing necessary packages and setting up access tokens.
Use these steps to connect GitHub MCP Server Configuration in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"github-mcp-server-config-yosay-org": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-server-config-yosay-org"
]
}
}
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"github-mcp-server-config-yosay-org": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-server-config-yosay-org"
]
}
}
}Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"github-mcp-server-config-yosay-org": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-server-config-yosay-org"
]
}
}
}Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
This repository serves to document the setup and configuration of the GitHub MCP server.
The latest npm version is recommended for optimal performance.
Yes! Contributions are welcome to improve the documentation and setup process.
.vscode/mcp.json
{
"servers": {
"github-mcp-server-config-yosay-org": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-server-config-yosay-org"
]
}
}
}Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"github-mcp-server-config-yosay-org": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-server-config-yosay-org"
]
}
}
}Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"github-mcp-server-config-yosay-org": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-server-config-yosay-org"
]
}
}
}