Thanks for your interest in contributing to second-opinion-mcp-server!
- Fork and clone the repo
- Install dependencies:
npm install - Build:
npm run build - Run tests:
npm test
Requires Node.js 24+. Use nvm install to pick up the version from .nvmrc.
- Create a branch from
main - Make your changes
- Add or update tests as needed
- Ensure
npm run buildandnpm testpass - Update
docs/changelog/CHANGELOG.mdfor user-visible changes - Open a pull request
Integration tests in providers.integration.test.ts require OPENROUTER_API_KEY in the environment (or a .env file); they are skipped when the key is absent.
Use GitHub Issues to report bugs or request features. Include:
- Steps to reproduce (for bugs)
- Expected vs actual behavior
- Node.js version and OS
- TypeScript strict mode
- ESM modules (
.jsextensions in imports) - Keep it simple