Skip to main content
Glama
CONTRIBUTING.md2.8 kB
# Contributing to DeepL MCP Server Thank you for your interest in contributing to the DeepL MCP Server! We appreciate your efforts to improve this project. ## How to Contribute There are several ways you can contribute: * **Reporting Bugs**: If you find a bug, please report it by opening an issue on GitHub. * **Suggesting Features**: Have an idea for a new feature? Open an issue to discuss it. * **Submitting Pull Requests**: If you'd like to contribute code, please follow the guidelines below. ## Setting up Your Development Environment To set up your local development environment, follow these steps: 1. **Clone the repository:** ```bash git clone https://github.com/AlwaysSany/deepl-fastmcp-python-server.git cd deepl-fastmcp-python-server ``` 2. **Install `uv` (recommended) or use `pip`:** With **pip**, ```bash pip install uv ``` With **pipx**, ```bash pipx install uv ``` 3. **Install dependencies:** ```bash uv sync ``` 4. **Set your environment variables:** Create a `.env` file or export `DEEPL_AUTH_KEY` in your shell. You can do this by running the following command and then update the `.env` file with your DeepL API key: ```bash cp .env.example .env ``` Example `.env` file: ```bash DEEPL_AUTH_KEY=your_deepl_api_key ``` 5. **Run the server in development mode:** ```bash uv run mcp dev main.py ``` ## Running Tests To ensure your changes don't introduce regressions, please run the existing tests. 1. **Ensure you have `pytest` installed.** It should be installed with `uv sync`. 2. **Run tests from the project root:** ```bash uv run pytest tests/ ``` ## Code Style * Follow [PEP 8](https://www.python.org/dev/peps/pep-0008/) for Python code style. * We recommend using a linter (e.g., `flake8` or `ruff`) and a formatter (e.g., `black`) to ensure consistency. ## Pull Request Process 1. **Fork the repository** and create your branch from `main`. 2. **Make your changes**. 3. **Ensure your code passes tests** and adheres to the code style guidelines. 4. **Write clear, concise commit messages**. 5. **Push your changes** to your forked repository. 6. **Open a pull request** to the `main` branch of the original repository. * Provide a clear and detailed description of your changes. * Reference any related issues. ## Reporting Bugs and Suggesting Features If you find a bug or have a feature request, please open an issue on our [GitHub Issues page](https://github.com/AlwaysSany/deepl-fastmcp-python-server/issues). * For bug reports, please include steps to reproduce the bug and any relevant error messages. * For feature requests, describe the feature and why you think it would be valuable.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AlwaysSany/deepl-fastmcp-python-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server