Qwen3 MCP Server

Qwen3 MCP Server

Multi-model MCP server enabling code generation, visual analysis, and complex reasoning via Qwen3 models.

Category
Visit Server

README

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

Quick Navigation

🌟 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 ask-qwen3 "Review this code"
UI Analysis Qwen3-Vision ask-vision "Analyze this screenshot"
Math Problems Ministral ask-ministral "Solve step-by-step"
System Design Qwen3-30B python src/main.py --enable-thinking
Document OCR Qwen3-Vision ask-vision "Extract text from image"
Algorithm Design Qwen3-Coder ask-qwen3 "Implement data structure"

⚔ 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 state

One-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 model

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured