Back to Home
Kamwebdev icon

Mcp-simple-client-server

Verified Safe

by Kamwebdev

Overview

Demonstrates the Model Context Protocol (MCP) for connecting an LLM to external tools and enabling dynamic tool calling within a client-server architecture.

Installation

Run Command
cd server && python mcp_server.py

Environment Variables

  • MCP_URL
  • USER_PROMPT
  • MODEL

Security Notes

The server exposes network utility tools ('ping', 'check_port_80') that take arbitrary host inputs from the LLM. In a non-isolated environment, this could allow the LLM to perform network reconnaissance or denial-of-service against internal or external targets. For a demonstration, this is acceptable, but for production, rigorous input validation and access controls would be essential.

Similar Servers

Stats

Interest Score0
Security Score5
Cost ClassMedium
Avg Tokens600
Stars0
Forks0
Last Update2025-12-12

Tags

MCPLLMToolingOllamaPython