Back to Home
cubeguerrero icon

mcp_demo

Verified Safe

by cubeguerrero

Overview

This is a demo MCP server built with Vert.x and the MCP Java SDK, showcasing both blocking and non-blocking tool implementations for concurrent request handling.

Installation

Run Command
./gradlew run

Environment Variables

  • MCP_PORT
  • MCP_BASE_URL

Security Notes

The database connection details (host, port, database name, username, password) are hardcoded directly in `MySqlClientProducer.java`. While acceptable for a local demo, this is a critical security vulnerability for any non-demo or production deployment, as it exposes sensitive credentials. No 'eval' or similar dangerous patterns were found. The server exposes an `/mcp` endpoint and `/health` check on a configurable port, which is standard for a server.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassLow
Avg Tokens50
Stars0
Forks0
Last Update2025-12-08

Tags

MCPVert.xJavaDemoAsynchronous