Local MCP Server

This project is a secure MCP server built with Node.js and Express. It features HTTPS encryption using self-signed certificates, GitHub OAuth

Local serverstdio

What is the Local MCP Server?

This project is a secure MCP server built with Node.js and Express. It features HTTPS encryption using self-signed certificates, GitHub OAuth authentication, and

The short version

git clone https://github.com/omar-steam/MCP-Server-with-HTTPS-and-GitHub-OAuth.git cd mcp-server

  • HTTPS Encryption — Ensures secure communication between clients and the server
  • GitHub OAuth Authentication — Allows users to log in using their GitHub accounts
  • Rate Limiting — Protects against abuse and denial-of-service (DoS) attacks
  • Secure Session Management — Uses express-session with secure cookies
  • HTTP Header Security — Implements helmet to protect against common vulnerabilities

What it needs from you

Before you begin, ensure you have the following installed on your system: - Node.js (v16 or later) - npm (comes with Node.js) - OpenSSL (for generating SSL certificates)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Configuration

Before you begin, ensure you have the following installed on your system: - Node.js (v16 or later) - npm (comes with Node.js) - OpenSSL (for generating SSL certificates)

VariableDescriptionRequired
CLIENT_IDConfiguration value read at startup.Optional
CLIENT_SECRETCredential the server authenticates with.Yes
SESSION_SECRETCredential the server authenticates with.Yes

Frequently asked questions

You need Node.js (v16 or later), npm, and OpenSSL installed on your system.