Back to Home
cobra30299 icon

MCP_SERVER_JAVA

by cobra30299

Overview

A Model Context Protocol (MCP) server implementation in Java, demonstrating core MCP features with tools, resources, and prompts, including an AI chat integration.

Installation

Run Command
java -jar target/mcp-server-java-1.0.0.jar --http

Environment Variables

  • AZURE_OPENAI_API_KEY
  • AZURE_OPENAI_ENDPOINT
  • AZURE_OPENAI_DEPLOYMENT

Security Notes

The server is explicitly rated as 'HIGH RISK for Production Use' in its own documentation due to critical vulnerabilities. It lacks authentication, has open CORS ('Access-Control-Allow-Origin: *'), does not support HTTPS (HTTP only), and has insufficient input validation. Error messages can expose internal details. By default, it binds to all network interfaces (0.0.0.0), making it publicly accessible without security measures.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassHigh
Avg Tokens550
Stars0
Forks0
Last Update2025-12-03

Tags

JavaMCPAPIAIServer