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:trueorfalse(default:true)
📚 Available Tools
Project Context (1 tool)
get_project_context- Get project context
Milestones (2 tools)
list_project_milestones- Get project milestones listget_milestone_detail- Get milestone details with tasks
Tasks (6 tools)
get_task_detail- Get complete task informationget_my_tasks- Get my task listclaim_task- Claim a taskupdate_task_status- Update task statusrelease_task_lock- Release task locksplit_task_into_subtasks- Split task into subtasks
Subtasks (3 tools)
get_task_subtasks- Get subtasksupdate_subtask_status- Update subtask statusdelete_subtask- Delete a subtask
Documents (9 tools)
get_document_categories- Get available document categoriescreate_document_category- Create a new document categorylist_documents- List documentsget_document_by_title- Get document by titlesearch_documents- Search documentscreate_document- Create a new documentupdate_document- Update a documentdelete_document- Delete a documentget_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_RULESset totrue? - Does the MCP have permission to write to the project directory?
📖 Documentation
📝 License
MIT
Metadata
Release files for devgenius-mcp-client 1.3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| devgenius_mcp_client-1.3.7.tar.gz | 19.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| devgenius_mcp_client-1.3.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.0 kB
Release files / devgenius_mcp_client-1.3.7.tar.gz
| Download URL | devgenius_mcp_client-1.3.7.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e91a03cb3386b64a52c837817fc979f1546b0df496929df1b069a09ee78c96f
|
|
BLAKE2b-256 checksum How to use checksums |
dea7bf041695f8373cc468221e6d8809ae7353dd70e3b307d813647c23216d74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / devgenius_mcp_client-1.3.7-py3-none-any.whl
| Download URL | devgenius_mcp_client-1.3.7-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9966bc67215b9f4be62b5159c15ea2946468dd217d4bb6c6b33b0658f1789e29
|
|
BLAKE2b-256 checksum How to use checksums |
b20af0ecacdaa491d13133b19ac1dd577638296341cc5fc4d393cd3d6e49090e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for devgenius-mcp-client 1.3.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.