simple-mcp-server
Verified Safeby AshishBagdane
Overview
Provides a Micro-Agent Communication Protocol (MCP) server for real-time currency conversion using an external API.
Installation
python server.pyEnvironment Variables
- EXCHANGERATE_API_KEY
Security Notes
The server correctly loads the API key from environment variables (EXCHANGERATE_API_KEY), preventing hardcoding. It relies on `requests` for external API calls, which is standard and secure. Input parameters for currency conversion are directly used in the API URL, which is typical for such services and not an immediate vulnerability given the context of currency codes. No `eval` or direct `subprocess` calls are found within the server logic itself. The `test_server.py` uses `subprocess` for testing, but that is not part of the deployed server. Error messages returned to the client are informative but do not expose critical internal system details beyond API error types.
Similar Servers
Unla
Transforms existing MCP Servers and APIs into MCP protocol-compliant endpoints through configuration, enabling LLM tool calling without code changes.
alpha_vantage_mcp
Enables LLMs and agentic workflows to seamlessly interact with real-time and historical stock market data through the Model Context Protocol (MCP).
frankfurtermcp
This server provides tools for language model agents to access the Frankfurter API for real-time and historical currency exchange rates and conversions.
fmp_mcp_server
Serves real-time financial data via Model Context Protocol (MCP) to AI agents and LLM applications for various financial analyses.