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
Build Model Context Protocol (MCP) servers for AI agents to interact with external tools and data sources, enabling LLMs to access context and perform actions.
1xn-vmcp
An open-source tool for composing, customizing, and extending multiple Model Context Protocol (MCP) servers into a single logical, virtual MCP server, facilitating fine-grained context-engineering for AI workflows and agents.
ncp
A unified Model Context Protocol (MCP) orchestrator that enables semantic tool discovery, management, scheduling, and execution across a diverse ecosystem of connected AI tools and services.
dev-kit-mcp-server
A Model Context Protocol (MCP) server providing scoped, authorized operations for agent development tools within a project's root directory.