Back to Home
JesusMaster icon

github-see-mcp-server

Verified Safe

by 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

Run Command
npm run start

Environment 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

Stats

Interest Score30
Security Score6
Cost ClassMedium
Avg Tokens500
Stars1
Forks1
Last Update2025-12-02

Tags

GitHubMCPSSEAPI IntegrationNode.js