scopecraft/command 是从 https://github.com/scopecraft/command. 导入的 MCP 服务器候选
概览
scopecraft/command 是从 https://github.com/scopecraft/command. 导入的 MCP 服务器候选
概述(AI 翻译)
一个强大的命令行工具和MCP服务器,用于管理Markdown驱动任务管理(MDTM)文件。Scopecraft帮助您以结构化的方式组织任务、功能和开发工作流。
版本2.0:现在支持双状态工作流(当前/归档)和基于阶段的组织,复杂功能的父任务,以及先进的子任务排序功能!
主要功能:
- 通过灵活的项目根配置,支持任何 AI IDE(Cursor、Claude Desktop 等)
- 两状态工作流,基于阶段的任务组织(当前/归档+阶段元数据)
- 父任务,带有子任务顺序和并行执行
- 支持 MDTM 格式,支持 TOML/YAML 前置件
- 提供CLI和MCP服务器接口
- 包含用于功能开发的专用 Claude 命令
- 自动项目类型检测
- 多项目支持,切换便捷
安装
从 NPM 安装
全局安装(推荐)
安装后,以下命令将可用:
scopecraft/sc- 任务管理的CLIscopecraft-mcp/sc-mcp- MCP服务器(HTTP/SSE)scopecraft-stdio/sc-stdio- MCP服务器(STDIO传输)
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Scopecraft Command
A powerful command-line tool and MCP server for managing Markdown-Driven Task Management (MDTM) files. Scopecraft helps you organize tasks, features, and development workflows with a structured approach.
Version 2.0: Now with two-state workflow (current/archive) and phase-based organization, parent tasks for complex features, and advanced subtask sequencing capabilities!
Key Features:
- Works with any AI IDE (Cursor, Claude Desktop, etc.) via flexible project root configuration
- Two-state workflow with phase-based task organization (current/archive + phase metadata)
- Parent tasks with subtask sequencing and parallel execution
- Supports MDTM format with TOML/YAML frontmatter
- Provides both CLI and MCP server interfaces
- Includes specialized Claude commands for feature development
- Automated project type detection
- Multi-project support with easy switching
Installation
Install from NPM
Global Installation (Recommended)
# Install globally with npm
npm install -g @scopecraft/cmd
# Or with yarn
yarn global add @scopecraft/cmd
# Or with bun
bun install -g @scopecraft/cmd
After installation, these commands will be available:
scopecraft/sc- CLI for task managementscopecraft-mcp/sc-mcp- MCP server (HTTP/SSE)scopecraft-stdio/sc-stdio- MCP server (STDIO transport)
Using with npx (No Installation)
# Run CLI commands directly
npx @scopecraft/cmd sc task list
npx @scopecraft/cmd sc feature create "New Feature"
# Run MCP STDIO server
npx --package=@scopecraft/cmd scopecraft-stdio --root-dir /path/to/your/project
Install from Source
# Clone repository
git clone https://github.com/scopecraft-ai/scopecraft-command.git
cd scopecraft-command
# Install dependencies
bun install
# Build project
bun run build
# Install globally
bun run install:global
Project Root Configuration
Scopecraft now works with any AI IDE! Configure your project root using one of these methods:
Quick Setup for AI IDEs
Cursor / Claude Desktop
# Start MCP server with your project
scopecraft-mcp --root-dir /path/to/your/project
Or add to your IDE’s MCP configuration:
{
"scopecraft": {
"command": "scopecraft-mcp",
"args": ["--root-dir", "/path/to/your/project"]
}
}
Multiple Projects
Create ~/.scopecraft/config.json:
{
"projects": {
"frontend": { "path": "/projects/myapp/frontend" },
"backend": { "path": "/projects/myapp/backend" }
}
}
Then switch projects at runtime:
init_root /projects/myapp/backend
Configuration Methods
- CLI Parameter:
--root-dir /path/to/project - MCP Command:
init_root /path/to/project - Config File:
~/.scopecraft/config.json - Environment:
SCOPECRAFT_ROOT=/path/to/project
See Project Root Configuration Guide for detailed setup instructions.
Getting Started
安装
npx @scopecraft/cmd sc task list