test_mcp_server
Verified Safeby thuhang2510
Overview
An MCP server that manages personal profile data, including zodiac signs and family relations, and exposes this data as tools for an AI agent to answer queries.
Installation
python mcp_server.pyEnvironment Variables
- ANTHROPIC_API_KEY
Security Notes
The server code itself (mcp_server.py) does not contain explicit 'eval' or 'exec' calls, nor does it hardcode sensitive credentials. Data parsing functions use regular expressions and type conversions, which are generally safe. The 'PEOPLE' dictionary contains sample personal data; in a production system, this type of data would require robust access control and a secure storage mechanism. The client (mcp_client.py) loads an API key from a .env file, which is a standard practice for secret management, and interacts with an external LLM (Anthropic) using a well-defined API.
Similar Servers
python-mcp-server
This project implements a Model Context Protocol (MCP) server providing weather information tools (alerts and forecasts) via Server-Sent Events (SSE), demonstrating how AI agents can interact with external services.
sritaj_info_mcp_server
This server provides static personal information about 'Sritaj' via the Model Context Protocol (MCP).
MCP-Book-Project
Exposes tools for an MCP-compatible client to search a books database by author or title via an external API.
my-profile-mcp-server
A Model Context Protocol (MCP) server that provides tools to retrieve professional profile information, skills, education, and contact details for an AI assistant or developer environment.