@we-scrum/cli 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,63 @@
1
+ # @we-scrum/cli
2
+
3
+ Command-line tool and MCP server for the [we-scrum](https://github.com/BUONJG/we-scrum) application.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install -g @we-scrum/cli
9
+ ```
10
+
11
+ ## Authentication
12
+
13
+ Authentication uses Google OAuth2. Credentials are stored locally in `~/.we-scrum.json` and refreshed automatically on each use.
14
+
15
+ ```bash
16
+ we-scrum login # Authenticate with your Google account
17
+ we-scrum logout # Remove stored credentials
18
+ ```
19
+
20
+ ## Commands
21
+
22
+ ### Select a project
23
+
24
+ ```bash
25
+ we-scrum use-project # Interactive project picker
26
+ we-scrum use-project --projectId <id> # Set project directly
27
+ ```
28
+
29
+ The selected project is persisted in `~/.we-scrum.json` and used by all subsequent commands.
30
+
31
+ ### MCP server
32
+
33
+ Start the we-scrum MCP server over stdio transport:
34
+
35
+ ```bash
36
+ we-scrum mcp
37
+ we-scrum mcp --projectId <id> # Override the active project for this session
38
+ ```
39
+
40
+ ## MCP integration
41
+
42
+ Add the following to your MCP client configuration (e.g. Claude Desktop):
43
+
44
+ ```json
45
+ {
46
+ "mcpServers": {
47
+ "we-scrum": {
48
+ "command": "we-scrum",
49
+ "args": ["mcp"]
50
+ }
51
+ }
52
+ }
53
+ ```
54
+
55
+ ### Available tools
56
+
57
+ | Tool | Description |
58
+ |------|-------------|
59
+ | `get_next_task` | Get the next pending task (status: ToDo) for a story, including its description, type template, section analysis, and the IDs needed to start or complete it. |
60
+
61
+ ## Requirements
62
+
63
+ - Node.js 22+