MCP Qwen Project

by tgohblio

361 downloads
Not rated
GitHub

About

The MCP Qwen Project is an MCP server that uses Qwen language models via the OpenRouter API. It processes user-defined tasks using a Qwen agent, requiring Python 3.11+, a valid OpenRouter API key, and the uv command-line tool. The server is primarily aimed at developers…

Details

Author
tgohblio
Downloads
361
Categories
Other

- Integrates Qwen language models via the OpenRouter API.
- Requires Python 3.11 or higher for execution.
- Uses the uv command-line tool for MCP server commands.
- Environment variables configured through a .env file.
- Easy dependency management with pip and requirements.txt.
- Processes user-defined tasks with the Qwen agent.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Qwen Project
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, then set up a virtual environment and install dependencies with pip install -r requirements.txt. Install the uv command-line tool (required for MCP server commands) and create a .env file with your OpenRouter API key. Finally, run python main.py to start the server and process tasks using the Qwen agent.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp qwen project": {
            "mcp_qwen": {
                "command": "python3",
                "args": [
                    "-m",
                    "venv",
                    "venv"
                ]
            }
        }
    }
}

McpServers

{
    "mcp_qwen": {
        "command": "python3",
        "args": [
            "-m",
            "venv",
            "venv"
        ]
    }
}

MCP Qwen Project

Installation

Follow the steps below to set up the MCP Qwen project:

Prerequisites

- Python 3.11 or higher - pip package manager - Access to OpenRouter API (API key required) - uv command-line tool installed

Steps

1. Clone the Repository:

   git clone https://github.com/yourusername/mcp_qwen.git
cd mcp_qwen

2. Set Up a Virtual Environment (optional but recommended):

   python3 -m venv venv
source venv/bin/activate

3. Install Dependencies:
Run the following command to install the required Python packages:

   pip install -r requirements.txt

4. Install uv:
Install the uv command-line tool, which is required for MCP server commands:

   brew install uv

5. Configure Environment Variables:
Create a .env file in the project root and add your OpenRouter API key:

   OPENROUTER_API_KEY=your_api_key_here

To obtain the API key:
- Visit OpenRouter and sign up for an account.
- Generate an API key from your account dashboard.

Run

To execute the project, run the following command:

python main.py

This will start the application and process the defined tasks using the Qwen agent.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.