mirror of
https://github.com/mobile-next/mobile-mcp.git
synced 2026-10-02 09:14:51 +08:00
1.8 KiB
1.8 KiB
Contributing to Mobile MCP
Thanks for your interest in contributing! This document covers the basics for getting set up and submitting changes.
Code of Conduct
This project adheres to the Contributor Covenant. By participating, you agree to keep the community welcoming and respectful.
Reporting bugs and requesting features
- Search existing issues before opening a new one.
- Open one issue per bug or feature request.
- For bugs, include: mobile-mcp version, OS, target platform (iOS/Android), device/simulator/emulator, a minimal reproduction, and the actual vs. expected behavior.
- For larger feature proposals, please open an issue to discuss the design before sending a PR.
Reporting security issues
Please do not file public GitHub issues for security vulnerabilities — see SECURITY.md for the private reporting process.
Development setup
Requirements: Node.js 22+, and Xcode command line tools / Android Platform Tools if you plan to exercise a simulator, emulator, or real device.
git clone https://github.com/mobile-next/mobile-mcp.git
cd mobile-mcp
npm ci
npm run build
# lint
npm run lint
# tests (drives a real simulator/emulator/device via Playwright + c8 coverage)
npm test
npm run watch recompiles on change during development. A pre-commit hook (husky) runs npm run lint automatically.
Submitting changes
- Branch off
mainand open a pull request when ready. - Keep PRs focused — one concern per PR.
- Run
npm run build,npm run lint, andnpm testlocally before pushing. - CI (
.github/workflows/build.yml) runs an npm audit, lint, and build on every PR — make sure it's green.
License
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.