repocaster
by ivandon15
Overview
Automatically transforms existing GitHub repositories or local codebases, especially computational biology tools, into AI-accessible Model Context Protocol (MCP) servers.
Installation
python cast.py https://github.com/dauparas/ProteinMPNNEnvironment Variables
- OPENAI_API_KEY
- DEEPSEEK_API_KEY
- QWEN_API_KEY
Security Notes
The system heavily relies on `subprocess.run` to execute Python scripts from the target repository. While `subprocess.run` is used with a list (mitigating direct shell injection via arguments in `server.py`), the fundamental risk comes from the quality and safety of the target repository's scripts themselves, and the LLM's ability to correctly and safely interpret and expose arguments. Malicious input via the MCP interface could still potentially exploit vulnerabilities in the underlying target scripts if they perform unsafe operations (e.g., `os.system` or `subprocess.run(..., shell=True)` internally with untrusted input). The process inherently involves executing code from a cloned repository, which necessitates user vigilance over the source repository's trustworthiness.
Similar Servers
mcp-language-server
Proxies a Language Server Protocol (LSP) server to provide semantic code intelligence tools to Model Context Protocol (MCP) clients, enabling LLMs to interact with codebases.
cclsp
MCP server to integrate LLM-based coding agents with Language Server Protocol (LSP) servers for robust symbol resolution and code navigation.
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.
mcp-ai-agent-guidelines
A comprehensive framework for building, orchestrating, and validating AI agents and their design processes, with a strong focus on code quality, security, and prompt engineering.