mxp-mcp-server
Verified Safeby 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
uvicorn src.mcp_server.server:mcp.streamable_http_app --host 0.0.0.0 --port 8000Environment 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
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers.
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
mcp-servers
Provides an MCP server for Qdrant vector database integration, enabling AI agents to perform semantic search, store documents, and manage collections with advanced multi-tenant filtering capabilities.
MCP-Council
Automates the conversion of REST APIs into AI-powered MCP (Model Context Protocol) servers, enabling seamless integration of APIs with AI assistants.