MY_FIRST_MCP_SERVER
by karthik-s092003
Overview
An AI-powered system for generating software project structures and code in various languages, and converting code between languages.
Installation
python CodeGenerator.pyEnvironment Variables
- API_KEY
- OPENAI_MODEL_NAME
- OPENAI_API_BASE
- GROQ_API_KEY
Security Notes
The `create_folders` and `generate_and_write_files` tools directly interact with the filesystem (`os.makedirs`, `open`) using paths and content generated by LLM agents. This poses a critical risk of arbitrary file creation, modification, or deletion, including overwriting sensitive system files or injecting malicious code, if an adversarial prompt is used. There is no explicit sanitization or sandboxing of LLM-generated paths or file content. The `get_current_weather` tool also makes an external HTTP request with an LLM-provided parameter, which could be a minor vector.
Similar Servers
chapplin
A framework for building type-safe ChatGPT Apps using the OpenAI Apps SDK with JSX-based UI rendering, streamlining the development and build process for Model Context Protocol (MCP) servers.
MCPify
Exposes ASP.NET Core endpoints and OpenAPI specifications as Model Context Protocol (MCP) tools for AI assistants.
ACI_MCP
A Node.js-based Model Context Protocol (MCP) server for managing and configuring Cisco ACI fabrics through its APIC REST API.
codex-mcp-server
Integrates OpenAI's Codex CLI with Model Context Protocol (MCP) clients to enable AI-powered code analysis, generation, and brainstorming directly within development environments.