Back to Home
jdutton icon

mcp-typescript-simple

Verified Safe

by jdutton

Overview

Production-ready MCP (Model Context Protocol) server with dual-mode operation (STDIO & HTTP), multi-LLM integration, and OAuth authentication, designed for horizontal scalability and comprehensive observability.

Installation

Run Command
npm run dev:stdio

Environment Variables

  • ANTHROPIC_API_KEY
  • OPENAI_API_KEY
  • GOOGLE_API_KEY
  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
  • GITHUB_CLIENT_ID
  • GITHUB_CLIENT_SECRET
  • MICROSOFT_CLIENT_ID
  • MICROSOFT_CLIENT_SECRET
  • MICROSOFT_TENANT_ID
  • TOKEN_ENCRYPTION_KEY
  • REDIS_URL
  • NODE_ENV
  • MCP_MODE
  • HTTP_PORT
  • HTTP_HOST
  • OTEL_EXPORTER_OTLP_ENDPOINT
  • OTEL_SERVICE_NAME
  • ALLOWED_USERS
  • LOG_LEVEL

Security Notes

The project demonstrates a strong focus on security, including: enforcing spec-driven development for API changes, mandatory pre-commit validation with security checks, explicit detection of unprotected admin endpoints, prevention of sensitive data storage in files for production (enforces Redis/DB), scanning for secrets in logs, OAuth with dynamic client registration (DCR) including rate limiting and secret expiration, PKCE support, and AES-256-GCM encryption for token storage. `helmet` and `cors` are used in the HTTP server. Strict PII logging policies are outlined. Proper configuration of `TOKEN_ENCRYPTION_KEY` and `ALLOWED_USERS` is critical.

Similar Servers

Stats

Interest Score17
Security Score9
Cost ClassMedium
Avg Tokens750
Stars1
Forks0
Last Update2025-12-30

Tags

MCPTypeScriptServerLLMOAuthDockerServerlessAIObservability