Skip to main content
Glama

Qwen-MCP — All-in-One MCP Server & Continuity Memory

A comprehensive, token-optimized Model Context Protocol (MCP) server that equips AI agents (Claude, ChatGPT, Qwen Chat, Cursor, Antigravity, etc.) with local system capabilities and cross-session Continuity Memory.


Features

1. Continuity Memory Suite (Cross-AI Session Persistence)

Enables seamless handoffs across AI clients (Claude web, ChatGPT, Qwen Chat) when quotas run out mid-task:

  • memory_init: Initializes/loads project workspace under ~/.continuity/projects/<project_id>/ and returns briefing.md.

  • memory_read: Reads briefing (default), specific section (architecture, todo, file-map, decisions), or full dump.

  • memory_update: Updates memory sections incrementally (replace or append).

  • memory_log: Appends timestamped events to append-only log.jsonl.

  • memory_compact: Deterministic server-side compaction of historical logs into structured briefing.md.

  • memory_list: Lists all active projects and token estimates.

  • memory_status: Token breakdown and client tracking.

2. Filesystem & Navigation

  • read_file: Read file contents with optional line range.

  • write_file: Write/overwrite files with automatic parent directory creation.

  • append_file: Append content to files.

  • delete_file: Delete files safely.

  • copy_file: Copy files with overwrite protection.

  • list_directory: Tree-view directory listing with file sizes and directory counts.

  • create_directory: Recursive directory creation.

  • delete_directory: Safe directory deletion (recursive support).

  • rename: Move or rename files/directories.

  • get_file_info: Metadata (size, permissions, timestamps).

  • file_exists: Check path existence and type.

  • search_files: Search text patterns across files.

  • find_files: Find files/directories by glob or regex.

3. Command Execution & System Monitoring

  • execute_command: Execute PowerShell (Windows) or Bash (Unix) commands with streaming logs and configurable timeouts (default 10 min).

  • list_processes: List running processes with PIDs and memory usage.

  • kill_process: Terminate processes by PID.

  • list_active_ports: Inspect listening TCP network ports.

  • get_system_info: Inspect CPU, RAM, OS, uptime, and disk usage.

  • get_env / set_env: Read and update session environment variables.

4. Desktop & GUI Automation

  • take_screenshot: Capture PNG screenshots of active monitors.

  • mouse_move / mouse_click: Coordinate-based cursor movement and clicking.

  • keyboard_type: Simulated keystroke typing into active windows.

  • read_clipboard / write_clipboard: System clipboard text access.

  • send_notification: Native desktop notification alerts.

  • http_request: Fetch APIs (GET, POST, PUT, DELETE, PATCH) with formatted responses.

5. Bundled Skills (MCP Prompts & Resources)

  • Bundles the continuity-memory skill directly in skills/continuity-memory/SKILL.md.

  • Exposes skills over the MCP protocol as MCP Prompts (continuity-memory) and MCP Resources (skill://continuity-memory).


Related MCP server: darkside-mcp

Quick Start

Installation

git clone https://github.com/YOUSEFISLAM-dev/qwen-mcp.git
cd qwen-mcp
npm install
npm run build

Running

node dist/index.js

Configuration

Environment Variable

Default

Description

ALLOWED_ROOT

process.cwd()

Semicolon/comma separated allowed directory roots for filesystem tools (e.g. C:/Users/youse;F:/workspace).

CONTINUITY_ROOT

~/.continuity

Storage directory for Continuity Memory projects.

LOG_LEVEL

INFO

DEBUG, INFO, WARN, or ERROR.


Client Integration Examples

Qwen Chat / Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "qwen-mcp": {
      "command": "node",
      "args": ["C:/path/to/qwen-mcp/dist/index.js"],
      "env": {
        "ALLOWED_ROOT": "C:/Users/youse",
        "LOG_LEVEL": "INFO"
      }
    }
  }
}

Testing

# Run test suite (69 tests across 12 suites)
npm test

# Build TypeScript
npm run build

License

MIT

Available Tools

37 tools
append_fileA

Append content to file. Creates if missing.

Inputs: path (required), content (required).

copy_fileB

Copy file from source to destination.

Inputs: source (required), destination (required), overwrite.

create_directoryA

Create directory (and parents).

Inputs: path (required).

delete_directoryA

Delete directory. Set recursive=true for non-empty.

Inputs: path (required), recursive.

delete_fileC

Delete a file.

Inputs: path (required).

execute_commandB

Run a shell command in an allowed directory. PowerShell on Windows, bash on Unix.

Inputs: command (required), cwd, timeout.

file_existsB

Check if path exists and its type.

Inputs: path (required).

find_filesB

Find files/dirs by name pattern. Supports wildcards and regex.

Inputs: directory (required), name_pattern (required), type, max_results.

get_envA

Read environment variable(s). Omit name for all.

Inputs: name.

get_file_infoA

Get file/directory metadata: size, type, timestamps, permissions.

Inputs: path (required).

get_system_infoB

Get system info: OS, CPU, RAM, disk.

Inputs: no named parameters.

http_requestA

Make HTTP request (GET/POST/PUT/DELETE/PATCH) with headers and body.

Inputs: url (required), body, method, headers, +1 more.

keyboard_typeA

Simulate keyboard typing on active window.

Inputs: text (required).

kill_processC

Terminate a process by PID.

Inputs: pid (required), force.

list_active_portsA

List TCP ports in LISTEN state.

Inputs: no named parameters.

list_directoryB

List directory contents with metadata. Supports recursive listing.

Inputs: path (required), max_depth, recursive, show_hidden.

list_processesA

List running processes with PID, name, and memory.

Inputs: limit, filter_name.

memory_compactC

Run server-side compaction of log and sections into briefing.md.

Inputs: project_id (required), target_tokens.

memory_initB

Init or load project memory. Call first in any session. Returns briefing.

Inputs: project_id (required), project_name.

memory_listB

List all known project IDs and metadata.

Inputs: no named parameters.

memory_logA

Append single timestamped event to log. Call frequently after meaningful steps.

Inputs: event (required), project_id (required), tags, client.

memory_readB

Read project memory. Mode: briefing (default) | section | full.

Inputs: project_id (required), mode, section.

memory_retrieveC

Retrieve a value by key from persistent memory.

Inputs: key (required).

memory_statusB

Get token estimates, last compaction, and client info for a project.

Inputs: project_id (required).

memory_storeC

Store a key-value pair in persistent memory.

Inputs: key (required), value (required).

memory_updateC

Update a memory section (architecture|todo|file-map|decisions) in small increments.

Inputs: content (required), section (required), project_id (required), mode.

mouse_clickA

Click mouse button at current position.

Inputs: button.

mouse_moveA

Move cursor to screen coordinates.

Inputs: x (required), y (required).

read_clipboardA

Read text from system clipboard.

Inputs: no named parameters.

read_fileA

Read file contents. Supports line range (1-based).

Inputs: path (required), encoding, end_line, start_line.

renameC

Rename/move a file or directory.

Inputs: source (required), destination (required).

search_filesA

Search text pattern across files in a directory. Returns matching lines with paths and line numbers.

Inputs: pattern (required), directory (required), max_results, file_pattern, +2 more.

send_notificationB

Send a native desktop notification.

Inputs: message (required), title.

set_envB

Set an environment variable for this session.

Inputs: name (required), value (required).

take_screenshotA

Capture screen to PNG file.

Inputs: filename.

write_clipboardB

Write text to system clipboard.

Inputs: text (required).

write_fileC

Write content to file. Creates parent dirs.

Inputs: path (required), content (required), encoding, create_parents.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 37 tools

    Disambiguation4/5

    Most tools target distinct resources and actions: files, directories, processes, ports, memory, clipboard, and environment. Mild overlap exists between memory_read and memory_retrieve, and file_exists and get_file_info, but their descriptions are clear enough to prevent frequent misselection.

    Naming Consistency4/5

    The toolset is predominantly snake_case with clear verb-noun pairs like write_file, list_directory, kill_process, and send_notification, plus a consistent memory_ prefix. Minor deviations such as rename, file_exists, and http_request, along with noun-first mouse_move and keyboard_type, keep it from being perfectly uniform.

    Tool Count2/5

    37 tools is well above the typical well-scoped range and even exceeds the 25-tool threshold. The server spans filesystem, process management, memory, desktop automation, clipboard, environment, notifications, and HTTP, making it feel like several merged servers rather than one focused toolset.

    Completeness4/5

    Each domain has solid core coverage: filesystem CRUD, search, process listing/killing, memory lifecycle, desktop input, clipboard, environment, and HTTP. Minor gaps exist—such as no explicit scroll/drag, no process spawn tool, and limited filesystem metadata operations—but most can be worked around with execute_command.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      B
      maintenance
      An MCP server offering hybrid memory recall and continuity tools for AI agents. It also provides a governance gateway that pre-approves risky shell/file/git actions before execution.
      19
      Apache 2.0