Skip to main content

DevGenius MCP Client for AI IDEs

Project description

DevGenius MCP Client

DevGenius MCP Client for AI IDEs (Cursor, Windsurf, Trae, etc.)

🚀 Quick Start with uvx

无需安装,一条命令运行!

uvx devgenius-mcp-client

📦 Installation Methods

Method 1: uvx (Recommended) ⭐

优点:

  • ✅ 无需预安装依赖
  • ✅ 自动创建隔离环境
  • ✅ 一条命令运行
# 直接运行(uvx 会自动安装依赖)
uvx devgenius-mcp-client

Method 2: pip

pip install devgenius-mcp-client
devgenius-mcp

Method 3: pipx

pipx install devgenius-mcp-client
devgenius-mcp

🔧 AI IDE Configuration

Trae IDE

{
  "mcpServers": {
    "devgenius": {
      "command": "uvx",
      "args": ["devgenius-mcp-client"],
      "env": {
        "DEVGENIUS_MCP_TOKEN": "mcp_你的Token",
        "DEVGENIUS_API_URL": "http://localhost:8000/api/v1/mcp"
      }
    }
  }
}

Cursor IDE

{
  "mcp": {
    "servers": {
      "devgenius": {
        "command": "uvx",
        "args": ["devgenius-mcp-client"],
        "env": {
          "DEVGENIUS_MCP_TOKEN": "mcp_你的Token",
          "DEVGENIUS_API_URL": "http://localhost:8000/api/v1/mcp"
        }
      }
    }
  }
}

Windsurf IDE

Same as Cursor.

🌐 Environment Variables

Required

  • DEVGENIUS_MCP_TOKEN - Your MCP Token (required)
  • DEVGENIUS_API_URL - API URL (default: http://localhost:8000/api/v1/mcp)

Optional (Rules Auto-Write)

  • DEVGENIUS_IDE_TYPE - IDE type: cursor, windsurf, vscode, trae (auto-detect if not set)
  • DEVGENIUS_PROJECT_PATH - Project root path (auto-detect if not set)
  • DEVGENIUS_AUTO_WRITE_RULES - Auto-write rules file: true or false (default: true)

📚 Available Tools

Project Context (1 tool)

  1. get_project_context - Get project context

Milestones (2 tools)

  1. list_project_milestones - Get project milestones list
  2. get_milestone_detail - Get milestone details with tasks

Tasks (6 tools)

  1. get_task_detail - Get complete task information
  2. get_my_tasks - Get my task list
  3. claim_task - Claim a task
  4. update_task_status - Update task status
  5. release_task_lock - Release task lock
  6. split_task_into_subtasks - Split task into subtasks

Subtasks (3 tools)

  1. get_task_subtasks - Get subtasks
  2. update_subtask_status - Update subtask status
  3. delete_subtask - Delete a subtask

Documents (9 tools)

  1. get_document_categories - Get available document categories
  2. create_document_category - Create a new document category
  3. list_documents - List documents
  4. get_document_by_title - Get document by title
  5. search_documents - Search documents
  6. create_document - Create a new document
  7. update_document - Update a document
  8. delete_document - Delete a document
  9. get_document_versions - Get document versions

Total: 21 MCP Tools

✨ Features

🎯 Auto Rules Sync (v1.2.0)

  • Auto-detect IDE type (Cursor, Windsurf, VS Code, Trae)
  • Auto-detect project root (Git root or current directory)
  • Auto-write rules file on MCP initialization
  • Backup existing files before overwrite (with timestamp)
  • Variable rendering ({{project_name}}, {{member_name}}, etc.)

📝 Rules Files

  • Cursor: .cursorrules
  • Windsurf: .windsurfrules
  • VS Code: .vscode/cursor-rules.md
  • Trae: .trae/rules.md

🔍 Troubleshooting

uvx not found

Install uv first:

# Windows (PowerShell)
irm https://astral.sh/uv/install.ps1 | iex

# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

Token not set

Make sure DEVGENIUS_MCP_TOKEN is set in the AI IDE configuration.

Rules not auto-written

Check the log file devgenius_mcp_server.log:

  • Is the project configured with Rules in DevGenius backend?
  • Is DEVGENIUS_AUTO_WRITE_RULES set to true?
  • Does the MCP have permission to write to the project directory?

📖 Documentation

📝 License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devgenius_mcp_client-1.3.7.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devgenius_mcp_client-1.3.7-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file devgenius_mcp_client-1.3.7.tar.gz.

File metadata

  • Download URL: devgenius_mcp_client-1.3.7.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for devgenius_mcp_client-1.3.7.tar.gz
Algorithm Hash digest
SHA256 0e91a03cb3386b64a52c837817fc979f1546b0df496929df1b069a09ee78c96f
MD5 b6a049fd242f052ecb8c335b4e254599
BLAKE2b-256 dea7bf041695f8373cc468221e6d8809ae7353dd70e3b307d813647c23216d74

See more details on using hashes here.

File details

Details for the file devgenius_mcp_client-1.3.7-py3-none-any.whl.

File metadata

File hashes

Hashes for devgenius_mcp_client-1.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9966bc67215b9f4be62b5159c15ea2946468dd217d4bb6c6b33b0658f1789e29
MD5 922f48cefb21a45b405a67bcce456e51
BLAKE2b-256 b20af0ecacdaa491d13133b19ac1dd577638296341cc5fc4d393cd3d6e49090e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page