
Problem Solving MCP Server
โ 1from TerLand0berver
An intelligent problem-solving server that automatically forms multi-role teams and uses the Eisenhower matrix for efficient task management and collaboration.
๐ Problem Solving MCP Server
Multi-Role Collaborative Problem Solving Framework Based on Model Context Protocol
๐ Documentation Navigation
| Document | Description | Language |
|---|---|---|
| README.md | Complete project documentation | ไธญๆ |
| README.md | Complete project documentation | English |
| INSTALLATION.md | Installation and configuration guide | English |
| QUICK_START.md | Quick start guide (5 minutes) | English |
| example-usage.md | Detailed usage examples | English |
| ๅฎ่ฃ ๆๅ | ๅฎ่ฃ ๅ้ ็ฝฎๆๅ | ไธญๆ |
| ๅฟซ้ๅผๅง | 5ๅ้ๅฟซ้้ ็ฝฎ | ไธญๆ |
| ไฝฟ็จ็คบไพ | ่ฏฆ็ปไฝฟ็จ็คบไพ | ไธญๆ |
๐ Overview
This is an intelligent problem-solving MCP server that creates 3-12 professional roles based on problem complexity, uses the Eisenhower Matrix for priority management, and implements parallel processing optimization to generate comprehensive, executable, and efficient solutions.
โจ Core Features
- ๐ญ Intelligent Team Configuration: Automatically recommend 3-12 member teams based on problem complexity
- ๐ Multi-dimensional Quality Assurance: Comprehensive checks on completeness, feasibility, quality, risk, and timeline
- โก Parallel Processing Optimization: Automatically detect repetitive tasks and expand teams (up to 30 members)
- ๐ Eisenhower Matrix Analysis: Important-urgent quadrant analysis for priority management
- ๐ค Multi-role Collaboration: 12 professional role types for comprehensive problem solving
- ๐ก Reflection and Improvement: Built-in reflection mechanism for continuous optimization
๐ฏ API Documentation
Core Tools (4)
| Tool | Description | Parameters |
|---|---|---|
create_problem | Create problem definition | title, description, domain, complexity_score |
solve_problem | Intelligent problem solving (core function) | problem_id |
get_role_recommendations | Get role configuration suggestions | problem_id |
check_solution | Check solution quality | problem_id |
Management Tools (4)
| Tool | Description | Parameters |
|---|---|---|
get_problem_history | View problem history | - |
get_team_status | View team status | problem_id |
update_team_member | Update team member | problem_id, role_id, updates |
assign_task | Assign tasks | problem_id, task, assigned_to, priority |
Analysis Tools (4)
| Tool | Description | Parameters |
|---|---|---|
eisenhower_matrix_analysis | Important-urgent quadrant analysis | problem_id |
analyze_task_dependencies | Task dependency analysis | problem_id |
optimize_parallel_execution | Parallel execution optimization | problem_id |
get_execution_report | Get execution report | problem_id |
Reflection Tools (3)
| Tool | Description | Parameters |
|---|---|---|
create_reflection | Create reflection record | problem_id, phase, insights, lessons_learned |
get_reflection_summary | Get reflection summary | problem_id |
improve_solution | Improve solution | problem_id, feedback |
๐๏ธ System Architecture
graph TB
A[Problem Input] --> B[Role Creator]
B --> C[Team Assembly]
C --> D[Solution Generation]
D --> E[Result Checker]
E --> F{Quality Check}
F -->|Pass| G[Execution Plan]
F -->|Fail| H[Improvement Suggestions]
H --> D
G --> I[Parallel Optimizer]
I --> J[Team Expansion]
J --> K[Parallel Execution]
K --> L[Coordinator]
L --> M[Final Solution]
M --> N[Reflection & Learning]
subgraph "Core Components"
B
E
L
I
end
subgraph "Quality Assurance"
F
H
N
end
subgraph "Execution Optimization"
I
J
K
end๐ญ Core Components
1. Role Creator (role-creator.ts)
- Function: Intelligently create professional teams based on problem characteristics
- Team Size: 3-12 members (expandable to 30 for parallel processing)
- Role Types: 12 professional roles including analyst, researcher, designer, developer, etc.
- Smart Matching: Select core and supporting roles based on problem domain and complexity
2. Result Checker (result-checker.ts)
- Multi-dimensional Assessment: Completeness, feasibility, quality, risk, timeline
- Problem Identification: Classify issues by severity (low, medium, high, critical)
- Improvement Suggestions: Generate specific, actionable recommendations
- Scoring System: Comprehensive scoring (0-100) with approval decisions
3. Coordinator (coordinator.ts)
- Process Management: Complete problem-solving workflow orchestration
- Task Dependencies: Manage task relationships and parallel execution
- Progress Tracking: Real-time monitoring of solution progress
- Quality Control: Multi-round improvement and iteration support
4. Parallel Optimizer (parallel-optimizer.ts)
- Task Analysis: Evaluate task repetitiveness and workload
- Team Expansion: Intelligent scaling based on workload analysis
- Role Subdivision: Single-function multi-role parallel processing
- Efficiency Target: 2.5x performance improvement goal
๐ Best Practices
Problem Definition
// Good example
{
title: "Develop AI Customer Service System",
description: "Develop intelligent customer service system for e-commerce platform, supporting multi-turn dialogue, sentiment analysis, and automatic replies",
domain: "software_development",
complexity_score: 8
}Team Configuration
- Simple Problems (1-3): 3-5 members, core roles
- Medium Problems (4-6): 6-8 members, core + supporting roles
- Complex Problems (7-10): 9-12 members, full professional team
Priority Management
Use Eisenhower Matrix for task prioritization:
- Urgent & Important: Immediate action
- Important & Not Urgent: Planned execution
- Urgent & Not Important: Delegate or automate
- Not Urgent & Not Important: Eliminate or postpone
๐ Performance Metrics
Efficiency Improvements
- Team Expansion: Up to 30 members for complex tasks
- Parallel Processing: 2.5x efficiency improvement target
- Quality Assurance: Multi-dimensional scoring system
- Iteration Optimization: Reflection-based continuous improvement
Resource Allocation
- Capability-based: Workload distribution based on role capabilities
- Conflict Avoidance: Prevent resource conflicts
- Dynamic Load Balancing: Real-time workload adjustment
๐งช Testing and Debugging
Development Mode
npm run devDebug Logging
NODE_ENV=development npm startTest Commands
# Basic functionality test
npm test
# Integration test
npm run test:integration
# Performance test
npm run test:performance๐ค Community and Support
Getting Help
- ๐ง Email: your-email@example.com
- ๐ Issue Reporting: GitHub Issues
- ๐ Documentation: Wiki
- ๐ฌ Community: Discord
Contributing
- ๐ง Code Contributions: Follow our Contributing Guide
- ๐ Documentation: Help improve documentation
- ๐ Bug Reports: Report issues with detailed information
- ๐ก Feature Requests: Suggest new features
๐บ๏ธ Roadmap
Version 1.1
- Persistent storage support (PostgreSQL, MongoDB)
- Web dashboard interface
- RESTful API endpoints
- Role template marketplace
Version 1.2
- Machine learning-based role recommendations
- Advanced parallel processing algorithms
- Integration with external project management tools
- Multi-language support expansion
Version 2.0
- Distributed processing architecture
- Real-time collaboration features
- Advanced analytics and reporting
- Enterprise-grade security features
๐ License
MIT License - see LICENSE file for details
๐ Congratulations! Your Problem Solving MCP Server is ready!
Start enjoying the power of intelligent problem solving! ๐โจ
๐ ๏ธ Quick Configuration
In Cursor
{
"mcpServers": {
"problem-solving": {
"command": "node",
"args": ["/path/to/problem-solving-mcp/dist/index.js"],
"cwd": "/path/to/problem-solving-mcp",
"env": {
"NODE_ENV": "production"
}
}
}
}In Claude Desktop
{
"mcpServers": {
"problem-solving": {
"command": "node",
"args": ["/path/to/problem-solving-mcp/dist/index.js"],
"cwd": "/path/to/problem-solving-mcp",
"env": {
"NODE_ENV": "production"
}
}
}
}Note: Replace
/path/to/problem-solving-mcpwith your actual project path
โ๏ธ Configuration and Extension
Environment Variables
NODE_ENV=production # Production mode
DEBUG_MODE=false # Debug mode
MAX_TEAM_SIZE=30 # Maximum team size
PARALLEL_THRESHOLD=0.7 # Parallel processing thresholdCustom Role Types
// Extend role types in types.ts
export enum RoleType {
// ... existing roles
custom_specialist = 'custom_specialist'
}๐ Deployment and Operations
Production Deployment
# Build project
npm run build
# Start service
npm start
# Process management (PM2)
pm2 start dist/index.js --name problem-solving-mcpMonitoring
- Health Checks: Service status monitoring
- Performance Metrics: Response time, success rate tracking
- Error Logging: Comprehensive error logging and alerting
Scaling
- Horizontal Scaling: Multiple service instances
- Load Balancing: Request distribution
- Resource Monitoring: CPU, memory usage tracking
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub โ