Contributing
Contributions are welcome. img-mcp is released under the MIT License.
Development setup
- Clone the repository:
bash
git clone https://github.com/aboubak-art/img-mcp.git
cd img-mcp- Install dependencies:
bash
npm install- Run in development mode:
bash
npm run dev- Build the TypeScript source:
bash
npm run build- Run tests:
bash
npm testTesting with the MCP Inspector
After building, you can inspect the server with the MCP Inspector:
bash
npm run build
npx @modelcontextprotocol/inspector dist/index.jsWorking on the website
The entire site is built with VitePress.
- Documentation Markdown lives in
docs/docs/. - The custom landing page is
docs/.vitepress/theme/LandingPage.vue. - Shared styles and VitePress theme overrides are in
docs/.vitepress/theme/. - Static assets (logos, illustrations, favicon) go in
docs/public/assets/.
To preview the site locally:
bash
npm run docs:devTo build the full site (landing page + docs) for production:
bash
npm run website:buildThe built site is written to website/, which is then deployed to GitHub Pages.
Submitting changes
- Fork the repository and create a feature branch.
- Make your changes and add or update tests where appropriate.
- Run
npm run lintandnpm run buildto ensure everything passes. - Open a pull request with a clear description of the change.
Code of conduct
Be respectful and constructive. We want img-mcp to be a welcoming project for everyone.