github-see-mcp-server
Verified Safeby JesusMaster
Overview
Integrate GitHub API functionalities (Issues, Pull Requests, Repositories) into a Model Context Protocol (MCP) server using Server-Sent Events (SSE) for AI agent interaction.
Installation
npm run startEnvironment Variables
- GITHUB_TOKEN
- API_KEY
- MCP_SSE_PORT
- LOG_LEVEL
- MCP_TIMEOUT
- SSE_TIMEOUT
- CORS_ALLOW_ORIGIN
- USE_MULTIPLEXING_SSE
- RATE_LIMIT_WINDOW_MS
- RATE_LIMIT_MAX_REQUESTS
- RATE_LIMIT_SSE_MAX
- RATE_LIMIT_MESSAGES_MAX
- DEFAULT_USER_RATE_LIMIT
Security Notes
The server uses environment variables for sensitive data like GITHUB_TOKEN and API_KEY, which is good practice. Input sanitization is implemented using DOMPurify for potentially user-generated content, mitigating some injection risks. However, CORS is configured with `origin: "*"` by default (`app.use(cors({ origin: "*" }))`), which poses a significant security risk by allowing any domain to interact with the server. For production, `CORS_ALLOW_ORIGIN` should be explicitly set to restrict access. Additionally, the GitHub Personal Access Token is expected to be passed from the client (`mcp-remote`) in a `GITHUB_TOKEN` header, meaning the server acts as a proxy for the client's token. This design shifts the responsibility of token security and scope management to the client and upstream agent, rather than the MCP server enforcing granular access with a server-side token. While common in some proxy patterns, it implies a higher trust in the client, and `API_KEY`'s role in client authentication is not clearly demonstrated in the provided code snippet.
Similar Servers
Clartat-MCP
Integrate GitHub Projects v2 data with GitHub Copilot Chat for viewing project items and creating issues.
mcp-gihub-integration
This package provides a GitHub API client for integration with an MCP (Model Context Protocol) server, enabling automation of GitHub tasks.
github-mcp
A Model Context Protocol (MCP) server for GitHub integration, enabling AI assistants to interact with GitHub repositories, pull requests, and issues.
amon-github-mcp-server
Provides an MCP server to interact with GitHub issues and pull requests, especially for managing sub-issues and milestones, facilitating automation and integration with LLM agents.