Skip to content

Commit da4942f

Browse files
committed
docs: enhance README with comprehensive Jira MCP configuration and usage guide
- Add detailed Jira configuration instructions for Cursor IDE - Include recommended and non-recommended configuration methods - Expand documentation on available Jira MCP commands - Add troubleshooting section for common issues - Include roadmap and community support information - Improve overall readability and structure of documentation
1 parent 127dc37 commit da4942f

File tree

1 file changed

+75
-95
lines changed

1 file changed

+75
-95
lines changed

README.md

Lines changed: 75 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -27,36 +27,62 @@ Only the MCP server packages under the `@mcp-devtools` scope are published to np
2727

2828
MCP tools in this repository can be integrated with AI assistants that support the Model Context Protocol. Here's how to use them in different environments:
2929

30-
### Using with Cursor IDE
31-
3230
To use MCP tools with Cursor IDE:
3331

3432
1. Configure the MCP server in Cursor settings
3533
2. Access the tool functionality directly through the Cursor IDE chat
3634

37-
#### Jira
35+
### Jira Configuration
36+
37+
#### 1. General configuration via Cursor Settings (RECOMMENDED)
3838

39-
1. MCP Server Configuration
39+
To use the Jira MCP server with Cursor IDE, configure the server in your Cursor settings:
4040

41-
Go to Cursor Settings > MCP > Add new MCP server
41+
1. Open Cursor IDE
42+
2. Navigate to Settings (or CTRL+SHIFT+P) > Cursor Settings > MCP
43+
3. Add a new MCP server with the following configuration:
4244

4345
- Server name: `Jira`
4446
- Type: `command`
45-
- Command:
47+
- Command: `env JIRA_URL=https://[YOUR_WORKSPACE].atlassian.net JIRA_API_MAIL=[YOUR_EMAIL] JIRA_API_KEY=[YOUR_API_KEY] npx -y @mcp-devtools/jira`
4648

47-
```bash
48-
env JIRA_URL=https://[YOUR_WORKSPACE].atlassian.net JIRA_API_MAIL=[YOUR_EMAIL] JIRA_API_KEY=[YOUR_API_KEY] npx @mcp-devtools/jira
49+
#### 2. Project-wide configuration via .cursor/mcp.json (NOT RECOMMENDED)
50+
51+
> [!WARNING]
52+
> This approach is not recommended as it might leak your secrets to other users when committing to the git repository.
53+
54+
For project-specific Jira configuration, you can create a `.cursor/mcp.json` file in your project root.
55+
This allows you to maintain separate MCP server configurations for different projects:
56+
57+
```json
58+
{
59+
"mcpServers": {
60+
"@mcp-devtools/jira": {
61+
"command": "env JIRA_URL=https://[YOUR_WORKSPACE].atlassian.net JIRA_API_MAIL=[YOUR_EMAIL] JIRA_API_KEY=[YOUR_API_KEY] npx",
62+
"args": ["-y", "@mcp-devtools/jira"]
63+
}
64+
}
65+
}
4966
```
5067

51-
2. Usage in chat
68+
### Using Jira MCP in Chat
69+
70+
Once configured, you can interact with Jira through chat commands:
5271

5372
```bash
5473
get task [ticket id]
5574
# example
5675
get task SCRUM-1
5776
```
5877

59-
For specific tool configuration instructions, refer to the README in each package directory.
78+
Available commands:
79+
80+
- `get task [ticket id]` - Retrieve details of a specific Jira ticket
81+
- `search tasks [query]` - Search for Jira tickets matching a query
82+
- `update task [ticket id] [field] [value]` - Update a field on a ticket
83+
- `get my tasks` - List tickets assigned to you
84+
85+
For more detailed information on all available commands, refer to the [Jira package documentation](./packages/jira/README.md).
6086

6187
## Project Structure
6288

@@ -86,8 +112,6 @@ This repository uses pnpm workspaces for package management. To get started:
86112
npm install -g pnpm
87113
```
88114

89-
````
90-
91115
2. Install dependencies:
92116

93117
```bash
@@ -111,8 +135,6 @@ pnpm dev
111135

112136
This repository is set up with automated release management using release-please and GitHub Actions for publishing packages to npmjs.org.
113137

114-
> **Note**: Only packages with the `@mcp-devtools` prefix are published to npm. Core packages (`@mcp-core/*`) are for internal use only.
115-
116138
#### Beta Status
117139

118140
All published packages are currently in beta status (0.x.x versions) and use the `beta` npm tag. During this phase:
@@ -121,62 +143,6 @@ All published packages are currently in beta status (0.x.x versions) and use the
121143
- Install the packages using: `npm install @mcp-devtools/package-name@beta`
122144
- When the project reaches stability, we will release version 1.0.0
123145

124-
#### Automated Versioning with Release Please
125-
126-
Release-please automatically creates and maintains release PRs based on [conventional commits](https://www.conventionalcommits.org/):
127-
128-
- When you push changes to the `main` branch with conventional commit messages, release-please analyzes them and updates a release PR
129-
- Commit types like `feat:`, `fix:`, and `chore:` are used to determine version bumps (semver)
130-
- Once the release PR is merged, packages are automatically published to npm
131-
132-
The conventional commit types are mapped to semantic versioning as follows:
133-
134-
- `feat:` - Minor version bump (new feature)
135-
- `fix:` - Patch version bump (bug fix)
136-
- `feat!:` or `fix!:` - Major version bump (breaking change)
137-
- `docs:`, `chore:`, `style:`, `refactor:`, `perf:`, `test:` - No version bump
138-
139-
Example commit messages:
140-
141-
```
142-
feat: add new API endpoint for Jira comments
143-
fix: resolve authentication issue with Jira API
144-
feat!: redesign http-client interface (BREAKING CHANGE)
145-
```
146-
147-
#### Manual Publishing Options
148-
149-
There are two additional ways to trigger a release:
150-
151-
1. **Create a GitHub Release**: When you create a new release in GitHub, the packages will be published with the release tag version.
152-
153-
2. **Manual Trigger**: You can manually trigger the npm-publish workflow from the GitHub Actions tab and specify a version:
154-
- `patch`, `minor`, or `major` for semantic versioning bumps
155-
- A specific version like `1.2.3`
156-
157-
To publish, you need to:
158-
159-
1. Ensure you have the `NPM_TOKEN` secret set up in your GitHub repository settings
160-
2. Make sure all packages you want to publish have the correct information in their package.json files
161-
3. Packages are published with public access (`--access public`)
162-
163-
#### Setting up for local publishing (for maintainers)
164-
165-
If you need to publish packages locally for testing:
166-
167-
1. Login to npm:
168-
169-
```bash
170-
npm login
171-
```
172-
173-
2. Once authenticated, you can publish packages using:
174-
```bash
175-
pnpm -r publish --access public --tag beta
176-
```
177-
178-
Note: It's recommended to use the GitHub Actions workflow for official releases.
179-
180146
### Debugging
181147

182148
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a workspace script:
@@ -187,30 +153,6 @@ pnpm inspector
187153

188154
The Inspector will provide a URL to access debugging tools in your browser.
189155

190-
### Jira Integration Setup
191-
192-
To use the Jira MCP server with Cursor IDE, configure the server in your Cursor settings:
193-
194-
1. Open Cursor IDE
195-
2. Navigate to Settings (or CTRL+SHIFT+P) > Cursor Settings > MCP
196-
3. Add a new MCP server with the following configuration:
197-
198-
```json
199-
{
200-
"mcpServers": {
201-
"Jira communication server": {
202-
"command": "node",
203-
"args": ["/path/to/node_modules/@mcp-devtools/jira/build/index.js"],
204-
"env": {
205-
"JIRA_URL": "https://your-domain.atlassian.net",
206-
"JIRA_API_MAIL": "your.email@example.com",
207-
"JIRA_API_KEY": "your-api-token-from-atlassian"
208-
}
209-
}
210-
}
211-
}
212-
```
213-
214156
## Contributing
215157

216158
1. Fork the repository
@@ -261,4 +203,42 @@ BREAKING CHANGE: The http-client API has been completely redesigned to improve u
261203
## License
262204

263205
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
264-
````
206+
207+
## Troubleshooting
208+
209+
### Common Issues
210+
211+
1. **Connection Problems**
212+
213+
- Ensure your Jira API credentials are correct
214+
- Check network connectivity to your Jira instance
215+
- Verify that the JIRA_URL includes the correct workspace name
216+
217+
2. **Permission Errors**
218+
219+
- Ensure your Jira account has appropriate permissions for the actions you're attempting
220+
- API tokens may need specific permissions enabled in your Atlassian account
221+
222+
3. **Command Not Found**
223+
- If using npx, ensure you're connected to npm registry
224+
- For local installations, check that your package installation was successful
225+
226+
For more troubleshooting help, open an issue on our GitHub repository.
227+
228+
## Roadmap
229+
230+
Future development plans for MCP DevTools include:
231+
232+
- Additional service integrations (GitHub, Confluence, etc.)
233+
- Enhanced security features
234+
- Support for custom authentication methods
235+
- Expanded querying capabilities
236+
- Performance optimizations
237+
238+
## Community and Support
239+
240+
- **GitHub Issues**: For bug reports and feature requests
241+
- **Discussions**: For questions and community support
242+
- **Contributing**: See our contributing guidelines above
243+
244+
We welcome feedback and contributions from the community to help improve these tools.

0 commit comments

Comments
 (0)