- CodePortal MCP Server
CodePortal MCP Server
An MCP server that organizes files into properly structured projects using Script_starter.py
Content
CodePortal MCP Server
This server helps you organize code files into properly structured projects and provides direct access to AI models like OpenAI and Google.
Features
- Project Organization - Structure projects using your existing Script_starter.py
- Security First - All settings are local and secure
- API Key Management - Store your OpenAI and Google keys securely
- Direct AI Access - Generate text from OpenAI or Google directly on your computer
- Auto-shutdown - Server closes after 15 minutes to keep your system clean
Getting Started
-
Clone this repository to your computer
git clone https://github.com/TylerALofall/code-portal-mcp.git cd code-portal-mcp -
Double-click
start_server.batto start the server -
Open your browser to http://localhost:8001/setup
- Complete the initial setup
- Configure your Script_starter.py paths
Using the AI Features
- Visit http://localhost:8001/ai/ui after starting the server
- Add your API keys in the "API Keys" tab:
- OpenAI key (starts with
sk-) - Google Generative AI key (starts with
AIza)
- OpenAI key (starts with
- Use the "Generate Text" tab to:
- Choose your provider (OpenAI or Google)
- Enter your prompt
- Get AI responses directly on your computer
Project Management
The server can create properly organized projects from multiple files:
import requests
# Files to organize
files = {
"main.py": "# Your Python code here",
"utils.py": "# Utility functions",
"README.md": "# Project Documentation"
}
# Send to CodePortal
response = requests.post(
"http://localhost:8001/createProject",
json={
"project_path": "C:/Users/tyler/Projects/my_project",
"project_name": "My Project",
"files": files
}
)
print(response.json())
Security
- All API keys are stored locally on your computer
- The server only runs when you start it
- Auto-shutdown after 15 minutes
- Access restricted to localhost by default
For Advanced Users
You can enable external access by:
- Going to http://localhost:8001/setup
- Enabling "Public API Mode"
- Setting a secure API key
This allows you to send files from other computers or AI services.
Using with Other AI Models
See external_api.md for instructions on using with Claude or other external models.
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Playwright McpPlaywright MCP server
Tavily Mcp
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
WindsurfThe new purpose-built IDE to harness magic
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Amap Maps高德地图官方 MCP Server
DeepChatYour AI Partner on Desktop
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
CursorThe AI Code Editor
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors