mcp
Verified Safeby mkornreich
Overview
A client-server application demonstrating how Claude can use external tools via the MCP protocol, specifically showcasing a job fetching tool.
Installation
python client.py server.pyEnvironment Variables
- ANTHROPIC_API_KEY
Security Notes
The `server.py` code itself is relatively secure, using standard libraries (`httpx`) for controlled external requests and operating over `stdio` which limits direct network exposure. It does not contain `eval`, obfuscation, or hardcoded secrets. The primary security consideration for the *overall system* lies in the client's ability to execute arbitrary server scripts (Python/Node.js) specified via command-line arguments. This means that if the client is used with an untrusted `server_script_path`, it could lead to arbitrary code execution. This is a design characteristic of how the MCP client launches a server, rather than a vulnerability in `server.py` itself.
Similar Servers
zen-mcp-server
A server for coordinating and managing AI agents, likely for simulations or complex task execution, leveraging Claude LLMs.
mcp-client-server
Facilitates development, testing, and debugging of Model Context Protocol (MCP) servers by providing tools to deploy, manage, interact with, and test them as local child processes.
python-mcp-server
Demonstrates implementing Model Context Protocol (MCP) servers in Python using STDIO, SSE, and Streamable HTTP connection modes, providing weather tools via the National Weather Service API.
MCP-Server-Project
This server provides a Micro-Capability Platform (MCP) for AI agents to plan travel itineraries, fetch weather forecasts, and recommend hotels for a given destination.