Back to Home
mcpdirect icon

mcpdirect-community-server

Verified Safe

by mcpdirect

Overview

Provides a backend service for a community platform, handling API requests, real-time communication, and internal service orchestration.

Installation

Run Command
java -jar target/mcpdirect-community-server-2.2.2-SNAPSHOT.jar

Environment Variables

  • MCPDIRECT_DB_HOST
  • MCPDIRECT_DB_USER
  • MCPDIRECT_DB_PASSWORD
  • MCPDIRECT_DB
  • MCPDIRECT_REDIS_HOST
  • MCPDIRECT_REDIS_PORT
  • MCPDIRECT_REDIS_PASSWORD
  • MCPDIRECT_HTTP_PORT

Security Notes

The server uses environment variables for sensitive credentials (database, Redis), which is good practice. SSL context generation is included, indicating secure communication channels. However, the `allowedOrigins("*")` in the CORS configuration (`WebMvcConfigurer`) is a broad setting that allows requests from any domain. While common in some development or public API scenarios, it needs careful consideration and potentially more specific domain restrictions in production to prevent potential Cross-Site Request Forgery (CSRF) issues if not mitigated by other security layers (e.g., robust authentication tokens, CSRF tokens where applicable). No 'eval' or obvious obfuscation detected. The `HstpServlet` handles custom `hstp-usl` and `hstp-auth` headers, suggesting a custom protocol or communication layer. Error messages seem to be sanitized with `JSON.quote`.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassMedium
Stars0
Forks0
Last Update2026-01-05

Tags

JavaSpring BootBackendAPIReal-time