Thank you for your interest in contributing to MCP Atlassian! This document provides guidelines and instructions for contributing to this project.
- Make sure you have Node.js 18+ installed
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/mcp-nodejs-atlassian.git - Add the upstream remote:
git remote add upstream https://github.com/sooperset/mcp-nodejs-atlassian.git - Install dependencies:
npm install- Set up environment variables:
cp env.example .env
# Edit .env with your test credentials- Build the project:
npm run build- Create a feature or fix branch:
git checkout -b feature/your-feature-name
# or
git checkout -b fix/issue-description-
Make your changes
-
Run development mode for testing:
npm run dev- Ensure tests pass:
npm test- Run linting and fix issues:
npm run lint
npm run lint:fix- Build and test the final version:
npm run build
npm start -- --help-
Commit your changes with clear, concise commit messages
-
Submit a pull request to the main branch
- TypeScript with strict type checking
- ESLint for code quality and consistency
- Use proper type annotations
- Add JSDoc comments for public functions:
/**
* Searches Confluence content using CQL
* @param query - The CQL search query
* @param limit - Maximum number of results to return
* @returns Promise resolving to search results
*/
async function searchContent(query: string, limit?: number): Promise<SearchResult[]> {
// Implementation
}- Add tests for new functionality
- Ensure all existing tests pass
- Test OAuth setup wizard manually
- Test with different transport modes (stdio, SSE, HTTP)
- Fill out the PR template with a description of your changes
- Ensure all CI checks pass
- Test OAuth setup wizard if authentication changes are made
- Request review from maintainers
- Address review feedback if requested
Releases follow semantic versioning:
- MAJOR version for incompatible API changes
- MINOR version for backwards-compatible functionality additions
- PATCH version for backwards-compatible bug fixes
Thank you for contributing to MCP Atlassian!