@bretwardjames/ghp-mcp 0.1.0-beta.0

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.
@@ -0,0 +1,15 @@
1
+
2
+
3
+ > @bretwardjames/ghp-mcp@0.1.0-beta.0 build /home/bretwardjames/IdeaProjects/ghp/packages/mcp
4
+ > tsup src/index.ts --format esm --dts
5
+
6
+ CLI Building entry: src/index.ts
7
+ CLI Using tsconfig: tsconfig.json
8
+ CLI tsup v8.5.1
9
+ CLI Target: es2022
10
+ ESM Build start
11
+ ESM dist/index.js 44.77 KB
12
+ ESM ⚡️ Build success in 26ms
13
+ DTS Build start
14
+ DTS ⚡️ Build success in 858ms
15
+ DTS dist/index.d.ts 20.00 B
package/CHANGELOG.md ADDED
@@ -0,0 +1,12 @@
1
+ # @bretwardjames/ghp-mcp
2
+
3
+ ## 0.1.0-beta.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Adds non-interactive support for CLI commands, as well as a full MCP server for configuring AI agents to work directly with the CLI.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @bretwardjames/ghp-core@0.2.0-beta.0
package/README.md ADDED
@@ -0,0 +1,112 @@
1
+ # @bretwardjames/ghp-mcp
2
+
3
+ MCP server for GitHub Projects - exposes GitHub Projects functionality to AI assistants via the [Model Context Protocol](https://modelcontextprotocol.io).
4
+
5
+ Part of the [GHP monorepo](https://github.com/bretwardjames/ghp). Works alongside the [CLI](https://github.com/bretwardjames/ghp/tree/main/packages/cli) and [VS Code extension](https://github.com/bretwardjames/ghp/tree/main/apps/vscode).
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install -g @bretwardjames/ghp-mcp
11
+ ```
12
+
13
+ ## Configuration
14
+
15
+ ### Quick Setup (Recommended)
16
+
17
+ **From CLI:**
18
+ ```bash
19
+ ghp mcp --install
20
+ ```
21
+
22
+ **From VS Code/Cursor:**
23
+ Open Command Palette → "GitHub Projects: Install MCP Server for Claude Desktop"
24
+
25
+ Both methods automatically configure Claude Desktop for you.
26
+
27
+ ### Manual Configuration
28
+
29
+ If you prefer to configure manually, add this to your Claude Desktop config file:
30
+
31
+ **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
32
+ **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
33
+ **Linux**: `~/.config/Claude/claude_desktop_config.json`
34
+
35
+ ```json
36
+ {
37
+ "mcpServers": {
38
+ "ghp": {
39
+ "command": "ghp-mcp"
40
+ }
41
+ }
42
+ }
43
+ ```
44
+
45
+ Or with npx (no global install required):
46
+
47
+ ```json
48
+ {
49
+ "mcpServers": {
50
+ "ghp": {
51
+ "command": "npx",
52
+ "args": ["@bretwardjames/ghp-mcp"]
53
+ }
54
+ }
55
+ }
56
+ ```
57
+
58
+ After configuring, restart Claude Desktop to load the MCP server.
59
+
60
+ ### Authentication
61
+
62
+ The server uses the same GitHub authentication as the CLI. Run `ghp auth` to authenticate, or set a `GITHUB_TOKEN` environment variable.
63
+
64
+ ## Tools
65
+
66
+ | Tool | Description |
67
+ |------|-------------|
68
+ | `work` | View items assigned to you |
69
+ | `get_project_board` | View project board/items (with optional status/assignee filters) |
70
+ | `create_issue` | Create a new issue and add to project |
71
+ | `update_issue` | Update an issue's title and/or body |
72
+ | `move` | Move an issue to a different status |
73
+ | `done` | Mark an issue as done |
74
+ | `start` | Start working on an issue |
75
+ | `assign` | Assign users to an issue |
76
+ | `comment` | Add a comment to an issue |
77
+ | `set_field` | Set a field value on an issue |
78
+
79
+ ### Example Usage
80
+
81
+ ```
82
+ AI: "Show me my current work items"
83
+ → Uses the `work` tool
84
+
85
+ AI: "Create a bug report for the login timeout issue"
86
+ → Uses `create_issue` with appropriate title/body
87
+
88
+ AI: "Move issue 42 to In Review"
89
+ → Uses `move` tool
90
+
91
+ AI: "Start working on issue 15"
92
+ → Uses `start` tool (creates branch, updates status)
93
+ ```
94
+
95
+ ## Resources
96
+
97
+ | Resource | Description |
98
+ |----------|-------------|
99
+ | `work://items` | Your assigned work items |
100
+ | `plan://board` | Full project board view |
101
+ | `issue://{number}` | Single issue details |
102
+ | `projects://list` | Available projects |
103
+
104
+ ## Requirements
105
+
106
+ - Node.js >= 18
107
+ - GitHub account with Projects access
108
+ - `ghp auth` completed or `GITHUB_TOKEN` environment variable
109
+
110
+ ## License
111
+
112
+ MIT
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node