MCP.so
登录

Local MCP-Server-with-HTTPS-and-GitHub-OAuth

@omar-steam

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

omar-steam

关于 Local MCP-Server-with-HTTPS-and-GitHub-OAuth

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 additional security measures like rate limiting and HTTP header protection.

Local MCP-Server-with-HTTPS-and-GitHub-OAuth 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Local MCP-Server-with-HTTPS-and-GitHub-OAuth 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Local MCP-Server-with-HTTPS-and-GitHub-OAuth?

A secure local MCP server built with Node.js and Express that provides HTTPS encryption using self-signed certificates, GitHub OAuth authentication, and additional security measures like rate limiting and HTTP header protection. It is intended for developers who need a secure local environment for testing MCP workflows with authentication.

How to use Local MCP-Server-with-HTTPS-and-GitHub-OAuth?

Clone the repository, install dependencies (npm install), generate SSL certificates with OpenSSL, configure .env with your GitHub OAuth credentials, and start the server (node server.js). Then access https://localhost:3000 and authenticate via /auth.

Key features of Local MCP-Server-with-HTTPS-and-GitHub-OAuth

  • HTTPS encryption via self-signed certificates
  • GitHub OAuth authentication and session management
  • Rate limiting to protect against DoS attacks
  • Secure cookies with express-session and helmet
  • Protected routes requiring authentication (e.g., /secure-data)

Use cases of Local MCP-Server-with-HTTPS-and-GitHub-OAuth

  • Securely developing and testing MCP clients locally
  • Demonstrating OAuth-based authentication for MCP servers
  • Experimenting with HTTPS and security best practices in Node.js
  • Building a local proof-of-concept for production-grade MCP servers

常见问题

1

What are the prerequisites to run this server?

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

2

What should I do if I get a `EADDRINUSE` error on port 3000?

Stop any process using port 3000 or change the port in `server.js`. Use `netstat -ano | findstr :3000` to find the process ID and `taskkill /PID <PID> /F` to terminate it.

3

Why does the browser show a certificate warning?

Self-signed certificates are not trusted by browsers. For production, use a trusted Certificate Authority like Let’s Encrypt.

4

How do I configure GitHub OAuth?

Create a GitHub OAuth App, then set `CLIENT_ID`, `CLIENT_SECRET`, `REDIRECT_URI` (https://localhost:3000/auth/callback), and `SESSION_SECRET` in a `.env` file.

评论

开发工具 分类下的更多 MCP 服务器