Uses Docker containers to execute code safely in isolated sandboxes with resource limits, preventing harmful operations while running Python code and tests.
Built on FastAPI framework to provide REST API endpoints for code linting, execution, testing, generation, and graph operations.
Provides tools for storing and querying knowledge graphs, including creating nodes and relationships, executing Cypher queries, and tracking code dependencies and service architectures.
Executes pytest test suites in isolated containers, running automated tests and reporting results with detailed pass/fail information.
π Ultimate MCP Platform
A complete AI development toolkit that lets you write, test, and execute code safelyβeven if you've never coded before.
Think of this as your AI coding assistant's brain: it can check code for errors, run tests, execute programs safely, store knowledge in a graph database, and generate new code from templates. Perfect for AI agents, developers, and anyone building with Claude or other AI tools.
π Table of Contents
π― What Is This?
Ultimate MCP is a complete development platform that gives AI assistants (like Claude) powerful tools to:
β Check code for errors (linting)
β Run code safely in isolated containers
β Execute tests automatically
β Generate new code from templates
β Store and query knowledge in a graph database
β Track relationships between code, services, and data
Who is this for?
π€ AI developers building agents with Claude, ChatGPT, or custom LLMs
π¨βπ» Software developers who want automated code quality tools
π Students learning to code with AI assistance
π’ Teams building internal developer tools
What makes it special?
π Secure by default - Code runs in sandboxes, can't harm your system
π§ Memory included - Neo4j graph database remembers everything
π MCP compatible - Works with Claude Desktop and any MCP client
π¦ One-click deploy - Everything runs in Docker containers
β‘ Quick Start (3 Steps)
Prerequisites
You need these installed on your computer:
Docker Desktop (Download here)
Git (Download here)
That's it! No Python, Node.js, or other tools needed.
Step 1: Download the Project
Open your terminal (Command Prompt on Windows, Terminal on Mac/Linux) and run:
Step 2: Start Everything
This single command will:
β Build all Docker containers
β Start Neo4j database
β Launch the backend API
β Start the web interface
β Generate secure passwords automatically
Wait 1-2 minutes for everything to start up.
Step 3: Verify It's Working
Open your browser and visit:
Web Interface: http://localhost:3000
API Documentation: http://localhost:8000/docs
Health Check: http://localhost:8000/health
If you see a green "OK" status, you're ready to go! π
π οΈ What Can It Do?
1. Code Quality Checking (Linting)
Automatically finds bugs, style issues, and potential problems in your code.
Example Use Case: Before deploying code, check if it follows best practices.
2. Safe Code Execution
Runs Python code in an isolated sandbox that can't access your files or network.
Example Use Case: Test a code snippet from the internet without risking your computer.
3. Automated Testing
Runs your test suite and reports which tests pass or fail.
Example Use Case: Verify your changes didn't break existing functionality.
4. Code Generation
Creates new code from templates by filling in variables.
Example Use Case: Generate boilerplate code for new API endpoints.
5. Knowledge Graph Storage
Stores information about your code, services, and their relationships in a graph database.
Example Use Case: Track which microservices call each other and their dependencies.
6. Graph Queries
Search and analyze your stored knowledge using Cypher query language.
Example Use Case: Find all services written in Python that call the authentication service.
π§ All Available Tools
Tool 1: lint_code - Check Code Quality
What it does: Analyzes code for errors, style issues, and complexity.
When to use it: Before committing code, during code reviews, or when learning.
Example Request:
Example Response:
What the response means:
functions: List of function names foundcomplexity: How complex the code is (lower is better)linter_exit_code: 0 means no errors foundlinter_output: Any warnings or errors
Tool 2: execute_code - Run Code Safely
What it does: Executes Python code in a secure sandbox with resource limits.
When to use it: Testing code snippets, running calculations, or prototyping.
Example Request:
Example Response:
What the response means:
return_code: 0 = success, non-zero = errorstdout: What the program printedstderr: Any error messagesduration_seconds: How long it took to run
β οΈ Security Note: Requires authentication token (found in .env.deploy file).
Tool 3: run_tests - Execute Test Suites
What it does: Runs pytest tests and reports results.
When to use it: Continuous integration, before deployments, or during development.
Example Request:
Example Response:
What the response means:
return_code: 0 = all tests passedstdout: Test results and summaryLook for "PASSED" or "FAILED" in the output
Tool 4: generate_code - Create Code from Templates
What it does: Fills in template variables to generate new code.
When to use it: Creating boilerplate, generating similar functions, or scaffolding.
Example Request:
Example Response:
Tool 5: graph_upsert - Store Knowledge
What it does: Saves nodes and relationships to the Neo4j graph database.
When to use it: Tracking services, storing code metadata, or building knowledge graphs.
Example Request:
Example Response:
Real-World Use Case: Track your microservices architecture:
Which services exist
What languages they use
How they connect to each other
Performance metrics for each connection
Tool 6: graph_query - Search Knowledge
What it does: Queries the graph database using Cypher language.
When to use it: Finding patterns, analyzing relationships, or generating reports.
Example Request:
Example Response:
Common Query Examples:
Find all Python services:
Find services with high complexity:
Find connection chains:
π Built-in AI Prompts
The platform includes 7 pre-configured AI assistant prompts for different tasks:
1. proceed - Senior Pair-Programmer
Use when: You need help writing or debugging code What it does: Acts as an experienced developer helping you code Example: "Help me implement a user authentication system"
2. evaluate - Comprehensive Audit
Use when: You need a thorough code review What it does: Analyzes code quality, security, and best practices Example: "Review this API endpoint for security issues"
3. real-a - Production Delivery
Use when: Preparing code for production deployment What it does: Ensures code is production-ready with proper error handling Example: "Make this code production-ready"
4. test-a - CI Quality Runner
Use when: Setting up automated testing What it does: Creates comprehensive test suites Example: "Generate tests for this function"
5. improve - Holistic Refactor
Use when: Code works but needs improvement What it does: Refactors code for better performance and maintainability Example: "Optimize this database query function"
6. clean - Repo Janitor
Use when: Codebase needs cleanup What it does: Removes dead code, fixes formatting, updates dependencies Example: "Clean up unused imports and format this file"
7. synthesize - Systems Integration
Use when: Connecting multiple services or systems What it does: Helps integrate different components Example: "Connect this API to the payment gateway"
How to use prompts:
π Built-in MCP Resources
Codex CLI, Claude Desktop, and other MCP clients can now stream the core project manuals directly
from the server. Each resource is available under the resource://ultimate-mcp/... namespace:
URI | What You Get |
| Project overview, feature list, and navigation links |
| Three-step launch checklist for the full stack |
| Operating guidelines targeted at agentic coding assistants |
| Codex CLI, Gemini CLI, and Amazon Q MCP configuration recipes |
| High-level status brief and roadmap priorities for leadership |
| Visual architecture walkthrough covering backend, frontend, and graph pieces |
CLI tip:
π‘ Real-World Examples
Example 1: Building a REST API
Scenario: You're building a user management API and want to ensure quality.
Step 1 - Generate the code:
Step 2 - Check code quality:
Step 3 - Test it:
Step 4 - Store in knowledge graph:
Example 2: Analyzing Your Microservices
Scenario: You have 10 microservices and want to understand their dependencies.
Step 1 - Store all services:
Step 2 - Find all dependencies:
Step 3 - Find critical services (most dependencies):
Example 3: Learning Python with AI
Scenario: You're learning Python and want to practice with immediate feedback.
Step 1 - Write code:
Step 2 - Check for issues:
Step 3 - Run it safely:
Step 4 - Add tests:
π Accessing Your Services
Once deployed, you can access:
Service | URL | Purpose |
Web Interface | Visual dashboard for all tools | |
API Documentation | Interactive API testing (Swagger UI) | |
Health Check | System status | |
Metrics | Performance metrics | |
Neo4j Browser | Graph database interface | |
Neo4j Bolt | bolt://localhost:7687 | Direct database connection |
Finding Your Authentication Token
Your secure token is in the .env.deploy file:
Copy the value after AUTH_TOKEN= and use it in your requests:
Neo4j Database Access
Username: neo4j
Password: Found in .env.deploy under NEO4J_PASSWORD
π§ Troubleshooting
Problem: "Port already in use"
Solution: Another service is using the same port.
Problem: "Cannot connect to Docker daemon"
Solution: Docker Desktop isn't running.
Open Docker Desktop application
Wait for it to fully start (whale icon in system tray)
Try
./deploy.shagain
Problem: "Authentication failed"
Solution: Using wrong or expired token.
Problem: "Neo4j not healthy"
Solution: Database needs more time to start.
Problem: "Code execution timeout"
Solution: Code is taking too long or has infinite loop.
Default timeout is 30 seconds
Check your code for infinite loops
Optimize slow operations
π Advanced Usage
Using with Claude Desktop
Install Claude Desktop from Anthropic
Configure MCP by editing
~/.config/Claude/claude_desktop_config.json:
Restart Claude Desktop
Test it: Ask Claude "Can you lint this Python code for me?"
Deploying to Production
Option 1: Railway (Recommended)
Option 2: Docker Compose on VPS
Option 3: Kubernetes
Custom Configuration
Edit .env.deploy to customize:
Monitoring and Logs
View logs:
Check metrics:
Backup Neo4j Data
π Additional Resources
Full API Documentation: http://localhost:8000/docs (when running)
Neo4j Cypher Guide: https://neo4j.com/docs/cypher-manual/current/
MCP Protocol Spec: https://modelcontextprotocol.io/
FastAPI Docs: https://fastapi.tiangolo.com/
Docker Guide: https://docs.docker.com/get-started/
π€ Contributing
We welcome contributions! Here's how:
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureMake your changes
Run tests:
python scripts/smoke_test.pyCommit:
git commit -m "Add amazing feature"Push:
git push origin feature/amazing-featureOpen a Pull Request
See AGENTS.md for detailed contributor guidelines.
π License
MIT License - see LICENSE file for details.
π Getting Help
Issues: GitHub Issues
Discussions: GitHub Discussions
Documentation: Check
docs/folder for detailed guides
π Quick Reference Card
Most Common Commands:
Default Ports:
Frontend: 3000
Backend: 8000
Neo4j Browser: 7474
Neo4j Bolt: 7687
Important Files:
.env.deploy- Your passwords and tokensdeployment/docker-compose.yml- Service configurationbackend/requirements.txt- Python dependencies
Made with β€οΈ for the AI development community
This server cannot be installed