Back to Home
sharonsky94 icon

mcp_server_python

by sharonsky94

Overview

A lightweight and universal MCP server in Python for integrating web search, page fetching, Python code execution, and package installation tools with LM Studio.

Installation

Run Command
/path/to/mcp_server_python/.venv/bin/python /path/to/mcp_server_python/pymcp.py

Security Notes

CRITICAL security risks identified. The `pyexec` tool allows arbitrary Python code execution on the server via `exec()`. The `install` tool allows arbitrary Python package installation via `pip`, which can lead to system compromise through malicious packages. The `fetch` tool has potential for Server-Side Request Forgery (SSRF) by allowing the LLM to request arbitrary URLs, potentially including internal network resources. The server should only be run in a highly isolated environment and only process trusted inputs.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassHigh
Avg Tokens2000
Stars0
Forks0
Last Update2025-11-25

Tags

MCP ServerLM StudioPythonTool IntegrationAgentic Workflow