Thank you for your interest in contributing. This guide covers how to report bugs, suggest features, set up a dev environment, and submit pull requests.
Open an issue at GitHub Issues and include:
- A clear title and description
- Steps to reproduce
- Expected vs actual behavior
- Node.js version and OS
- Any relevant logs or error output
Open an issue with the label enhancement. Describe:
- The problem you are trying to solve
- Your proposed solution
- Any alternatives you considered
Prerequisites: Node.js >= 18, npm
# Clone the repository
git clone https://github.com/cablate/mcp-google-map.git
cd mcp-google-map
# Install dependencies
npm install
# Build
npm run buildCopy .env.example to .env and fill in GOOGLE_MAPS_API_KEY before running locally.
# Smoke tests (no API key required)
npm test
# Full E2E tests (requires GOOGLE_MAPS_API_KEY)
npm run test:e2e- Fork the repository and create a branch from
main:git checkout -b feat/your-feature-name
- Make your changes and ensure the build and tests pass:
npm run build npm test - Commit using a clear message in the imperative mood (e.g.,
feat: add place autocomplete tool). - Push your branch and open a pull request against
main. - Fill in the PR description, link any related issues, and wait for a review.
- Once approved and all checks pass, the maintainer will merge.
- TypeScript strict mode is expected.
- Keep tool definitions under
src/tools/maps/. - Use
camelCasefor variables/functions,PascalCasefor classes/interfaces,UPPER_SNAKE_CASEfor constants. - Match the existing file and naming conventions.
- Run
npm run buildbefore committing — the build must pass cleanly.
Reach out at reahtuoo310109@gmail.com or open a GitHub Discussion.
By contributing, you agree that your contributions will be licensed under the MIT License.