Installation¶
Prerequisites
- Python 3.12 (GraphQLer requires
>=3.12,<3.13) - Windows users need Microsoft C++ Build Tools (VC 14 or newer) — get them from the Microsoft page
User setup¶
GraphQLer is published on PyPI:
To use the MCP server, install the optional extras:
Images are published to Docker Hub and the GitHub Container Registry (ghcr.io/omar2535/graphqler):
The container's entrypoint is python -m graphqler with working directory /app. Mount a volume to keep the output directory:
Developer setup¶
Install uv first.
1. Install OS-specific dependencies¶
On Ubuntu:
2. Set up the environment¶
3. Run GraphQLer¶
4. Install pre-commit hooks (optional)¶
5. Run tests¶
uv run pytest tests/unit/ # unit tests
uv run pytest tests/integration/ # integration tests
uv run pytest tests/e2e/ # end-to-end tests
The end-to-end tests need the sample APIs in sample-graphql-apis/ — see Contributing.
6. Preview the documentation (optional)¶
This site is built with Zensical: