Back to Home
mkornreich icon

mcp

Verified Safe

by mkornreich

Overview

A client-server application demonstrating how Claude can use external tools via the MCP protocol, specifically showcasing a job fetching tool.

Installation

Run Command
python client.py server.py

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens400
Stars0
Forks0
Last Update2025-11-23

Tags

MCPClaudeAITool UsePythonServerClient