Agent skill
julien-mcp-github-http
Install GitHub MCP via HTTP/Copilot API. Use when user needs GitHub Copilot MCP endpoint.
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/julien-mcp-github-http
SKILL.md
MCP GitHub HTTP Installer
This skill installs the GitHub HTTP MCP server into the current project (uses Copilot API).
Installation Procedure
When the user asks to install GitHub HTTP MCP:
- Check for existing
.mcp.jsonin the project root - Merge configuration - Add this server to
mcpServers:
json
{
"github-http": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer ${GITHUB_PERSONAL_ACCESS_TOKEN2}"
}
}
}
- If
.mcp.jsondoesn't exist, create it with the full structure:
json
{
"mcpServers": {
"github-http": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer ${GITHUB_PERSONAL_ACCESS_TOKEN2}"
}
}
}
}
Environment Variables Required
GITHUB_PERSONAL_ACCESS_TOKEN2: Your GitHub Copilot token
Usage After Installation
Restart Claude Code to activate the MCP server.
Skill Chaining
- Input: User request to install GitHub HTTP MCP
- Output: Configured
.mcp.jsonwith github-http server - Tools Used: Read, Edit, Write
- Chains With: GitHub Docker MCP as alternative
Troubleshooting
| Problem | Solution |
|---|---|
| 401 Unauthorized | Check GITHUB_PERSONAL_ACCESS_TOKEN2 is valid |
| Copilot not enabled | Ensure GitHub Copilot subscription is active |
| Rate limit exceeded | Wait or use a different token |
| Connection refused | Check network and GitHub API status |
Didn't find tool you were looking for?