@mcpio/jira 2.3.0 → 2.3.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 +27 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,32 @@ npm install @mcpio/jira
|
|
|
25
25
|
|
|
26
26
|
## Setup
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
Get your API token: https://id.atlassian.com/manage-profile/security/api-tokens
|
|
29
|
+
|
|
30
|
+
### Option 1: MCP client config (recommended)
|
|
31
|
+
|
|
32
|
+
Add to your MCP client configuration (Claude Desktop, VS Code, Cursor, etc.):
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"mcpServers": {
|
|
37
|
+
"jira": {
|
|
38
|
+
"command": "npx",
|
|
39
|
+
"args": ["-y", "@mcpio/jira"],
|
|
40
|
+
"env": {
|
|
41
|
+
"JIRA_HOST": "https://your-domain.atlassian.net",
|
|
42
|
+
"JIRA_EMAIL": "your-email@example.com",
|
|
43
|
+
"JIRA_API_TOKEN": "your-api-token",
|
|
44
|
+
"JIRA_PROJECT_KEY": "YOUR-PROJECT-KEY"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Option 2: .env file
|
|
52
|
+
|
|
53
|
+
Create a `.env` file in the directory where you run the server:
|
|
29
54
|
|
|
30
55
|
```bash
|
|
31
56
|
JIRA_HOST=https://your-domain.atlassian.net
|
|
@@ -34,9 +59,7 @@ JIRA_API_TOKEN=your-api-token
|
|
|
34
59
|
JIRA_PROJECT_KEY=YOUR-PROJECT-KEY
|
|
35
60
|
```
|
|
36
61
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
3. Run:
|
|
62
|
+
Then run:
|
|
40
63
|
|
|
41
64
|
```bash
|
|
42
65
|
mcpio-jira
|
package/dist/index.js
CHANGED
|
@@ -101,7 +101,7 @@ function validateLabels(labels) {
|
|
|
101
101
|
return label;
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
|
-
const SERVER_VERSION = '2.3.
|
|
104
|
+
const SERVER_VERSION = '2.3.1';
|
|
105
105
|
const JIRA_URL = getRequiredEnv('JIRA_HOST', process.env.JIRA_URL ?? null);
|
|
106
106
|
const JIRA_EMAIL = getRequiredEnv('JIRA_EMAIL');
|
|
107
107
|
const JIRA_API_TOKEN = getRequiredEnv('JIRA_API_TOKEN');
|