Back to Home
pythonanywhere icon

pythonanywhere-mcp-server

Verified Safe

by pythonanywhere

Overview

This server acts as a Model Context Protocol (MCP) bridge, enabling AI-powered tools to programmatically manage files, web apps, websites, and scheduled tasks on a PythonAnywhere account.

Installation

Run Command
uvx pythonanywhere-mcp-server

Environment Variables

  • API_TOKEN
  • LOGNAME

Security Notes

The server itself is well-structured and uses `pythonanywhere-core` for API interactions, avoiding direct `eval` or `os.system` calls. Hardcoded secrets are not present, with `API_TOKEN` and `LOGNAME` sourced from environment variables. However, the server exposes powerful operations to an AI, including `delete_path`, `upload_text_file` (allowing arbitrary file content), and `create_scheduled_task` (which can execute arbitrary commands). The README explicitly warns about these risks, particularly for LLMs potentially scheduling and executing malicious commands or modifying/deleting sensitive files without human oversight. While the server's code itself appears robust, the inherent capabilities it exposes present a significant security risk if an AI is given unrestricted access.

Similar Servers

Stats

Interest Score37
Security Score7
Cost ClassMedium
Avg Tokens500
Stars10
Forks6
Last Update2026-01-19

Tags

PythonAnywhereMCPAI IntegrationFile ManagementWeb Development