Back to Home
fabio-pardo icon

mxp-mcp-server

Verified Safe

by fabio-pardo

Overview

The MCP Server bridges Virgin Voyages' MXP system data and functionality to AI assistants via the Model Context Protocol (MCP) and to traditional applications via a REST API, enabling LLM-powered data access and integration.

Installation

Run Command
uvicorn src.mcp_server.server:mcp.streamable_http_app --host 0.0.0.0 --port 8000

Environment Variables

  • MXP_BASE_URL
  • MXP_USERNAME
  • MXP_PASSWORD
  • DB_SERVER
  • DB_PORT
  • DB_DATABASE
  • DB_USERNAME
  • DB_PASSWORD
  • VERTEX_PROJECT_ID
  • VERTEX_RAG_CORPUS_NAME
  • PORT

Security Notes

The server uses environment variables for all sensitive credentials (MXP and database). SQL queries from the LLM-exposed `execute_read_only_query` tool are intended to be parameterized, which helps prevent SQL injection, though a poorly instructed LLM could theoretically bypass this if it embeds values directly into the query string. The prompt template `sql_query_from_natural_language` explicitly guides the LLM to generate read-only SQL and use parameterized calls, acting as a safeguard. The REST API has open CORS (`allow_origins='*'`) which is acceptable for development/testing but should be restricted in production environments. Communication with the MXP backend uses HTTP Basic Authentication, which requires HTTPS for secure transport in production. Overall, it follows good security practices for credential management and SQL interaction, with appropriate cautions for deployment.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2025-11-19

Tags

MCPREST APILLM IntegrationEnterprise DataPython