Back to Home
JuanLadinoMoreno icon

Demo-MCPServer

by JuanLadinoMoreno

Overview

An enterprise-ready MCP server for managing fast-food system data with secure OAuth 2.1 authentication via Scalekit, integrating AI tools for data analysis and reporting.

Installation

Run Command
npm start

Environment Variables

  • PORT
  • SK_ENV_URL
  • SK_CLIENT_ID
  • SK_CLIENT_SECRET
  • MCP_SERVER_ID
  • BASE_URL
  • BASE_URL_API
  • PROTECTED_RESOURCE_METADATA

Security Notes

The server implements robust OAuth 2.1 authentication with Scalekit, including token validation and granular permission checks per tool, and handles `nbf` claims. However, it uses `cors({ origin: ["*"], credentials: true })`, which is a critical security vulnerability, allowing any domain to make credentialed requests and potentially exposing the API to CSRF or other attacks. Error logging with `JSON.stringify(error.response.data)` could also expose sensitive backend error details if not carefully managed.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassHigh
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-04

Tags

MCPOAuth 2.1Fast FoodAI IntegrationAnalytics