Qwen3 MCP Server
Qwen3 MCP Server
A Model Context Protocol (MCP) server ecosystem providing access to multiple AI models optimized for different tasks: code generation, vision analysis, and complex reasoning.
š Quick Start
# Automated setup
./setup.sh
# Start default server
python src/main.py
# Or use ephemeral model switching
ask-qwen3 "Write a Python function" # Code generation
ask-vision "Analyze this image" # Visual analysis
ask-ministral "Solve this equation" # Complex reasoningš Documentation
Essential Guides
Setup Guide - Complete installation and configuration
Usage Guide - Workflows, examples, and best practices
Models Reference - Model capabilities and configurations
Agent Guide - Warp agent integration guidance
Quick Navigation
šļø Getting Started: Setup Guide ā Usage Guide
š¤ Model Selection: See Models Reference
š§ Troubleshooting: Check Setup Guide or Usage Guide
šÆ Specific Tasks: Browse Usage Guide
š Features
Multi-Model Ecosystem
Qwen3-Coder-Next: Code generation, debugging, technical writing
Qwen3-VL-8B: Image analysis, UI review, document OCR
Qwen3-30B: Complex reasoning with thinking mode
Ministral-3-14B: Mathematical reasoning and logical analysis
Flexible Hosting
Ollama: Local model serving (recommended)
HTTP API: Remote model endpoints
Transformers: Direct model loading
Ephemeral Switching: Dynamic model selection
Developer Experience
MCP Compliance: Full Model Context Protocol support
Shell Integration: Quick aliases and commands
Warp Integration: Native Warp agent support
Multi-Transport: stdio and HTTP transports
Thinking Mode: Detailed reasoning visualization
šÆ Use Cases
Task | Recommended Model | Command |
Code Review | Qwen3-Coder |
|
UI Analysis | Qwen3-Vision |
|
Math Problems | Ministral |
|
System Design | Qwen3-30B |
|
Document OCR | Qwen3-Vision |
|
Algorithm Design | Qwen3-Coder |
|
ā” Quick Commands
Model Switching
mcp-qwen3 # Code-focused development
mcp-vision # Visual analysis tasks
mcp-ministral # Reasoning and mathematics
mcp-all # Enable all models
mcp-clean # Reset to clean stateOne-Shot Tasks
ask-qwen3 "Write a REST API endpoint"
ask-vision "What's wrong with this UI?"
ask-ministral "Prove this theorem"Server Management
# Start with specific model
python src/main.py --model-method ollama --ollama-model qwen3:30b-a3b
# Start with HTTP endpoint
python src/main.py --model-method http --http-model qwen/qwen3-coder-next
# Enable debug logging
python src/main.py --log-level DEBUGš§ System Requirements
Python: 3.10+ (3.12+ recommended)
Memory: 16GB+ RAM (32GB+ for 30B model)
Network: Access to HTTP endpoints or Ollama service
OS: macOS, Linux, Windows
Optional: CUDA-compatible GPU for Transformers method
š¦ Health Check
# Check system status
mcp-list
# Test specific model
ask-ministral "Hello, are you working?"
# Verify endpoints
curl -s http://localhost:1234/v1/modelsš Project Structure
qwen3-mcp-server/
āāā docs/ # š Comprehensive documentation
ā āāā SETUP.md # Installation and configuration
ā āāā USAGE.md # Usage patterns and examples
ā āāā MODELS.md # Model reference and capabilities
āāā src/ # š§ Core implementation
ā āāā main.py # Entry point and CLI
ā āāā server.py # MCP server implementation
ā āāā model_interface.py # Model hosting abstractions
ā āāā config.py # Configuration management
āāā config/ # āļø Model configurations
ā āāā qwen3-coder-http.json
ā āāā qwen3-vl-8b-http.json
ā āāā ministral-3-14b-reasoning-http.json
āāā scripts/ # š¤ Automation scripts
ā āāā switch-model.sh # Model switching logic
āāā AGENTS.md # š¤ Warp agent guidance
āāā setup.sh # š Automated setup
āāā requirements.txt # š¦ Python dependencies
## š License
MIT License - see [LICENSE](LICENSE) file for details.
## š Acknowledgments
- [Model Context Protocol](https://modelcontextprotocol.io/) by Anthropic
- [Qwen Team](https://github.com/QwenLM) for the Qwen3 models
- [Ollama](https://ollama.ai/) for local model hosting
- [Mistral AI](https://mistral.ai/) for the Ministral reasoning modelLatest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/WOODSEE-DIGI/qwen3-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server