Troj-MCP
by Shreyas2877
Overview
A versatile Model Context Protocol (MCP) server for integrating AI models with system operations, file management, calendar, and email tools.
Installation
docker run -d --name troj-mcp -p 8000:8000 trojan2877/troj-mcp:latestEnvironment Variables
- SERVER_HOST
- SERVER_PORT
- DEBUG
- LOG_LEVEL
- SECRET_KEY
- JWT_ALGORITHM
- JWT_EXPIRATION_HOURS
- DATABASE_URL
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- EMAIL_SERVICE_URL
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_REGION
Security Notes
The `execute_command` function in `src/macro_man/tools/system.py` uses `subprocess.run(command, shell=True)`. While it attempts to filter dangerous commands with a blacklist, this approach is fundamentally insecure and highly prone to bypass via various shell injection techniques (e.g., command substitution, encoding, alternative syntax). This allows for arbitrary code execution. Additionally, a default `SECRET_KEY` is present, which should be updated in production.
Similar Servers
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
ncp
NCP acts as a universal adapter and orchestrator for Model Context Protocol (MCP) servers and tools. It provides a unified interface for discovery, execution, and management of diverse tools (local CLI, HTTP APIs, internal plugins/Photons, AI skills) through natural language and structured code interaction, enabling AI agents to interact with the broader digital ecosystem.
1xn-vmcp
An open-source platform for composing, customizing, and extending multiple Model Context Protocol (MCP) servers into a single logical, virtual MCP server, enabling fine-grained context engineering for AI workflows and agents.
photons
A comprehensive demonstration MCP server showcasing various functionalities of the Photon runtime, including basic data handling, streaming responses, progress reporting, in-memory state management, and interactive UI elements. It serves as a reference for developers building new photons.